2 * Device Tree Source for AMCC Kilauea (405EX)
4 * Copyright 2007 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,kilauea";
15 compatible = "amcc,kilauea";
16 dcr-parent = <&/cpus/cpu@0>;
31 model = "PowerPC,405EX";
33 clock-frequency = <0>; /* Filled in by U-Boot */
34 timebase-frequency = <0>; /* Filled in by U-Boot */
35 i-cache-line-size = <20>;
36 d-cache-line-size = <20>;
37 i-cache-size = <4000>; /* 16 kB */
38 d-cache-size = <4000>; /* 16 kB */
40 dcr-access-method = "native";
45 device_type = "memory";
46 reg = <0 0>; /* Filled in by U-Boot */
49 UIC0: interrupt-controller {
50 compatible = "ibm,uic-405ex", "ibm,uic";
56 #interrupt-cells = <2>;
59 UIC1: interrupt-controller1 {
60 compatible = "ibm,uic-405ex","ibm,uic";
66 #interrupt-cells = <2>;
67 interrupts = <1e 4 1f 4>; /* cascade */
68 interrupt-parent = <&UIC0>;
71 UIC2: interrupt-controller2 {
72 compatible = "ibm,uic-405ex","ibm,uic";
78 #interrupt-cells = <2>;
79 interrupts = <1c 4 1d 4>; /* cascade */
80 interrupt-parent = <&UIC0>;
84 compatible = "ibm,plb-405ex", "ibm,plb4";
88 clock-frequency = <0>; /* Filled in by U-Boot */
90 SDRAM0: memory-controller {
91 compatible = "ibm,sdram-405ex";
96 compatible = "ibm,mcmal-405ex", "ibm,mcmal2";
100 interrupt-parent = <&MAL0>;
101 interrupts = <0 1 2 3 4>;
102 #interrupt-cells = <1>;
103 #address-cells = <0>;
105 interrupt-map = </*TXEOB*/ 0 &UIC0 a 4
106 /*RXEOB*/ 1 &UIC0 b 4
109 /*RXDE*/ 4 &UIC1 2 4>;
110 interrupt-map-mask = <ffffffff>;
114 compatible = "ibm,opb-405ex", "ibm,opb";
115 #address-cells = <1>;
117 ranges = <80000000 80000000 10000000
118 ef600000 ef600000 a00000
119 f0000000 f0000000 10000000>;
121 clock-frequency = <0>; /* Filled in by U-Boot */
124 compatible = "ibm,ebc-405ex", "ibm,ebc";
126 #address-cells = <2>;
128 clock-frequency = <0>; /* Filled in by U-Boot */
129 /* ranges property is supplied by U-Boot */
131 interrupt-parent = <&UIC1>;
134 compatible = "amd,s29gl512n", "cfi-flash";
136 reg = <0 000000 4000000>;
137 #address-cells = <1>;
145 reg = <200000 200000>;
149 reg = <400000 3b60000>;
153 reg = <3f60000 40000>;
157 reg = <3fa0000 60000>;
162 UART0: serial@ef600200 {
163 device_type = "serial";
164 compatible = "ns16550";
166 virtual-reg = <ef600200>;
167 clock-frequency = <0>; /* Filled in by U-Boot */
169 interrupt-parent = <&UIC0>;
173 UART1: serial@ef600300 {
174 device_type = "serial";
175 compatible = "ns16550";
177 virtual-reg = <ef600300>;
178 clock-frequency = <0>; /* Filled in by U-Boot */
180 interrupt-parent = <&UIC0>;
185 <<<<<<< HEAD:arch/powerpc/boot/dts/kilauea.dts
188 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a:arch/powerpc/boot/dts/kilauea.dts
189 compatible = "ibm,iic-405ex", "ibm,iic";
191 interrupt-parent = <&UIC0>;
196 <<<<<<< HEAD:arch/powerpc/boot/dts/kilauea.dts
199 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a:arch/powerpc/boot/dts/kilauea.dts
200 compatible = "ibm,iic-405ex", "ibm,iic";
202 interrupt-parent = <&UIC0>;
207 RGMII0: emac-rgmii@ef600b00 {
208 <<<<<<< HEAD:arch/powerpc/boot/dts/kilauea.dts
209 device_type = "rgmii-interface";
211 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a:arch/powerpc/boot/dts/kilauea.dts
212 compatible = "ibm,rgmii-405ex", "ibm,rgmii";
213 reg = <ef600b00 104>;
217 EMAC0: ethernet@ef600900 {
218 linux,network-index = <0>;
219 device_type = "network";
220 compatible = "ibm,emac-405ex", "ibm,emac4";
221 interrupt-parent = <&EMAC0>;
223 #interrupt-cells = <1>;
224 #address-cells = <0>;
226 interrupt-map = </*Status*/ 0 &UIC0 18 4
227 /*Wake*/ 1 &UIC1 1d 4>;
229 local-mac-address = [000000000000]; /* Filled in by U-Boot */
230 mal-device = <&MAL0>;
231 mal-tx-channel = <0>;
232 mal-rx-channel = <0>;
234 max-frame-size = <5dc>;
235 rx-fifo-size = <1000>;
236 tx-fifo-size = <800>;
238 phy-map = <00000000>;
239 rgmii-device = <&RGMII0>;
241 has-inverted-stacr-oc;
242 has-new-stacr-staopc;
245 EMAC1: ethernet@ef600a00 {
246 linux,network-index = <1>;
247 device_type = "network";
248 compatible = "ibm,emac-405ex", "ibm,emac4";
249 interrupt-parent = <&EMAC1>;
251 #interrupt-cells = <1>;
252 #address-cells = <0>;
254 interrupt-map = </*Status*/ 0 &UIC0 19 4
255 /*Wake*/ 1 &UIC1 1f 4>;
257 local-mac-address = [000000000000]; /* Filled in by U-Boot */
258 mal-device = <&MAL0>;
259 mal-tx-channel = <1>;
260 mal-rx-channel = <1>;
262 max-frame-size = <5dc>;
263 rx-fifo-size = <1000>;
264 tx-fifo-size = <800>;
266 phy-map = <00000000>;
267 rgmii-device = <&RGMII0>;
269 has-inverted-stacr-oc;
270 has-new-stacr-staopc;
274 PCIE0: pciex@0a0000000 {
276 #interrupt-cells = <1>;
278 #address-cells = <3>;
279 compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex";
281 port = <0>; /* port number */
282 reg = <a0000000 20000000 /* Config space access */
283 ef000000 00001000>; /* Registers */
287 /* Outbound ranges, one memory and one IO,
288 * later cannot be changed
290 ranges = <02000000 0 80000000 90000000 0 08000000
291 01000000 0 00000000 e0000000 0 00010000>;
293 /* Inbound 2GB range starting at 0 */
294 dma-ranges = <42000000 0 0 0 0 80000000>;
296 /* This drives busses 0x00 to 0x3f */
299 /* Legacy interrupts (note the weird polarity, the bridge seems
300 * to invert PCIe legacy interrupts).
301 * We are de-swizzling here because the numbers are actually for
302 * port of the root complex virtual P2P bridge. But I want
303 * to avoid putting a node for it in the tree, so the numbers
304 * below are basically de-swizzled numbers.
305 * The real slot is on idsel 0, so the swizzling is 1:1
307 interrupt-map-mask = <0000 0 0 7>;
309 0000 0 0 1 &UIC2 0 4 /* swizzled int A */
310 0000 0 0 2 &UIC2 1 4 /* swizzled int B */
311 0000 0 0 3 &UIC2 2 4 /* swizzled int C */
312 0000 0 0 4 &UIC2 3 4 /* swizzled int D */>;
315 PCIE1: pciex@0c0000000 {
317 #interrupt-cells = <1>;
319 #address-cells = <3>;
320 compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex";
322 port = <1>; /* port number */
323 reg = <c0000000 20000000 /* Config space access */
324 ef001000 00001000>; /* Registers */
328 /* Outbound ranges, one memory and one IO,
329 * later cannot be changed
331 ranges = <02000000 0 80000000 98000000 0 08000000
332 01000000 0 00000000 e0010000 0 00010000>;
334 /* Inbound 2GB range starting at 0 */
335 dma-ranges = <42000000 0 0 0 0 80000000>;
337 /* This drives busses 0x40 to 0x7f */
340 /* Legacy interrupts (note the weird polarity, the bridge seems
341 * to invert PCIe legacy interrupts).
342 * We are de-swizzling here because the numbers are actually for
343 * port of the root complex virtual P2P bridge. But I want
344 * to avoid putting a node for it in the tree, so the numbers
345 * below are basically de-swizzled numbers.
346 * The real slot is on idsel 0, so the swizzling is 1:1
348 interrupt-map-mask = <0000 0 0 7>;
350 0000 0 0 1 &UIC2 b 4 /* swizzled int A */
351 0000 0 0 2 &UIC2 c 4 /* swizzled int B */
352 0000 0 0 3 &UIC2 d 4 /* swizzled int C */
353 0000 0 0 4 &UIC2 e 4 /* swizzled int D */>;