2 * Copyright 2008 DENX Software Engineering, Stefan Roese <sr@denx.de>
3 * (c) Copyright 2010 Western Digital Technologies, Inc. All Rights Reserved.
5 * This file is licensed under the terms of the GNU General Public
6 * License version 2. This program is licensed "as is" without
7 * any warranty of any kind, whether express or implied.
13 compatible = "amcc,apollo3g";
14 dcr-parent = <&{/cpus/cpu@0}>;
27 model = "PowerPC,apm82181";
29 clock-frequency = <0>; /* Filled in by U-Boot */
30 timebase-frequency = <0>; /* Filled in by U-Boot */
31 i-cache-line-size = <32>;
32 d-cache-line-size = <32>;
33 i-cache-size = <32768>;
34 d-cache-size = <32768>;
36 dcr-access-method = "native";
37 next-level-cache = <&L2C0>;
42 device_type = "memory";
43 reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by U-Boot */
46 UIC0: interrupt-controller0 {
47 compatible = "ibm,uic-460ex","ibm,uic";
50 dcr-reg = <0x0c0 0x009>;
53 #interrupt-cells = <2>;
56 UIC1: interrupt-controller1 {
57 compatible = "ibm,uic-460ex","ibm,uic";
60 dcr-reg = <0x0d0 0x009>;
63 #interrupt-cells = <2>;
64 interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */
65 interrupt-parent = <&UIC0>;
68 UIC2: interrupt-controller2 {
69 compatible = "ibm,uic-460ex","ibm,uic";
72 dcr-reg = <0x0e0 0x009>;
75 #interrupt-cells = <2>;
76 interrupts = <0xa 0x4 0xb 0x4>; /* cascade */
77 interrupt-parent = <&UIC0>;
80 UIC3: interrupt-controller3 {
81 compatible = "ibm,uic-460ex","ibm,uic";
84 dcr-reg = <0x0f0 0x009>;
87 #interrupt-cells = <2>;
88 interrupts = <0x10 0x4 0x11 0x4>; /* cascade */
89 interrupt-parent = <&UIC0>;
93 compatible = "ibm,ocm";
96 /* configured in U-Boot */
97 reg = <4 0x00040000 0x8000>; /* 32K */
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-apm82181", "ibm,l2-cache";
121 dcr-reg = <0x020 0x008
123 cache-line-size = <32>;
124 cache-size = <262144>;
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>;
150 compatible = "ppc4xx-pka", "amcc,ppc4xx-pka";
151 reg = <0 0x00114000 0x4000>;
152 interrupt-parent = <&UIC0>;
153 interrupts = <0x14 0x2>;
157 compatible = "amcc,ppc460ex-rng", "ppc4xx-rng";
158 reg = <4 0x00110000 0x50>;
162 compatible = "ibm,mcmal-460ex", "ibm,mcmal2";
163 descriptor-memory = "ocm";
164 dcr-reg = <0x180 0x062>;
167 #address-cells = <0>;
169 interrupt-parent = <&UIC2>;
170 interrupts = < /*TXEOB*/ 0x6 0x4
178 /*RX1 COAL 0xd 0x2*/ >;
181 AHBDMA: dma@bffd0800 {
182 compatible = "snps,dma-spear1340";
183 reg = <4 0xbffd0800 0x400>;
184 interrupt-parent = <&UIC0>;
187 /* use autoconfiguration for the dma setup */
190 SATA0: sata@bffd1000 {
191 compatible = "amcc,sata-460ex";
192 reg = <4 0xbffd1000 0x800>;
193 interrupt-parent = <&UIC0>;
195 dmas = <&AHBDMA 0 0 1>;
196 dma-names = "sata-dma";
199 SATA1: sata@bffd1800 {
200 compatible = "amcc,sata-460ex";
201 reg = <4 0xbffd1800 0x800>;
202 interrupt-parent = <&UIC0>;
204 dmas = <&AHBDMA 1 0 2>;
205 dma-names = "sata-dma";
209 USBOTG0: usbotg@bff80000 {
210 compatible = "snps,dwc2";
211 reg = <4 0xbff80000 0x10000>;
212 interrupt-parent = <&USBOTG0>;
213 interrupts = <0 1 2>;
214 #interrupt-cells = <1>;
215 #address-cells = <0>;
217 interrupt-map = </* USB-OTG */ 0 &UIC2 0x1c 4
218 /* HIGH-POWER */ 1 &UIC1 0x1a 8
219 /* DMA */ 2 &UIC0 0xc 4>;
224 compatible = "ibm,opb-460ex", "ibm,opb";
225 #address-cells = <1>;
227 ranges = <0xb0000000 0x4 0xb0000000 0x50000000>;
228 clock-frequency = <0>; /* Filled in by U-Boot */
231 compatible = "ibm,ebc-460ex", "ibm,ebc";
232 dcr-reg = <0x012 0x002>;
233 #address-cells = <2>;
235 clock-frequency = <0>; /* Filled in by U-Boot */
236 interrupts = <0x6 0x4>;
237 interrupt-parent = <&UIC1>;
238 /* ranges property are supplied by U-Boot */
239 ranges = <0x0 0x0 0xfff80000 0x00080000
240 0x1 0x0 0x00000000 0x00000000
241 0x2 0x0 0x00000000 0x00000000>;
243 /* Define device tree for Apollo3g NAS NOR flash
244 * The NOR doesn't work when "enable-button" GPIO
248 compatible = "amd,s29gl512n", "jedec-probe", "cfi-flash", "mtd-rom";
250 reg = <0x00000000 0x00000000 0x00080000>;
251 #address-cells = <1>;
255 /* Part of bootrom - Don't use it without a jump */
257 reg = <0x00000000 0x0001e000>;
261 reg = <0x0001e000 0x00002000>;
265 reg = <0x00020000 0x00050000>;
271 compatible = "ibm,ndfc";
272 reg = <0x00000001 0x00000000 0x00002000>;
274 bank-settings = <0x80002222>;
275 #address-cells = <1>;
280 #address-cells = <1>;
286 gpio0: gpio0@e0000000 {
287 compatible = "wd,mbl-gpio", "ti,74273";
289 reg = <0xe0000000 0x1>;
294 /* toggle to reset EMAC PHY */
296 line-name = "enable EMAC PHY";
302 /* Defined in u-boot as: NOT_NOR
303 * "enables features other than NOR
304 * specifically, the buffer at CS2"
307 * Note: This option is disabled as
308 * it prevents the system from being
309 * rebooted successfully.
313 line-name = "Enable Reset Button, disable NOR";
320 line-name = "Power USB Core";
327 line-name = "Power Drive Port 1";
334 line-name = "Power Drive Port 0";
340 gpio1: gpio1@e0100000 {
341 compatible = "wd,mbl-gpio", "ti,74244";
343 reg = <0xe0100000 0x1>;
349 UART0: serial@ef600300 {
350 device_type = "serial";
351 compatible = "ns16550";
352 reg = <0xef600300 0x00000008>;
353 virtual-reg = <0xef600300>;
354 clock-frequency = <0>; /* Filled in by U-Boot */
355 current-speed = <0>; /* Filled in by U-Boot */
356 interrupt-parent = <&UIC1>;
357 interrupts = <0x1 0x4>;
361 compatible = "gpio-leds";
363 label = "mbl:red:power";
364 gpios = <&gpio0 4 0>;
365 linux,default-trigger = "panic";
368 label = "mbl:green:power";
369 gpios = <&gpio0 5 0>;
370 linux,default-trigger = "default-on";
373 label = "mbl:blue:power";
374 gpios = <&gpio0 6 0>;
375 linux,default-trigger = "cpu0";
380 compatible = "gpio-keys-polled";
381 #address-cells = <1>;
383 poll-interval = <60>; /* 3 * 20 = 60ms */
386 label = "Reset button";
387 linux,code = <0x198>; /* KEY_RESTART */
388 gpios = <&gpio1 2 1>;
392 RGMII0: emac-rgmii@ef601500 {
393 compatible = "ibm,rgmii-405ex", "ibm,rgmii";
394 reg = <0xef601500 0x00000008>;
398 TAH0: emac-tah@ef601350 {
399 compatible = "ibm,tah-460ex", "ibm,tah";
400 reg = <0xef601350 0x00000030>;
403 EMAC0: ethernet@ef600c00 {
404 device_type = "network";
405 compatible = "ibm,emac-405ex", "ibm,emac4sync";
406 interrupt-parent = <&EMAC0>;
407 interrupts = <0x0 0x1>;
408 #interrupt-cells = <1>;
409 #address-cells = <0>;
411 interrupt-map = </*Status*/ 0x0 &UIC2 0x10 0x4
412 /*Wake*/ 0x1 &UIC2 0x14 0x4>;
413 reg = <0xef600c00 0x000000c4>;
414 local-mac-address = [000000000000]; /* Filled in by U-Boot */
415 mal-device = <&MAL0>;
416 mal-tx-channel = <0>;
417 mal-rx-channel = <0>;
419 max-frame-size = <9000>;
420 rx-fifo-size = <16384>;
421 tx-fifo-size = <2048>;
423 phy-map = <0x00000000>;
424 rgmii-device = <&RGMII0>;
426 tah-device = <&TAH0>;
428 has-inverted-stacr-oc;
429 has-new-stacr-staopc;
434 compatible = "amcc,apm82181-adma";
436 #address-cells = <2>;
440 compatible = "amcc,apm82181-dma-4channel";
443 interrupt-parent = <&UIC0>;
444 interrupts = <0xd 0x4>;
445 pool_size = <0x4000>;
446 dcr-reg = <0x208 0x20f>;
450 compatible = "amcc,apm82181-dma-4channel";
453 interrupt-parent = <&UIC0>;
454 interrupts = <0xe 0x4>;
455 pool_size = <0x4000>;
456 dcr-reg = <0x210 0x217>;
460 compatible = "amcc,apm82181-dma-4channel";
463 interrupt-parent = <&UIC0>;
464 interrupts = <0xf 0x4>;
465 pool_size = <0x4000>;
466 dcr-reg = <0x218 0x21f>;
470 DMA: plb_dma@400300200 {
471 #address-cells = <1>;
473 compatible = "amcc,dma";
475 reg = <4 00300200 200>;
476 dcr-reg = <0x100 0x13f>;
477 interrupt-parent = <&UIC0>;
479 interrupt-map = < /* chan0 */ 0 &UIC0 12 4>;
482 compatible = "amcc,dma-4channel";