2 * Device Tree Source for AMCC Katmai eval board
4 * Copyright (c) 2006, 2007 IBM Corp.
5 * Benjamin Herrenschmidt <benh@kernel.crashing.org>
7 * Copyright (c) 2006, 2007 IBM Corp.
8 * Josh Boyer <jwboyer@linux.vnet.ibm.com>
10 * This file is licensed under the terms of the GNU General Public
11 * License version 2. This program is licensed "as is" without
12 * any warranty of any kind, whether express or implied.
18 model = "amcc,katmai";
19 compatible = "amcc,katmai";
20 dcr-parent = <&/cpus/cpu@0>;
35 model = "PowerPC,440SPe";
37 clock-frequency = <0>; /* Filled in by zImage */
38 timebase-frequency = <0>; /* Filled in by zImage */
39 i-cache-line-size = <20>;
40 d-cache-line-size = <20>;
41 i-cache-size = <8000>;
42 d-cache-size = <8000>;
44 dcr-access-method = "native";
49 device_type = "memory";
50 reg = <0 0 0>; /* Filled in by zImage */
53 UIC0: interrupt-controller0 {
54 compatible = "ibm,uic-440spe","ibm,uic";
60 #interrupt-cells = <2>;
63 UIC1: interrupt-controller1 {
64 compatible = "ibm,uic-440spe","ibm,uic";
70 #interrupt-cells = <2>;
71 interrupts = <1e 4 1f 4>; /* cascade */
72 interrupt-parent = <&UIC0>;
75 UIC2: interrupt-controller2 {
76 compatible = "ibm,uic-440spe","ibm,uic";
82 #interrupt-cells = <2>;
83 interrupts = <a 4 b 4>; /* cascade */
84 interrupt-parent = <&UIC0>;
87 UIC3: interrupt-controller3 {
88 compatible = "ibm,uic-440spe","ibm,uic";
94 #interrupt-cells = <2>;
95 interrupts = <10 4 11 4>; /* cascade */
96 interrupt-parent = <&UIC0>;
100 compatible = "ibm,sdr-440spe";
105 compatible = "ibm,cpr-440spe";
110 compatible = "ibm,plb-440spe", "ibm,plb-440gp", "ibm,plb4";
111 #address-cells = <2>;
114 clock-frequency = <0>; /* Filled in by zImage */
117 compatible = "ibm,sdram-440spe", "ibm,sdram-405gp";
122 compatible = "ibm,mcmal-440spe", "ibm,mcmal2";
126 interrupt-parent = <&MAL0>;
127 interrupts = <0 1 2 3 4>;
128 #interrupt-cells = <1>;
129 #address-cells = <0>;
131 interrupt-map = </*TXEOB*/ 0 &UIC1 6 4
132 /*RXEOB*/ 1 &UIC1 7 4
135 /*RXDE*/ 4 &UIC1 3 4>;
139 compatible = "ibm,opb-440spe", "ibm,opb-440gp", "ibm,opb";
140 #address-cells = <1>;
142 ranges = <00000000 4 e0000000 20000000>;
143 clock-frequency = <0>; /* Filled in by zImage */
146 compatible = "ibm,ebc-440spe", "ibm,ebc-440gp", "ibm,ebc";
148 #address-cells = <2>;
150 clock-frequency = <0>; /* Filled in by zImage */
152 interrupt-parent = <&UIC1>;
155 UART0: serial@10000200 {
156 device_type = "serial";
157 compatible = "ns16550";
159 virtual-reg = <a0000200>;
160 clock-frequency = <0>; /* Filled in by zImage */
161 current-speed = <1c200>;
162 interrupt-parent = <&UIC0>;
166 UART1: serial@10000300 {
167 device_type = "serial";
168 compatible = "ns16550";
170 virtual-reg = <a0000300>;
171 clock-frequency = <0>;
173 interrupt-parent = <&UIC0>;
178 UART2: serial@10000600 {
179 device_type = "serial";
180 compatible = "ns16550";
182 virtual-reg = <a0000600>;
183 clock-frequency = <0>;
185 interrupt-parent = <&UIC1>;
190 compatible = "ibm,iic-440spe", "ibm,iic-440gp", "ibm,iic";
192 interrupt-parent = <&UIC0>;
197 compatible = "ibm,iic-440spe", "ibm,iic-440gp", "ibm,iic";
199 interrupt-parent = <&UIC0>;
203 EMAC0: ethernet@10000800 {
204 linux,network-index = <0>;
205 device_type = "network";
206 compatible = "ibm,emac-440spe", "ibm,emac4";
207 interrupt-parent = <&UIC1>;
208 interrupts = <1c 4 1d 4>;
210 local-mac-address = [000000000000];
211 mal-device = <&MAL0>;
212 mal-tx-channel = <0>;
213 mal-rx-channel = <0>;
215 max-frame-size = <2328>;
216 rx-fifo-size = <1000>;
217 tx-fifo-size = <800>;
219 phy-map = <00000000>;
220 has-inverted-stacr-oc;
221 has-new-stacr-staopc;
225 PCIX0: pci@c0ec00000 {
227 #interrupt-cells = <1>;
229 #address-cells = <3>;
230 compatible = "ibm,plb-pcix-440spe", "ibm,plb-pcix";
232 large-inbound-windows;
234 reg = <c 0ec00000 8 /* Config space access */
235 0 0 0 /* no IACK cycles */
236 c 0ed00000 4 /* Special cycles */
237 c 0ec80000 100 /* Internal registers */
238 c 0ec80100 fc>; /* Internal messaging registers */
240 /* Outbound ranges, one memory and one IO,
241 * later cannot be changed
243 ranges = <02000000 0 80000000 0000000d 80000000 0 80000000
244 01000000 0 00000000 0000000c 08000000 0 00010000>;
246 /* Inbound 2GB range starting at 0 */
247 dma-ranges = <42000000 0 0 0 0 0 80000000>;
249 /* This drives busses 0 to 0xf */
253 * On Katmai, the following PCI-X interrupts signals
254 * have to be enabled via jumpers (only INTA is
255 * enabled per default):
261 interrupt-map-mask = <f800 0 0 7>;
264 0800 0 0 1 &UIC1 14 8
265 0800 0 0 2 &UIC1 13 8
266 0800 0 0 3 &UIC1 12 8
267 0800 0 0 4 &UIC1 11 8
271 PCIE0: pciex@d00000000 {
273 #interrupt-cells = <1>;
275 #address-cells = <3>;
276 compatible = "ibm,plb-pciex-440spe", "ibm,plb-pciex";
278 port = <0>; /* port number */
279 reg = <d 00000000 20000000 /* Config space access */
280 c 10000000 00001000>; /* Registers */
284 /* Outbound ranges, one memory and one IO,
285 * later cannot be changed
287 ranges = <02000000 0 80000000 0000000e 00000000 0 80000000
288 01000000 0 00000000 0000000f 80000000 0 00010000>;
290 /* Inbound 2GB range starting at 0 */
291 dma-ranges = <42000000 0 0 0 0 0 80000000>;
293 /* This drives busses 10 to 0x1f */
296 /* Legacy interrupts (note the weird polarity, the bridge seems
297 * to invert PCIe legacy interrupts).
298 * We are de-swizzling here because the numbers are actually for
299 * port of the root complex virtual P2P bridge. But I want
300 * to avoid putting a node for it in the tree, so the numbers
301 * below are basically de-swizzled numbers.
302 * The real slot is on idsel 0, so the swizzling is 1:1
304 interrupt-map-mask = <0000 0 0 7>;
306 0000 0 0 1 &UIC3 0 4 /* swizzled int A */
307 0000 0 0 2 &UIC3 1 4 /* swizzled int B */
308 0000 0 0 3 &UIC3 2 4 /* swizzled int C */
309 0000 0 0 4 &UIC3 3 4 /* swizzled int D */>;
312 PCIE1: pciex@d20000000 {
314 #interrupt-cells = <1>;
316 #address-cells = <3>;
317 compatible = "ibm,plb-pciex-440spe", "ibm,plb-pciex";
319 port = <1>; /* port number */
320 reg = <d 20000000 20000000 /* Config space access */
321 c 10001000 00001000>; /* Registers */
325 /* Outbound ranges, one memory and one IO,
326 * later cannot be changed
328 ranges = <02000000 0 80000000 0000000e 80000000 0 80000000
329 01000000 0 00000000 0000000f 80010000 0 00010000>;
331 /* Inbound 2GB range starting at 0 */
332 dma-ranges = <42000000 0 0 0 0 0 80000000>;
334 /* This drives busses 10 to 0x1f */
337 /* Legacy interrupts (note the weird polarity, the bridge seems
338 * to invert PCIe legacy interrupts).
339 * We are de-swizzling here because the numbers are actually for
340 * port of the root complex virtual P2P bridge. But I want
341 * to avoid putting a node for it in the tree, so the numbers
342 * below are basically de-swizzled numbers.
343 * The real slot is on idsel 0, so the swizzling is 1:1
345 interrupt-map-mask = <0000 0 0 7>;
347 0000 0 0 1 &UIC3 4 4 /* swizzled int A */
348 0000 0 0 2 &UIC3 5 4 /* swizzled int B */
349 0000 0 0 3 &UIC3 6 4 /* swizzled int C */
350 0000 0 0 4 &UIC3 7 4 /* swizzled int D */>;
353 PCIE2: pciex@d40000000 {
355 #interrupt-cells = <1>;
357 #address-cells = <3>;
358 compatible = "ibm,plb-pciex-440spe", "ibm,plb-pciex";
360 port = <2>; /* port number */
361 reg = <d 40000000 20000000 /* Config space access */
362 c 10002000 00001000>; /* Registers */
366 /* Outbound ranges, one memory and one IO,
367 * later cannot be changed
369 ranges = <02000000 0 80000000 0000000f 00000000 0 80000000
370 01000000 0 00000000 0000000f 80020000 0 00010000>;
372 /* Inbound 2GB range starting at 0 */
373 dma-ranges = <42000000 0 0 0 0 0 80000000>;
375 /* This drives busses 10 to 0x1f */
378 /* Legacy interrupts (note the weird polarity, the bridge seems
379 * to invert PCIe legacy interrupts).
380 * We are de-swizzling here because the numbers are actually for
381 * port of the root complex virtual P2P bridge. But I want
382 * to avoid putting a node for it in the tree, so the numbers
383 * below are basically de-swizzled numbers.
384 * The real slot is on idsel 0, so the swizzling is 1:1
386 interrupt-map-mask = <0000 0 0 7>;
388 0000 0 0 1 &UIC3 8 4 /* swizzled int A */
389 0000 0 0 2 &UIC3 9 4 /* swizzled int B */
390 0000 0 0 3 &UIC3 a 4 /* swizzled int C */
391 0000 0 0 4 &UIC3 b 4 /* swizzled int D */>;
396 linux,stdout-path = "/plb/opb/serial@10000200";