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>;
186 compatible = "ibm,iic-405ex", "ibm,iic";
188 interrupt-parent = <&UIC0>;
194 compatible = "ibm,iic-405ex", "ibm,iic";
196 interrupt-parent = <&UIC0>;
201 RGMII0: emac-rgmii@ef600b00 {
202 device_type = "rgmii-interface";
203 compatible = "ibm,rgmii-405ex", "ibm,rgmii";
204 reg = <ef600b00 104>;
208 EMAC0: ethernet@ef600900 {
209 linux,network-index = <0>;
210 device_type = "network";
211 compatible = "ibm,emac-405ex", "ibm,emac4";
212 interrupt-parent = <&EMAC0>;
214 #interrupt-cells = <1>;
215 #address-cells = <0>;
217 interrupt-map = </*Status*/ 0 &UIC0 18 4
218 /*Wake*/ 1 &UIC1 1d 4>;
220 local-mac-address = [000000000000]; /* Filled in by U-Boot */
221 mal-device = <&MAL0>;
222 mal-tx-channel = <0>;
223 mal-rx-channel = <0>;
225 max-frame-size = <5dc>;
226 rx-fifo-size = <1000>;
227 tx-fifo-size = <800>;
229 phy-map = <00000000>;
230 rgmii-device = <&RGMII0>;
232 has-inverted-stacr-oc;
233 has-new-stacr-staopc;
236 EMAC1: ethernet@ef600a00 {
237 linux,network-index = <1>;
238 device_type = "network";
239 compatible = "ibm,emac-405ex", "ibm,emac4";
240 interrupt-parent = <&EMAC1>;
242 #interrupt-cells = <1>;
243 #address-cells = <0>;
245 interrupt-map = </*Status*/ 0 &UIC0 19 4
246 /*Wake*/ 1 &UIC1 1f 4>;
248 local-mac-address = [000000000000]; /* Filled in by U-Boot */
249 mal-device = <&MAL0>;
250 mal-tx-channel = <1>;
251 mal-rx-channel = <1>;
253 max-frame-size = <5dc>;
254 rx-fifo-size = <1000>;
255 tx-fifo-size = <800>;
257 phy-map = <00000000>;
258 rgmii-device = <&RGMII0>;
260 has-inverted-stacr-oc;
261 has-new-stacr-staopc;
265 PCIE0: pciex@0a0000000 {
267 #interrupt-cells = <1>;
269 #address-cells = <3>;
270 compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex";
272 port = <0>; /* port number */
273 reg = <a0000000 20000000 /* Config space access */
274 ef000000 00001000>; /* Registers */
278 /* Outbound ranges, one memory and one IO,
279 * later cannot be changed
281 ranges = <02000000 0 80000000 90000000 0 08000000
282 01000000 0 00000000 e0000000 0 00010000>;
284 /* Inbound 2GB range starting at 0 */
285 dma-ranges = <42000000 0 0 0 0 80000000>;
287 /* This drives busses 0x00 to 0x3f */
290 /* Legacy interrupts (note the weird polarity, the bridge seems
291 * to invert PCIe legacy interrupts).
292 * We are de-swizzling here because the numbers are actually for
293 * port of the root complex virtual P2P bridge. But I want
294 * to avoid putting a node for it in the tree, so the numbers
295 * below are basically de-swizzled numbers.
296 * The real slot is on idsel 0, so the swizzling is 1:1
298 interrupt-map-mask = <0000 0 0 7>;
300 0000 0 0 1 &UIC2 0 4 /* swizzled int A */
301 0000 0 0 2 &UIC2 1 4 /* swizzled int B */
302 0000 0 0 3 &UIC2 2 4 /* swizzled int C */
303 0000 0 0 4 &UIC2 3 4 /* swizzled int D */>;
306 PCIE1: pciex@0c0000000 {
308 #interrupt-cells = <1>;
310 #address-cells = <3>;
311 compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex";
313 port = <1>; /* port number */
314 reg = <c0000000 20000000 /* Config space access */
315 ef001000 00001000>; /* Registers */
319 /* Outbound ranges, one memory and one IO,
320 * later cannot be changed
322 ranges = <02000000 0 80000000 98000000 0 08000000
323 01000000 0 00000000 e0010000 0 00010000>;
325 /* Inbound 2GB range starting at 0 */
326 dma-ranges = <42000000 0 0 0 0 80000000>;
328 /* This drives busses 0x40 to 0x7f */
331 /* Legacy interrupts (note the weird polarity, the bridge seems
332 * to invert PCIe legacy interrupts).
333 * We are de-swizzling here because the numbers are actually for
334 * port of the root complex virtual P2P bridge. But I want
335 * to avoid putting a node for it in the tree, so the numbers
336 * below are basically de-swizzled numbers.
337 * The real slot is on idsel 0, so the swizzling is 1:1
339 interrupt-map-mask = <0000 0 0 7>;
341 0000 0 0 1 &UIC2 b 4 /* swizzled int A */
342 0000 0 0 2 &UIC2 c 4 /* swizzled int B */
343 0000 0 0 3 &UIC2 d 4 /* swizzled int C */
344 0000 0 0 4 &UIC2 e 4 /* swizzled int D */>;