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/PowerPC,440SPe@0>;
29 clock-frequency = <0>; /* Filled in by zImage */
30 timebase-frequency = <0>; /* Filled in by zImage */
31 i-cache-line-size = <20>;
32 d-cache-line-size = <20>;
33 i-cache-size = <20000>;
34 d-cache-size = <20000>;
36 dcr-access-method = "native";
41 device_type = "memory";
42 reg = <0 0 0>; /* Filled in by zImage */
45 UIC0: interrupt-controller0 {
46 compatible = "ibm,uic-440spe","ibm,uic";
52 #interrupt-cells = <2>;
55 UIC1: interrupt-controller1 {
56 compatible = "ibm,uic-440spe","ibm,uic";
62 #interrupt-cells = <2>;
63 interrupts = <1e 4 1f 4>; /* cascade */
64 interrupt-parent = <&UIC0>;
67 UIC2: interrupt-controller2 {
68 compatible = "ibm,uic-440spe","ibm,uic";
74 #interrupt-cells = <2>;
75 interrupts = <a 4 b 4>; /* cascade */
76 interrupt-parent = <&UIC0>;
79 UIC3: interrupt-controller3 {
80 compatible = "ibm,uic-440spe","ibm,uic";
86 #interrupt-cells = <2>;
87 interrupts = <10 4 11 4>; /* cascade */
88 interrupt-parent = <&UIC0>;
92 compatible = "ibm,sdr-440spe";
97 compatible = "ibm,cpr-440spe";
102 compatible = "ibm,plb-440spe", "ibm,plb-440gp", "ibm,plb4";
103 #address-cells = <2>;
106 clock-frequency = <0>; /* Filled in by zImage */
109 compatible = "ibm,sdram-440spe", "ibm,sdram-405gp";
114 compatible = "ibm,mcmal-440spe", "ibm,mcmal2";
118 interrupt-parent = <&MAL0>;
119 interrupts = <0 1 2 3 4>;
120 #interrupt-cells = <1>;
121 #address-cells = <0>;
123 interrupt-map = </*TXEOB*/ 0 &UIC1 6 4
124 /*RXEOB*/ 1 &UIC1 7 4
127 /*RXDE*/ 4 &UIC1 3 4>;
131 compatible = "ibm,opb-440spe", "ibm,opb-440gp", "ibm,opb";
132 #address-cells = <1>;
134 ranges = <00000000 4 e0000000 20000000>;
135 clock-frequency = <0>; /* Filled in by zImage */
138 compatible = "ibm,ebc-440spe", "ibm,ebc-440gp", "ibm,ebc";
140 #address-cells = <2>;
142 clock-frequency = <0>; /* Filled in by zImage */
144 interrupt-parent = <&UIC1>;
147 UART0: serial@10000200 {
148 device_type = "serial";
149 compatible = "ns16550";
151 virtual-reg = <a0000200>;
152 clock-frequency = <0>; /* Filled in by zImage */
153 current-speed = <1c200>;
154 interrupt-parent = <&UIC0>;
158 UART1: serial@10000300 {
159 device_type = "serial";
160 compatible = "ns16550";
162 virtual-reg = <a0000300>;
163 clock-frequency = <0>;
165 interrupt-parent = <&UIC0>;
170 UART2: serial@10000600 {
171 device_type = "serial";
172 compatible = "ns16550";
174 virtual-reg = <a0000600>;
175 clock-frequency = <0>;
177 interrupt-parent = <&UIC1>;
183 compatible = "ibm,iic-440spe", "ibm,iic-440gp", "ibm,iic";
185 interrupt-parent = <&UIC0>;
191 compatible = "ibm,iic-440spe", "ibm,iic-440gp", "ibm,iic";
193 interrupt-parent = <&UIC0>;
197 EMAC0: ethernet@10000800 {
198 linux,network-index = <0>;
199 device_type = "network";
200 compatible = "ibm,emac-440spe", "ibm,emac4";
201 interrupt-parent = <&UIC1>;
202 interrupts = <1c 4 1d 4>;
204 local-mac-address = [000000000000];
205 mal-device = <&MAL0>;
206 mal-tx-channel = <0>;
207 mal-rx-channel = <0>;
209 max-frame-size = <5dc>;
210 rx-fifo-size = <1000>;
211 tx-fifo-size = <800>;
213 phy-map = <00000000>;
214 has-inverted-stacr-oc;
215 has-new-stacr-staopc;
219 PCIX0: pci@c0ec00000 {
221 #interrupt-cells = <1>;
223 #address-cells = <3>;
224 compatible = "ibm,plb-pcix-440spe", "ibm,plb-pcix";
226 large-inbound-windows;
228 reg = <c 0ec00000 8 /* Config space access */
229 0 0 0 /* no IACK cycles */
230 c 0ed00000 4 /* Special cycles */
231 c 0ec80000 100 /* Internal registers */
232 c 0ec80100 fc>; /* Internal messaging registers */
234 /* Outbound ranges, one memory and one IO,
235 * later cannot be changed
237 ranges = <02000000 0 80000000 0000000d 80000000 0 80000000
238 01000000 0 00000000 0000000c 08000000 0 00010000>;
240 /* Inbound 2GB range starting at 0 */
241 dma-ranges = <42000000 0 0 0 0 0 80000000>;
243 /* This drives busses 0 to 0xf */
247 * On Katmai, the following PCI-X interrupts signals
248 * have to be enabled via jumpers (only INTA is
249 * enabled per default):
255 interrupt-map-mask = <f800 0 0 7>;
258 0800 0 0 1 &UIC1 14 8
259 0800 0 0 2 &UIC1 13 8
260 0800 0 0 3 &UIC1 12 8
261 0800 0 0 4 &UIC1 11 8
265 PCIE0: pciex@d00000000 {
267 #interrupt-cells = <1>;
269 #address-cells = <3>;
270 compatible = "ibm,plb-pciex-440speB", "ibm,plb-pciex";
272 port = <0>; /* port number */
273 reg = <d 00000000 20000000 /* Config space access */
274 c 10000000 00001000>; /* Registers */
278 /* Outbound ranges, one memory and one IO,
279 * later cannot be changed
281 ranges = <02000000 0 80000000 0000000e 00000000 0 80000000
282 01000000 0 00000000 0000000f 80000000 0 00010000>;
284 /* Inbound 2GB range starting at 0 */
285 dma-ranges = <42000000 0 0 0 0 0 80000000>;
287 /* This drives busses 10 to 0x1f */
290 /* Legacy interrupts (note the weird polarity, the bridge seems
291 * to invert PCIe legacy interrupts).
292 * We are de-swizzling here because the numbers are actually for
293 * port of the root complex virtual P2P bridge. But I want
294 * to avoid putting a node for it in the tree, so the numbers
295 * below are basically de-swizzled numbers.
296 * The real slot is on idsel 0, so the swizzling is 1:1
298 interrupt-map-mask = <0000 0 0 7>;
300 0000 0 0 1 &UIC3 0 4 /* swizzled int A */
301 0000 0 0 2 &UIC3 1 4 /* swizzled int B */
302 0000 0 0 3 &UIC3 2 4 /* swizzled int C */
303 0000 0 0 4 &UIC3 3 4 /* swizzled int D */>;
306 PCIE1: pciex@d20000000 {
308 #interrupt-cells = <1>;
310 #address-cells = <3>;
311 compatible = "ibm,plb-pciex-440speB", "ibm,plb-pciex";
313 port = <1>; /* port number */
314 reg = <d 20000000 20000000 /* Config space access */
315 c 10001000 00001000>; /* Registers */
319 /* Outbound ranges, one memory and one IO,
320 * later cannot be changed
322 ranges = <02000000 0 80000000 0000000e 80000000 0 80000000
323 01000000 0 00000000 0000000f 80010000 0 00010000>;
325 /* Inbound 2GB range starting at 0 */
326 dma-ranges = <42000000 0 0 0 0 0 80000000>;
328 /* This drives busses 10 to 0x1f */
331 /* Legacy interrupts (note the weird polarity, the bridge seems
332 * to invert PCIe legacy interrupts).
333 * We are de-swizzling here because the numbers are actually for
334 * port of the root complex virtual P2P bridge. But I want
335 * to avoid putting a node for it in the tree, so the numbers
336 * below are basically de-swizzled numbers.
337 * The real slot is on idsel 0, so the swizzling is 1:1
339 interrupt-map-mask = <0000 0 0 7>;
341 0000 0 0 1 &UIC3 4 4 /* swizzled int A */
342 0000 0 0 2 &UIC3 5 4 /* swizzled int B */
343 0000 0 0 3 &UIC3 6 4 /* swizzled int C */
344 0000 0 0 4 &UIC3 7 4 /* swizzled int D */>;
347 PCIE2: pciex@d40000000 {
349 #interrupt-cells = <1>;
351 #address-cells = <3>;
352 compatible = "ibm,plb-pciex-440speB", "ibm,plb-pciex";
354 port = <2>; /* port number */
355 reg = <d 40000000 20000000 /* Config space access */
356 c 10002000 00001000>; /* Registers */
360 /* Outbound ranges, one memory and one IO,
361 * later cannot be changed
363 ranges = <02000000 0 80000000 0000000f 00000000 0 80000000
364 01000000 0 00000000 0000000f 80020000 0 00010000>;
366 /* Inbound 2GB range starting at 0 */
367 dma-ranges = <42000000 0 0 0 0 0 80000000>;
369 /* This drives busses 10 to 0x1f */
372 /* Legacy interrupts (note the weird polarity, the bridge seems
373 * to invert PCIe legacy interrupts).
374 * We are de-swizzling here because the numbers are actually for
375 * port of the root complex virtual P2P bridge. But I want
376 * to avoid putting a node for it in the tree, so the numbers
377 * below are basically de-swizzled numbers.
378 * The real slot is on idsel 0, so the swizzling is 1:1
380 interrupt-map-mask = <0000 0 0 7>;
382 0000 0 0 1 &UIC3 8 4 /* swizzled int A */
383 0000 0 0 2 &UIC3 9 4 /* swizzled int B */
384 0000 0 0 3 &UIC3 a 4 /* swizzled int C */
385 0000 0 0 4 &UIC3 b 4 /* swizzled int D */>;
390 linux,stdout-path = "/plb/opb/serial@10000200";