2 * Device Tree Source for AMCC Glacier (460GT)
4 * Copyright 2008 DENX Software Engineering, Stefan Roese <sr@denx.de>
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2. This program is licensed "as is" without
8 * any warranty of any kind, whether express or implied.
14 model = "amcc,glacier";
15 compatible = "amcc,glacier", "amcc,canyonlands";
16 dcr-parent = <&/cpus/cpu@0>;
33 model = "PowerPC,460GT";
35 clock-frequency = <0>; /* Filled in by U-Boot */
36 timebase-frequency = <0>; /* Filled in by U-Boot */
37 i-cache-line-size = <20>;
38 d-cache-line-size = <20>;
39 i-cache-size = <8000>;
40 d-cache-size = <8000>;
42 dcr-access-method = "native";
47 device_type = "memory";
48 reg = <0 0 0>; /* Filled in by U-Boot */
51 UIC0: interrupt-controller0 {
52 compatible = "ibm,uic-460gt","ibm,uic";
58 #interrupt-cells = <2>;
61 UIC1: interrupt-controller1 {
62 compatible = "ibm,uic-460gt","ibm,uic";
68 #interrupt-cells = <2>;
69 interrupts = <1e 4 1f 4>; /* cascade */
70 interrupt-parent = <&UIC0>;
73 UIC2: interrupt-controller2 {
74 compatible = "ibm,uic-460gt","ibm,uic";
80 #interrupt-cells = <2>;
81 interrupts = <a 4 b 4>; /* cascade */
82 interrupt-parent = <&UIC0>;
85 UIC3: interrupt-controller3 {
86 compatible = "ibm,uic-460gt","ibm,uic";
92 #interrupt-cells = <2>;
93 interrupts = <10 4 11 4>; /* cascade */
94 interrupt-parent = <&UIC0>;
98 compatible = "ibm,sdr-460gt";
103 compatible = "ibm,cpr-460gt";
108 compatible = "ibm,plb-460gt", "ibm,plb4";
109 #address-cells = <2>;
112 clock-frequency = <0>; /* Filled in by U-Boot */
115 compatible = "ibm,sdram-460gt", "ibm,sdram-405gp";
120 compatible = "ibm,mcmal-460gt", "ibm,mcmal2";
124 #address-cells = <0>;
126 interrupt-parent = <&UIC2>;
127 interrupts = < /*TXEOB*/ 6 4
132 desc-base-addr-high = <8>;
136 compatible = "ibm,opb-460gt", "ibm,opb";
137 #address-cells = <1>;
139 ranges = <b0000000 4 b0000000 50000000>;
140 clock-frequency = <0>; /* Filled in by U-Boot */
143 compatible = "ibm,ebc-460gt", "ibm,ebc";
145 #address-cells = <2>;
147 clock-frequency = <0>; /* Filled in by U-Boot */
148 /* ranges property is supplied by U-Boot */
150 interrupt-parent = <&UIC1>;
153 compatible = "amd,s29gl512n", "cfi-flash";
155 reg = <0 000000 4000000>;
156 #address-cells = <1>;
164 reg = <1e0000 20000>;
168 reg = <200000 1400000>;
172 reg = <1600000 400000>;
176 reg = <1a00000 2560000>;
180 reg = <3f60000 40000>;
184 reg = <3fa0000 60000>;
189 UART0: serial@ef600300 {
190 device_type = "serial";
191 compatible = "ns16550";
193 virtual-reg = <ef600300>;
194 clock-frequency = <0>; /* Filled in by U-Boot */
195 current-speed = <0>; /* Filled in by U-Boot */
196 interrupt-parent = <&UIC1>;
200 UART1: serial@ef600400 {
201 device_type = "serial";
202 compatible = "ns16550";
204 virtual-reg = <ef600400>;
205 clock-frequency = <0>; /* Filled in by U-Boot */
206 current-speed = <0>; /* Filled in by U-Boot */
207 interrupt-parent = <&UIC0>;
211 UART2: serial@ef600500 {
212 device_type = "serial";
213 compatible = "ns16550";
215 virtual-reg = <ef600500>;
216 clock-frequency = <0>; /* Filled in by U-Boot */
217 current-speed = <0>; /* Filled in by U-Boot */
218 interrupt-parent = <&UIC1>;
222 UART3: serial@ef600600 {
223 device_type = "serial";
224 compatible = "ns16550";
226 virtual-reg = <ef600600>;
227 clock-frequency = <0>; /* Filled in by U-Boot */
228 current-speed = <0>; /* Filled in by U-Boot */
229 interrupt-parent = <&UIC1>;
234 compatible = "ibm,iic-460gt", "ibm,iic";
236 interrupt-parent = <&UIC0>;
241 compatible = "ibm,iic-460gt", "ibm,iic";
243 interrupt-parent = <&UIC0>;
247 ZMII0: emac-zmii@ef600d00 {
248 compatible = "ibm,zmii-460gt", "ibm,zmii";
252 RGMII0: emac-rgmii@ef601500 {
253 compatible = "ibm,rgmii-460gt", "ibm,rgmii";
258 RGMII1: emac-rgmii@ef601600 {
259 compatible = "ibm,rgmii-460gt", "ibm,rgmii";
264 TAH0: emac-tah@ef601350 {
265 compatible = "ibm,tah-460gt", "ibm,tah";
269 TAH1: emac-tah@ef601450 {
270 compatible = "ibm,tah-460gt", "ibm,tah";
274 EMAC0: ethernet@ef600e00 {
275 device_type = "network";
276 compatible = "ibm,emac-460gt", "ibm,emac4";
277 interrupt-parent = <&EMAC0>;
279 #interrupt-cells = <1>;
280 #address-cells = <0>;
282 interrupt-map = </*Status*/ 0 &UIC2 10 4
283 /*Wake*/ 1 &UIC2 14 4>;
285 local-mac-address = [000000000000]; /* Filled in by U-Boot */
286 mal-device = <&MAL0>;
287 mal-tx-channel = <0>;
288 mal-rx-channel = <0>;
290 max-frame-size = <2328>;
291 rx-fifo-size = <1000>;
292 tx-fifo-size = <800>;
294 phy-map = <00000000>;
295 rgmii-device = <&RGMII0>;
297 tah-device = <&TAH0>;
299 has-inverted-stacr-oc;
300 has-new-stacr-staopc;
303 EMAC1: ethernet@ef600f00 {
304 device_type = "network";
305 compatible = "ibm,emac-460gt", "ibm,emac4";
306 interrupt-parent = <&EMAC1>;
308 #interrupt-cells = <1>;
309 #address-cells = <0>;
311 interrupt-map = </*Status*/ 0 &UIC2 11 4
312 /*Wake*/ 1 &UIC2 15 4>;
314 local-mac-address = [000000000000]; /* Filled in by U-Boot */
315 mal-device = <&MAL0>;
316 mal-tx-channel = <1>;
317 mal-rx-channel = <8>;
319 max-frame-size = <2328>;
320 rx-fifo-size = <1000>;
321 tx-fifo-size = <800>;
323 phy-map = <00000000>;
324 rgmii-device = <&RGMII0>;
326 tah-device = <&TAH1>;
328 has-inverted-stacr-oc;
329 has-new-stacr-staopc;
330 mdio-device = <&EMAC0>;
333 EMAC2: ethernet@ef601100 {
334 device_type = "network";
335 compatible = "ibm,emac-460gt", "ibm,emac4";
336 interrupt-parent = <&EMAC2>;
338 #interrupt-cells = <1>;
339 #address-cells = <0>;
341 interrupt-map = </*Status*/ 0 &UIC2 12 4
342 /*Wake*/ 1 &UIC2 16 4>;
344 local-mac-address = [000000000000]; /* Filled in by U-Boot */
345 mal-device = <&MAL0>;
346 mal-tx-channel = <2>;
347 mal-rx-channel = <10>;
349 max-frame-size = <2328>;
350 rx-fifo-size = <1000>;
351 tx-fifo-size = <800>;
353 phy-map = <00000000>;
354 rgmii-device = <&RGMII1>;
356 has-inverted-stacr-oc;
357 has-new-stacr-staopc;
358 mdio-device = <&EMAC0>;
361 EMAC3: ethernet@ef601200 {
362 device_type = "network";
363 compatible = "ibm,emac-460gt", "ibm,emac4";
364 interrupt-parent = <&EMAC3>;
366 #interrupt-cells = <1>;
367 #address-cells = <0>;
369 interrupt-map = </*Status*/ 0 &UIC2 13 4
370 /*Wake*/ 1 &UIC2 17 4>;
372 local-mac-address = [000000000000]; /* Filled in by U-Boot */
373 mal-device = <&MAL0>;
374 mal-tx-channel = <3>;
375 mal-rx-channel = <18>;
377 max-frame-size = <2328>;
378 rx-fifo-size = <1000>;
379 tx-fifo-size = <800>;
381 phy-map = <00000000>;
382 rgmii-device = <&RGMII1>;
384 has-inverted-stacr-oc;
385 has-new-stacr-staopc;
386 mdio-device = <&EMAC0>;
390 PCIX0: pci@c0ec00000 {
392 #interrupt-cells = <1>;
394 #address-cells = <3>;
395 compatible = "ibm,plb-pcix-460gt", "ibm,plb-pcix";
397 large-inbound-windows;
399 reg = <c 0ec00000 8 /* Config space access */
400 0 0 0 /* no IACK cycles */
401 c 0ed00000 4 /* Special cycles */
402 c 0ec80000 100 /* Internal registers */
403 c 0ec80100 fc>; /* Internal messaging registers */
405 /* Outbound ranges, one memory and one IO,
406 * later cannot be changed
408 ranges = <02000000 0 80000000 0000000d 80000000 0 80000000
409 01000000 0 00000000 0000000c 08000000 0 00010000>;
411 /* Inbound 2GB range starting at 0 */
412 dma-ranges = <42000000 0 0 0 0 0 80000000>;
414 /* This drives busses 0 to 0x3f */
417 /* All PCI interrupts are routed to ext IRQ 2 -> UIC1-0 */
418 interrupt-map-mask = <0000 0 0 0>;
419 interrupt-map = < 0000 0 0 0 &UIC1 0 8 >;
422 PCIE0: pciex@d00000000 {
424 #interrupt-cells = <1>;
426 #address-cells = <3>;
427 compatible = "ibm,plb-pciex-460ex", "ibm,plb-pciex";
429 port = <0>; /* port number */
430 reg = <d 00000000 20000000 /* Config space access */
431 c 08010000 00001000>; /* Registers */
435 /* Outbound ranges, one memory and one IO,
436 * later cannot be changed
438 ranges = <02000000 0 80000000 0000000e 00000000 0 80000000
439 01000000 0 00000000 0000000f 80000000 0 00010000>;
441 /* Inbound 2GB range starting at 0 */
442 dma-ranges = <42000000 0 0 0 0 0 80000000>;
444 /* This drives busses 40 to 0x7f */
447 /* Legacy interrupts (note the weird polarity, the bridge seems
448 * to invert PCIe legacy interrupts).
449 * We are de-swizzling here because the numbers are actually for
450 * port of the root complex virtual P2P bridge. But I want
451 * to avoid putting a node for it in the tree, so the numbers
452 * below are basically de-swizzled numbers.
453 * The real slot is on idsel 0, so the swizzling is 1:1
455 interrupt-map-mask = <0000 0 0 7>;
457 0000 0 0 1 &UIC3 c 4 /* swizzled int A */
458 0000 0 0 2 &UIC3 d 4 /* swizzled int B */
459 0000 0 0 3 &UIC3 e 4 /* swizzled int C */
460 0000 0 0 4 &UIC3 f 4 /* swizzled int D */>;
463 PCIE1: pciex@d20000000 {
465 #interrupt-cells = <1>;
467 #address-cells = <3>;
468 compatible = "ibm,plb-pciex-460ex", "ibm,plb-pciex";
470 port = <1>; /* port number */
471 reg = <d 20000000 20000000 /* Config space access */
472 c 08011000 00001000>; /* Registers */
476 /* Outbound ranges, one memory and one IO,
477 * later cannot be changed
479 ranges = <02000000 0 80000000 0000000e 80000000 0 80000000
480 01000000 0 00000000 0000000f 80010000 0 00010000>;
482 /* Inbound 2GB range starting at 0 */
483 dma-ranges = <42000000 0 0 0 0 0 80000000>;
485 /* This drives busses 80 to 0xbf */
488 /* Legacy interrupts (note the weird polarity, the bridge seems
489 * to invert PCIe legacy interrupts).
490 * We are de-swizzling here because the numbers are actually for
491 * port of the root complex virtual P2P bridge. But I want
492 * to avoid putting a node for it in the tree, so the numbers
493 * below are basically de-swizzled numbers.
494 * The real slot is on idsel 0, so the swizzling is 1:1
496 interrupt-map-mask = <0000 0 0 7>;
498 0000 0 0 1 &UIC3 10 4 /* swizzled int A */
499 0000 0 0 2 &UIC3 11 4 /* swizzled int B */
500 0000 0 0 3 &UIC3 12 4 /* swizzled int C */
501 0000 0 0 4 &UIC3 13 4 /* swizzled int D */>;