2 * Device Tree Source for AMCC Canyonlands (460EX)
4 * Copyright 2008-2009 DENX Software Engineering, Stefan Roese <sr@denx.de>
6 * SPDX-License-Identifier: GPL-2.0
14 model = "amcc,canyonlands";
15 compatible = "amcc,canyonlands";
16 dcr-parent = <&{/cpus/cpu@0}>;
35 model = "PowerPC,460EX";
37 clock-frequency = <0>; /* Filled in by U-Boot */
38 timebase-frequency = <0>; /* Filled in by U-Boot */
39 i-cache-line-size = <32>;
40 d-cache-line-size = <32>;
41 i-cache-size = <32768>;
42 d-cache-size = <32768>;
44 dcr-access-method = "native";
45 next-level-cache = <&L2C0>;
50 device_type = "memory";
51 reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by U-Boot */
54 UIC0: interrupt-controller0 {
55 compatible = "ibm,uic-460ex","ibm,uic";
58 dcr-reg = <0x0c0 0x009>;
61 #interrupt-cells = <2>;
64 UIC1: interrupt-controller1 {
65 compatible = "ibm,uic-460ex","ibm,uic";
68 dcr-reg = <0x0d0 0x009>;
71 #interrupt-cells = <2>;
72 interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */
73 interrupt-parent = <&UIC0>;
76 UIC2: interrupt-controller2 {
77 compatible = "ibm,uic-460ex","ibm,uic";
80 dcr-reg = <0x0e0 0x009>;
83 #interrupt-cells = <2>;
84 interrupts = <0xa 0x4 0xb 0x4>; /* cascade */
85 interrupt-parent = <&UIC0>;
88 UIC3: interrupt-controller3 {
89 compatible = "ibm,uic-460ex","ibm,uic";
92 dcr-reg = <0x0f0 0x009>;
95 #interrupt-cells = <2>;
96 interrupts = <0x10 0x4 0x11 0x4>; /* cascade */
97 interrupt-parent = <&UIC0>;
101 compatible = "ibm,sdr-460ex";
102 dcr-reg = <0x00e 0x002>;
106 compatible = "ibm,cpr-460ex";
107 dcr-reg = <0x00c 0x002>;
111 compatible = "ibm,cpm";
112 dcr-access-method = "native";
113 dcr-reg = <0x160 0x003>;
114 unused-units = <0x00000100>;
115 idle-doze = <0x02000000>;
116 standby = <0xfeff791d>;
120 compatible = "ibm,l2-cache-460ex", "ibm,l2-cache";
121 dcr-reg = <0x020 0x008 /* Internal SRAM DCR's */
122 0x030 0x008>; /* L2 cache DCR's */
123 cache-line-size = <32>; /* 32 bytes */
124 cache-size = <262144>; /* L2, 256K */
125 interrupt-parent = <&UIC1>;
130 compatible = "ibm,plb-460ex", "ibm,plb4";
131 #address-cells = <2>;
134 clock-frequency = <0>; /* Filled in by U-Boot */
137 compatible = "ibm,sdram-460ex", "ibm,sdram-405gp";
138 dcr-reg = <0x010 0x002>;
141 CRYPTO: crypto@180000 {
142 compatible = "amcc,ppc460ex-crypto", "amcc,ppc4xx-crypto";
143 reg = <4 0x00180000 0x80400>;
144 interrupt-parent = <&UIC0>;
145 interrupts = <0x1d 0x4>;
148 HWRNG: hwrng@110000 {
149 compatible = "amcc,ppc460ex-rng", "ppc4xx-rng";
150 reg = <4 0x00110000 0x50>;
154 compatible = "ibm,mcmal-460ex", "ibm,mcmal2";
155 dcr-reg = <0x180 0x062>;
158 #address-cells = <0>;
160 interrupt-parent = <&UIC2>;
161 interrupts = < /*TXEOB*/ 0x6 0x4
168 USB0: ehci@bffd0400 {
169 compatible = "ibm,usb-ehci-460ex", "usb-ehci";
170 interrupt-parent = <&UIC2>;
171 interrupts = <0x1d 4>;
172 reg = <4 0xbffd0400 0x90 4 0xbffd0490 0x70>;
176 compatible = "ohci-le";
177 reg = <4 0xbffd0000 0x60>;
178 interrupt-parent = <&UIC2>;
179 interrupts = <0x1e 4>;
182 USBOTG0: usbotg@bff80000 {
183 compatible = "amcc,dwc-otg";
184 reg = <0x4 0xbff80000 0x10000>;
185 interrupt-parent = <&USBOTG0>;
186 #interrupt-cells = <1>;
187 #address-cells = <0>;
189 interrupts = <0x0 0x1 0x2>;
190 interrupt-map = </* USB-OTG */ 0x0 &UIC2 0x1c 0x4
191 /* HIGH-POWER */ 0x1 &UIC1 0x1a 0x8
192 /* DMA */ 0x2 &UIC0 0xc 0x4>;
195 SATA0: sata@bffd1000 {
196 compatible = "amcc,sata-460ex";
197 reg = <4 0xbffd1000 0x800 4 0xbffd0800 0x400>;
198 interrupt-parent = <&UIC3>;
199 interrupts = <0x0 0x4 /* SATA */
200 0x5 0x4>; /* AHBDMA */
204 compatible = "ibm,opb-460ex", "ibm,opb";
205 #address-cells = <1>;
207 ranges = <0xb0000000 0x00000004 0xb0000000 0x50000000>;
208 clock-frequency = <0>; /* Filled in by U-Boot */
211 compatible = "ibm,ebc-460ex", "ibm,ebc";
212 dcr-reg = <0x012 0x002>;
213 #address-cells = <2>;
215 clock-frequency = <0>; /* Filled in by U-Boot */
216 /* ranges property is supplied by U-Boot */
217 interrupts = <0x6 0x4>;
218 interrupt-parent = <&UIC1>;
221 compatible = "amd,s29gl512n", "cfi-flash";
223 reg = <0x00000000 0x00000000 0x04000000>;
224 #address-cells = <1>;
228 reg = <0x00000000 0x001e0000>;
232 reg = <0x001e0000 0x00020000>;
236 reg = <0x00200000 0x01400000>;
240 reg = <0x01600000 0x00400000>;
244 reg = <0x01a00000 0x02560000>;
248 reg = <0x03f60000 0x00040000>;
252 reg = <0x03fa0000 0x00060000>;
257 compatible = "amcc,ppc460ex-bcsr";
262 compatible = "ibm,ndfc";
263 reg = <0x00000003 0x00000000 0x00002000>;
265 bank-settings = <0x80002222>;
266 #address-cells = <1>;
270 #address-cells = <1>;
275 reg = <0x00000000 0x00100000>;
279 reg = <0x00000000 0x03f00000>;
285 UART0: serial@ef600300 {
286 device_type = "serial";
288 compatible = "ns16550";
289 reg = <0xef600300 0x00000008>;
290 virtual-reg = <0xef600300>;
291 clock-frequency = <0>; /* Filled in by U-Boot */
292 current-speed = <0>; /* Filled in by U-Boot */
293 interrupt-parent = <&UIC1>;
294 interrupts = <0x1 0x4>;
297 UART1: serial@ef600400 {
298 device_type = "serial";
300 compatible = "ns16550";
301 reg = <0xef600400 0x00000008>;
302 virtual-reg = <0xef600400>;
303 clock-frequency = <0>; /* Filled in by U-Boot */
304 current-speed = <0>; /* Filled in by U-Boot */
305 interrupt-parent = <&UIC0>;
306 interrupts = <0x1 0x4>;
310 compatible = "ibm,iic-460ex", "ibm,iic";
311 reg = <0xef600700 0x00000014>;
312 interrupt-parent = <&UIC0>;
313 interrupts = <0x2 0x4>;
314 #address-cells = <1>;
317 compatible = "stm,m41t80";
319 interrupt-parent = <&UIC2>;
320 interrupts = <0x19 0x8>;
323 compatible = "ad,ad7414";
325 interrupt-parent = <&UIC1>;
326 interrupts = <0x14 0x8>;
331 compatible = "ibm,iic-460ex", "ibm,iic";
332 reg = <0xef600800 0x00000014>;
333 interrupt-parent = <&UIC0>;
334 interrupts = <0x3 0x4>;
337 GPIO0: gpio@ef600b00 {
338 compatible = "ibm,ppc4xx-gpio";
339 reg = <0xef600b00 0x00000048>;
343 ZMII0: emac-zmii@ef600d00 {
344 compatible = "ibm,zmii-460ex", "ibm,zmii";
345 reg = <0xef600d00 0x0000000c>;
348 RGMII0: emac-rgmii@ef601500 {
349 compatible = "ibm,rgmii-460ex", "ibm,rgmii";
350 reg = <0xef601500 0x00000008>;
354 TAH0: emac-tah@ef601350 {
355 compatible = "ibm,tah-460ex", "ibm,tah";
356 reg = <0xef601350 0x00000030>;
359 TAH1: emac-tah@ef601450 {
360 compatible = "ibm,tah-460ex", "ibm,tah";
361 reg = <0xef601450 0x00000030>;
364 EMAC0: ethernet@ef600e00 {
365 device_type = "network";
366 compatible = "ibm,emac-460ex", "ibm,emac4sync";
367 interrupt-parent = <&EMAC0>;
368 interrupts = <0x0 0x1>;
369 #interrupt-cells = <1>;
370 #address-cells = <0>;
372 interrupt-map = </*Status*/ 0x0 &UIC2 0x10 0x4
373 /*Wake*/ 0x1 &UIC2 0x14 0x4>;
374 reg = <0xef600e00 0x000000c4>;
375 local-mac-address = [000000000000]; /* Filled in by U-Boot */
376 mal-device = <&MAL0>;
377 mal-tx-channel = <0>;
378 mal-rx-channel = <0>;
380 max-frame-size = <9000>;
381 rx-fifo-size = <4096>;
382 tx-fifo-size = <2048>;
383 rx-fifo-size-gige = <16384>;
385 phy-map = <0x00000000>;
386 rgmii-device = <&RGMII0>;
388 tah-device = <&TAH0>;
390 has-inverted-stacr-oc;
391 has-new-stacr-staopc;
394 EMAC1: ethernet@ef600f00 {
395 device_type = "network";
396 compatible = "ibm,emac-460ex", "ibm,emac4sync";
397 interrupt-parent = <&EMAC1>;
398 interrupts = <0x0 0x1>;
399 #interrupt-cells = <1>;
400 #address-cells = <0>;
402 interrupt-map = </*Status*/ 0x0 &UIC2 0x11 0x4
403 /*Wake*/ 0x1 &UIC2 0x15 0x4>;
404 reg = <0xef600f00 0x000000c4>;
405 local-mac-address = [000000000000]; /* Filled in by U-Boot */
406 mal-device = <&MAL0>;
407 mal-tx-channel = <1>;
408 mal-rx-channel = <8>;
410 max-frame-size = <9000>;
411 rx-fifo-size = <4096>;
412 tx-fifo-size = <2048>;
413 rx-fifo-size-gige = <16384>;
415 phy-map = <0x00000000>;
416 rgmii-device = <&RGMII0>;
418 tah-device = <&TAH1>;
420 has-inverted-stacr-oc;
421 has-new-stacr-staopc;
422 mdio-device = <&EMAC0>;
426 PCIX0: pci@c0ec00000 {
428 #interrupt-cells = <1>;
430 #address-cells = <3>;
431 compatible = "ibm,plb-pcix-460ex", "ibm,plb-pcix";
433 large-inbound-windows;
435 reg = <0x0000000c 0x0ec00000 0x00000008 /* Config space access */
436 0x00000000 0x00000000 0x00000000 /* no IACK cycles */
437 0x0000000c 0x0ed00000 0x00000004 /* Special cycles */
438 0x0000000c 0x0ec80000 0x00000100 /* Internal registers */
439 0x0000000c 0x0ec80100 0x000000fc>; /* Internal messaging registers */
441 /* Outbound ranges, one memory and one IO,
442 * later cannot be changed
444 ranges = <0x02000000 0x00000000 0x80000000 0x0000000d 0x80000000 0x00000000 0x80000000
445 0x02000000 0x00000000 0x00000000 0x0000000c 0x0ee00000 0x00000000 0x00100000
446 0x01000000 0x00000000 0x00000000 0x0000000c 0x08000000 0x00000000 0x00010000>;
448 /* Inbound 2GB range starting at 0 */
449 dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>;
451 /* This drives busses 0 to 0x3f */
452 bus-range = <0x0 0x3f>;
454 /* All PCI interrupts are routed to ext IRQ 2 -> UIC1-0 */
455 interrupt-map-mask = <0x0 0x0 0x0 0x0>;
456 interrupt-map = < 0x0 0x0 0x0 0x0 &UIC1 0x0 0x8 >;
459 PCIE0: pciex@d00000000 {
461 #interrupt-cells = <1>;
463 #address-cells = <3>;
464 compatible = "ibm,plb-pciex-460ex", "ibm,plb-pciex";
466 port = <0x0>; /* port number */
467 reg = <0x0000000d 0x00000000 0x20000000 /* Config space access */
468 0x0000000c 0x08010000 0x00001000>; /* Registers */
469 dcr-reg = <0x100 0x020>;
472 /* Outbound ranges, one memory and one IO,
473 * later cannot be changed
475 ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x00000000 0x00000000 0x80000000
476 0x02000000 0x00000000 0x00000000 0x0000000f 0x00000000 0x00000000 0x00100000
477 0x01000000 0x00000000 0x00000000 0x0000000f 0x80000000 0x00000000 0x00010000>;
479 /* Inbound 2GB range starting at 0 */
480 dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>;
482 /* This drives busses 40 to 0x7f */
483 bus-range = <0x40 0x7f>;
485 /* Legacy interrupts (note the weird polarity, the bridge seems
486 * to invert PCIe legacy interrupts).
487 * We are de-swizzling here because the numbers are actually for
488 * port of the root complex virtual P2P bridge. But I want
489 * to avoid putting a node for it in the tree, so the numbers
490 * below are basically de-swizzled numbers.
491 * The real slot is on idsel 0, so the swizzling is 1:1
493 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
495 0x0 0x0 0x0 0x1 &UIC3 0xc 0x4 /* swizzled int A */
496 0x0 0x0 0x0 0x2 &UIC3 0xd 0x4 /* swizzled int B */
497 0x0 0x0 0x0 0x3 &UIC3 0xe 0x4 /* swizzled int C */
498 0x0 0x0 0x0 0x4 &UIC3 0xf 0x4 /* swizzled int D */>;
501 PCIE1: pciex@d20000000 {
503 #interrupt-cells = <1>;
505 #address-cells = <3>;
506 compatible = "ibm,plb-pciex-460ex", "ibm,plb-pciex";
508 port = <0x1>; /* port number */
509 reg = <0x0000000d 0x20000000 0x20000000 /* Config space access */
510 0x0000000c 0x08011000 0x00001000>; /* Registers */
511 dcr-reg = <0x120 0x020>;
514 /* Outbound ranges, one memory and one IO,
515 * later cannot be changed
517 ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x80000000 0x00000000 0x80000000
518 0x02000000 0x00000000 0x00000000 0x0000000f 0x00100000 0x00000000 0x00100000
519 0x01000000 0x00000000 0x00000000 0x0000000f 0x80010000 0x00000000 0x00010000>;
521 /* Inbound 2GB range starting at 0 */
522 dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>;
524 /* This drives busses 80 to 0xbf */
525 bus-range = <0x80 0xbf>;
527 /* Legacy interrupts (note the weird polarity, the bridge seems
528 * to invert PCIe legacy interrupts).
529 * We are de-swizzling here because the numbers are actually for
530 * port of the root complex virtual P2P bridge. But I want
531 * to avoid putting a node for it in the tree, so the numbers
532 * below are basically de-swizzled numbers.
533 * The real slot is on idsel 0, so the swizzling is 1:1
535 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
537 0x0 0x0 0x0 0x1 &UIC3 0x10 0x4 /* swizzled int A */
538 0x0 0x0 0x0 0x2 &UIC3 0x11 0x4 /* swizzled int B */
539 0x0 0x0 0x0 0x3 &UIC3 0x12 0x4 /* swizzled int C */
540 0x0 0x0 0x0 0x4 &UIC3 0x13 0x4 /* swizzled int D */>;
543 MSI: ppc4xx-msi@C10000000 {
544 compatible = "amcc,ppc4xx-msi", "ppc4xx-msi";
545 reg = < 0xC 0x10000000 0x100>;
547 msi-data = <0x00000000>;
548 msi-mask = <0x44440000>;
549 interrupt-count = <3>;
550 interrupts = <0 1 2 3>;
551 interrupt-parent = <&UIC3>;
552 #interrupt-cells = <1>;
553 #address-cells = <0>;
555 interrupt-map = <0 &UIC3 0x18 1