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/PowerPC,405EX@0>;
25 clock-frequency = <0>; /* Filled in by U-Boot */
26 timebase-frequency = <0>; /* Filled in by U-Boot */
27 i-cache-line-size = <20>;
28 d-cache-line-size = <20>;
29 i-cache-size = <4000>; /* 16 kB */
30 d-cache-size = <4000>; /* 16 kB */
32 dcr-access-method = "native";
37 device_type = "memory";
38 reg = <0 0>; /* Filled in by U-Boot */
41 UIC0: interrupt-controller {
42 compatible = "ibm,uic-405ex", "ibm,uic";
48 #interrupt-cells = <2>;
51 UIC1: interrupt-controller1 {
52 compatible = "ibm,uic-405ex","ibm,uic";
58 #interrupt-cells = <2>;
59 interrupts = <1e 4 1f 4>; /* cascade */
60 interrupt-parent = <&UIC0>;
63 UIC2: interrupt-controller2 {
64 compatible = "ibm,uic-405ex","ibm,uic";
70 #interrupt-cells = <2>;
71 interrupts = <1c 4 1d 4>; /* cascade */
72 interrupt-parent = <&UIC0>;
76 compatible = "ibm,plb-405ex", "ibm,plb4";
80 clock-frequency = <0>; /* Filled in by U-Boot */
82 SDRAM0: memory-controller {
83 compatible = "ibm,sdram-405ex";
88 compatible = "ibm,mcmal-405ex", "ibm,mcmal2";
92 interrupt-parent = <&MAL0>;
93 interrupts = <0 1 2 3 4>;
94 #interrupt-cells = <1>;
97 interrupt-map = </*TXEOB*/ 0 &UIC0 a 4
101 /*RXDE*/ 4 &UIC1 2 4>;
102 interrupt-map-mask = <ffffffff>;
106 compatible = "ibm,opb-405ex", "ibm,opb";
107 #address-cells = <1>;
109 ranges = <80000000 80000000 10000000
110 ef600000 ef600000 a00000
111 f0000000 f0000000 10000000>;
113 clock-frequency = <0>; /* Filled in by U-Boot */
116 compatible = "ibm,ebc-405ex", "ibm,ebc";
118 #address-cells = <2>;
120 clock-frequency = <0>; /* Filled in by U-Boot */
121 /* ranges property is supplied by U-Boot */
123 interrupt-parent = <&UIC1>;
126 compatible = "amd,s29gl512n", "cfi-flash";
128 reg = <0 000000 4000000>;
129 #address-cells = <1>;
137 reg = <200000 200000>;
141 reg = <400000 3b60000>;
145 reg = <3f60000 40000>;
149 reg = <3fa0000 60000>;
154 UART0: serial@ef600200 {
155 device_type = "serial";
156 compatible = "ns16550";
158 virtual-reg = <ef600200>;
159 clock-frequency = <0>; /* Filled in by U-Boot */
161 interrupt-parent = <&UIC0>;
165 UART1: serial@ef600300 {
166 device_type = "serial";
167 compatible = "ns16550";
169 virtual-reg = <ef600300>;
170 clock-frequency = <0>; /* Filled in by U-Boot */
172 interrupt-parent = <&UIC0>;
178 compatible = "ibm,iic-405ex", "ibm,iic";
180 interrupt-parent = <&UIC0>;
186 compatible = "ibm,iic-405ex", "ibm,iic";
188 interrupt-parent = <&UIC0>;
193 RGMII0: emac-rgmii@ef600b00 {
194 device_type = "rgmii-interface";
195 compatible = "ibm,rgmii-405ex", "ibm,rgmii";
196 reg = <ef600b00 104>;
200 EMAC0: ethernet@ef600900 {
201 linux,network-index = <0>;
202 device_type = "network";
203 compatible = "ibm,emac-405ex", "ibm,emac4";
204 interrupt-parent = <&EMAC0>;
206 #interrupt-cells = <1>;
207 #address-cells = <0>;
209 interrupt-map = </*Status*/ 0 &UIC0 18 4
210 /*Wake*/ 1 &UIC1 1d 4>;
212 local-mac-address = [000000000000]; /* Filled in by U-Boot */
213 mal-device = <&MAL0>;
214 mal-tx-channel = <0>;
215 mal-rx-channel = <0>;
217 max-frame-size = <5dc>;
218 rx-fifo-size = <1000>;
219 tx-fifo-size = <800>;
221 phy-map = <00000000>;
222 rgmii-device = <&RGMII0>;
224 has-inverted-stacr-oc;
225 has-new-stacr-staopc;
228 EMAC1: ethernet@ef600a00 {
229 linux,network-index = <1>;
230 device_type = "network";
231 compatible = "ibm,emac-405ex", "ibm,emac4";
232 interrupt-parent = <&EMAC1>;
234 #interrupt-cells = <1>;
235 #address-cells = <0>;
237 interrupt-map = </*Status*/ 0 &UIC0 19 4
238 /*Wake*/ 1 &UIC1 1f 4>;
240 local-mac-address = [000000000000]; /* Filled in by U-Boot */
241 mal-device = <&MAL0>;
242 mal-tx-channel = <1>;
243 mal-rx-channel = <1>;
245 max-frame-size = <5dc>;
246 rx-fifo-size = <1000>;
247 tx-fifo-size = <800>;
249 phy-map = <00000000>;
250 rgmii-device = <&RGMII0>;
252 has-inverted-stacr-oc;
253 has-new-stacr-staopc;
257 PCIE0: pciex@0a0000000 {
259 #interrupt-cells = <1>;
261 #address-cells = <3>;
262 compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex";
264 port = <0>; /* port number */
265 reg = <a0000000 20000000 /* Config space access */
266 ef000000 00001000>; /* Registers */
270 /* Outbound ranges, one memory and one IO,
271 * later cannot be changed
273 ranges = <02000000 0 80000000 90000000 0 08000000
274 01000000 0 00000000 e0000000 0 00010000>;
276 /* Inbound 2GB range starting at 0 */
277 dma-ranges = <42000000 0 0 0 0 80000000>;
279 /* This drives busses 0x00 to 0x0f */
282 /* Legacy interrupts (note the weird polarity, the bridge seems
283 * to invert PCIe legacy interrupts).
284 * We are de-swizzling here because the numbers are actually for
285 * port of the root complex virtual P2P bridge. But I want
286 * to avoid putting a node for it in the tree, so the numbers
287 * below are basically de-swizzled numbers.
288 * The real slot is on idsel 0, so the swizzling is 1:1
290 interrupt-map-mask = <0000 0 0 7>;
292 0000 0 0 1 &UIC2 0 4 /* swizzled int A */
293 0000 0 0 2 &UIC2 1 4 /* swizzled int B */
294 0000 0 0 3 &UIC2 2 4 /* swizzled int C */
295 0000 0 0 4 &UIC2 3 4 /* swizzled int D */>;
298 PCIE1: pciex@0c0000000 {
300 #interrupt-cells = <1>;
302 #address-cells = <3>;
303 compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex";
305 port = <1>; /* port number */
306 reg = <c0000000 20000000 /* Config space access */
307 ef001000 00001000>; /* Registers */
311 /* Outbound ranges, one memory and one IO,
312 * later cannot be changed
314 ranges = <02000000 0 80000000 98000000 0 08000000
315 01000000 0 00000000 e0010000 0 00010000>;
317 /* Inbound 2GB range starting at 0 */
318 dma-ranges = <42000000 0 0 0 0 80000000>;
320 /* This drives busses 0x10 to 0x1f */
323 /* Legacy interrupts (note the weird polarity, the bridge seems
324 * to invert PCIe legacy interrupts).
325 * We are de-swizzling here because the numbers are actually for
326 * port of the root complex virtual P2P bridge. But I want
327 * to avoid putting a node for it in the tree, so the numbers
328 * below are basically de-swizzled numbers.
329 * The real slot is on idsel 0, so the swizzling is 1:1
331 interrupt-map-mask = <0000 0 0 7>;
333 0000 0 0 1 &UIC2 b 4 /* swizzled int A */
334 0000 0 0 2 &UIC2 c 4 /* swizzled int B */
335 0000 0 0 3 &UIC2 d 4 /* swizzled int C */
336 0000 0 0 4 &UIC2 e 4 /* swizzled int D */>;