2 * Device Tree Source for AMCC Kilauea (405EX)
4 * Copyright 2007-2009 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.
16 model = "amcc,kilauea";
17 compatible = "amcc,kilauea";
18 dcr-parent = <&{/cpus/cpu@0}>;
33 model = "PowerPC,405EX";
35 clock-frequency = <0>; /* Filled in by U-Boot */
36 timebase-frequency = <0>; /* Filled in by U-Boot */
37 i-cache-line-size = <32>;
38 d-cache-line-size = <32>;
39 i-cache-size = <16384>; /* 16 kB */
40 d-cache-size = <16384>; /* 16 kB */
42 dcr-access-method = "native";
47 device_type = "memory";
48 reg = <0x00000000 0x00000000>; /* Filled in by U-Boot */
51 UIC0: interrupt-controller {
52 compatible = "ibm,uic-405ex", "ibm,uic";
55 dcr-reg = <0x0c0 0x009>;
58 #interrupt-cells = <2>;
61 UIC1: interrupt-controller1 {
62 compatible = "ibm,uic-405ex","ibm,uic";
65 dcr-reg = <0x0d0 0x009>;
68 #interrupt-cells = <2>;
69 interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */
70 interrupt-parent = <&UIC0>;
73 UIC2: interrupt-controller2 {
74 compatible = "ibm,uic-405ex","ibm,uic";
77 dcr-reg = <0x0e0 0x009>;
80 #interrupt-cells = <2>;
81 interrupts = <0x1c 0x4 0x1d 0x4>; /* cascade */
82 interrupt-parent = <&UIC0>;
86 compatible = "ibm,cpm";
87 dcr-access-method = "native";
88 dcr-reg = <0x0b0 0x003>;
89 unused-units = <0x00000000>;
90 idle-doze = <0x02000000>;
91 standby = <0xe3e74800>;
95 compatible = "ibm,plb-405ex", "ibm,plb4";
99 clock-frequency = <0>; /* Filled in by U-Boot */
101 SDRAM0: memory-controller {
102 compatible = "ibm,sdram-405ex", "ibm,sdram-4xx-ddr2";
103 dcr-reg = <0x010 0x002>;
104 interrupt-parent = <&UIC2>;
105 interrupts = <0x5 0x4 /* ECC DED Error */
106 0x6 0x4>; /* ECC SEC Error */
109 CRYPTO: crypto@ef700000 {
110 compatible = "amcc,ppc405ex-crypto", "amcc,ppc4xx-crypto";
111 reg = <0xef700000 0x80400>;
112 interrupt-parent = <&UIC0>;
113 interrupts = <0x17 0x2>;
117 compatible = "ibm,mcmal-405ex", "ibm,mcmal2";
118 dcr-reg = <0x180 0x062>;
121 interrupt-parent = <&MAL0>;
122 interrupts = <0x0 0x1 0x2 0x3 0x4>;
123 #interrupt-cells = <1>;
124 #address-cells = <0>;
126 interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4
127 /*RXEOB*/ 0x1 &UIC0 0xb 0x4
128 /*SERR*/ 0x2 &UIC1 0x0 0x4
129 /*TXDE*/ 0x3 &UIC1 0x1 0x4
130 /*RXDE*/ 0x4 &UIC1 0x2 0x4>;
131 interrupt-map-mask = <0xffffffff>;
135 compatible = "ibm,opb-405ex", "ibm,opb";
136 #address-cells = <1>;
138 ranges = <0x80000000 0x80000000 0x10000000
139 0xef600000 0xef600000 0x00a00000
140 0xf0000000 0xf0000000 0x10000000>;
141 dcr-reg = <0x0a0 0x005>;
142 clock-frequency = <0>; /* Filled in by U-Boot */
145 compatible = "ibm,ebc-405ex", "ibm,ebc";
146 dcr-reg = <0x012 0x002>;
147 #address-cells = <2>;
149 clock-frequency = <0>; /* Filled in by U-Boot */
150 /* ranges property is supplied by U-Boot */
151 interrupts = <0x5 0x1>;
152 interrupt-parent = <&UIC1>;
155 compatible = "amd,s29gl512n", "cfi-flash";
157 reg = <0x00000000 0x00000000 0x04000000>;
158 #address-cells = <1>;
162 reg = <0x00000000 0x001e0000>;
166 reg = <0x001e0000 0x00020000>;
170 reg = <0x00200000 0x00200000>;
174 reg = <0x00400000 0x03b60000>;
178 reg = <0x03f60000 0x00040000>;
182 reg = <0x03fa0000 0x00060000>;
187 compatible = "ibm,ndfc";
188 reg = <0x00000001 0x00000000 0x00002000>;
190 bank-settings = <0x80002222>;
191 #address-cells = <1>;
195 #address-cells = <1>;
200 reg = <0x00000000 0x00100000>;
204 reg = <0x00000000 0x03f00000>;
210 UART0: serial@ef600200 {
211 device_type = "serial";
212 compatible = "ns16550";
213 reg = <0xef600200 0x00000008>;
214 virtual-reg = <0xef600200>;
215 clock-frequency = <0>; /* Filled in by U-Boot */
217 interrupt-parent = <&UIC0>;
218 interrupts = <0x1a 0x4>;
221 UART1: serial@ef600300 {
222 device_type = "serial";
223 compatible = "ns16550";
224 reg = <0xef600300 0x00000008>;
225 virtual-reg = <0xef600300>;
226 clock-frequency = <0>; /* Filled in by U-Boot */
228 interrupt-parent = <&UIC0>;
229 interrupts = <0x1 0x4>;
233 compatible = "ibm,iic-405ex", "ibm,iic";
234 reg = <0xef600400 0x00000014>;
235 interrupt-parent = <&UIC0>;
236 interrupts = <0x2 0x4>;
237 #address-cells = <1>;
241 compatible = "dallas,ds1338";
246 compatible = "dallas,ds1775";
252 compatible = "ibm,iic-405ex", "ibm,iic";
253 reg = <0xef600500 0x00000014>;
254 interrupt-parent = <&UIC0>;
255 interrupts = <0x7 0x4>;
258 RGMII0: emac-rgmii@ef600b00 {
259 compatible = "ibm,rgmii-405ex", "ibm,rgmii";
260 reg = <0xef600b00 0x00000104>;
264 EMAC0: ethernet@ef600900 {
265 linux,network-index = <0x0>;
266 device_type = "network";
267 compatible = "ibm,emac-405ex", "ibm,emac4sync";
268 interrupt-parent = <&EMAC0>;
269 interrupts = <0x0 0x1>;
270 #interrupt-cells = <1>;
271 #address-cells = <0>;
273 interrupt-map = </*Status*/ 0x0 &UIC0 0x18 0x4
274 /*Wake*/ 0x1 &UIC1 0x1d 0x4>;
275 reg = <0xef600900 0x000000c4>;
276 local-mac-address = [000000000000]; /* Filled in by U-Boot */
277 mal-device = <&MAL0>;
278 mal-tx-channel = <0>;
279 mal-rx-channel = <0>;
281 max-frame-size = <9000>;
282 rx-fifo-size = <4096>;
283 tx-fifo-size = <2048>;
284 rx-fifo-size-gige = <16384>;
285 tx-fifo-size-gige = <16384>;
287 phy-map = <0x00000000>;
288 rgmii-device = <&RGMII0>;
290 has-inverted-stacr-oc;
291 has-new-stacr-staopc;
294 EMAC1: ethernet@ef600a00 {
295 linux,network-index = <0x1>;
296 device_type = "network";
297 compatible = "ibm,emac-405ex", "ibm,emac4sync";
298 interrupt-parent = <&EMAC1>;
299 interrupts = <0x0 0x1>;
300 #interrupt-cells = <1>;
301 #address-cells = <0>;
303 interrupt-map = </*Status*/ 0x0 &UIC0 0x19 0x4
304 /*Wake*/ 0x1 &UIC1 0x1f 0x4>;
305 reg = <0xef600a00 0x000000c4>;
306 local-mac-address = [000000000000]; /* Filled in by U-Boot */
307 mal-device = <&MAL0>;
308 mal-tx-channel = <1>;
309 mal-rx-channel = <1>;
311 max-frame-size = <9000>;
312 rx-fifo-size = <4096>;
313 tx-fifo-size = <2048>;
314 rx-fifo-size-gige = <16384>;
315 tx-fifo-size-gige = <16384>;
317 phy-map = <0x00000000>;
318 rgmii-device = <&RGMII0>;
320 has-inverted-stacr-oc;
321 has-new-stacr-staopc;
325 PCIE0: pciex@0a0000000 {
327 #interrupt-cells = <1>;
329 #address-cells = <3>;
330 compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex";
332 port = <0x0>; /* port number */
333 reg = <0xa0000000 0x20000000 /* Config space access */
334 0xef000000 0x00001000>; /* Registers */
335 dcr-reg = <0x040 0x020>;
338 /* Outbound ranges, one memory and one IO,
339 * later cannot be changed
341 ranges = <0x02000000 0x00000000 0x80000000 0x90000000 0x00000000 0x08000000
342 0x01000000 0x00000000 0x00000000 0xe0000000 0x00000000 0x00010000>;
344 /* Inbound 2GB range starting at 0 */
345 dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x80000000>;
347 /* This drives busses 0x00 to 0x3f */
348 bus-range = <0x0 0x3f>;
350 /* Legacy interrupts (note the weird polarity, the bridge seems
351 * to invert PCIe legacy interrupts).
352 * We are de-swizzling here because the numbers are actually for
353 * port of the root complex virtual P2P bridge. But I want
354 * to avoid putting a node for it in the tree, so the numbers
355 * below are basically de-swizzled numbers.
356 * The real slot is on idsel 0, so the swizzling is 1:1
358 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
360 0x0 0x0 0x0 0x1 &UIC2 0x0 0x4 /* swizzled int A */
361 0x0 0x0 0x0 0x2 &UIC2 0x1 0x4 /* swizzled int B */
362 0x0 0x0 0x0 0x3 &UIC2 0x2 0x4 /* swizzled int C */
363 0x0 0x0 0x0 0x4 &UIC2 0x3 0x4 /* swizzled int D */>;
366 PCIE1: pciex@0c0000000 {
368 #interrupt-cells = <1>;
370 #address-cells = <3>;
371 compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex";
373 port = <0x1>; /* port number */
374 reg = <0xc0000000 0x20000000 /* Config space access */
375 0xef001000 0x00001000>; /* Registers */
376 dcr-reg = <0x060 0x020>;
379 /* Outbound ranges, one memory and one IO,
380 * later cannot be changed
382 ranges = <0x02000000 0x00000000 0x80000000 0x98000000 0x00000000 0x08000000
383 0x01000000 0x00000000 0x00000000 0xe0010000 0x00000000 0x00010000>;
385 /* Inbound 2GB range starting at 0 */
386 dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x80000000>;
388 /* This drives busses 0x40 to 0x7f */
389 bus-range = <0x40 0x7f>;
391 /* Legacy interrupts (note the weird polarity, the bridge seems
392 * to invert PCIe legacy interrupts).
393 * We are de-swizzling here because the numbers are actually for
394 * port of the root complex virtual P2P bridge. But I want
395 * to avoid putting a node for it in the tree, so the numbers
396 * below are basically de-swizzled numbers.
397 * The real slot is on idsel 0, so the swizzling is 1:1
399 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
401 0x0 0x0 0x0 0x1 &UIC2 0xb 0x4 /* swizzled int A */
402 0x0 0x0 0x0 0x2 &UIC2 0xc 0x4 /* swizzled int B */
403 0x0 0x0 0x0 0x3 &UIC2 0xd 0x4 /* swizzled int C */
404 0x0 0x0 0x0 0x4 &UIC2 0xe 0x4 /* swizzled int D */>;
407 MSI: ppc4xx-msi@C10000000 {
408 compatible = "amcc,ppc4xx-msi", "ppc4xx-msi";
409 reg = <0xEF620000 0x100>;
411 msi-data = <0x00000000>;
412 msi-mask = <0x44440000>;
413 interrupt-count = <12>;
414 interrupts = <0 1 2 3 4 5 6 7 8 9 0xA 0xB 0xC 0xD>;
415 interrupt-parent = <&UIC2>;
416 #interrupt-cells = <1>;
417 #address-cells = <0>;
419 interrupt-map = <0 &UIC2 0x10 1