2 * Device Tree Source for AMCC Makalu (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,makalu";
15 compatible = "amcc,makalu";
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 compatible = "ibm,iic-405ex", "ibm,iic";
187 interrupt-parent = <&UIC0>;
192 compatible = "ibm,iic-405ex", "ibm,iic";
194 interrupt-parent = <&UIC0>;
199 RGMII0: emac-rgmii@ef600b00 {
200 compatible = "ibm,rgmii-405ex", "ibm,rgmii";
201 reg = <ef600b00 104>;
205 EMAC0: ethernet@ef600900 {
206 linux,network-index = <0>;
207 device_type = "network";
208 compatible = "ibm,emac-405ex", "ibm,emac4";
209 interrupt-parent = <&EMAC0>;
211 #interrupt-cells = <1>;
212 #address-cells = <0>;
214 interrupt-map = </*Status*/ 0 &UIC0 18 4
215 /*Wake*/ 1 &UIC1 1d 4>;
217 local-mac-address = [000000000000]; /* Filled in by U-Boot */
218 mal-device = <&MAL0>;
219 mal-tx-channel = <0>;
220 mal-rx-channel = <0>;
222 max-frame-size = <5dc>;
223 rx-fifo-size = <1000>;
224 tx-fifo-size = <800>;
226 phy-map = <0000003f>; /* Start at 6 */
227 rgmii-device = <&RGMII0>;
229 has-inverted-stacr-oc;
230 has-new-stacr-staopc;
233 EMAC1: ethernet@ef600a00 {
234 linux,network-index = <1>;
235 device_type = "network";
236 compatible = "ibm,emac-405ex", "ibm,emac4";
237 interrupt-parent = <&EMAC1>;
239 #interrupt-cells = <1>;
240 #address-cells = <0>;
242 interrupt-map = </*Status*/ 0 &UIC0 19 4
243 /*Wake*/ 1 &UIC1 1f 4>;
245 local-mac-address = [000000000000]; /* Filled in by U-Boot */
246 mal-device = <&MAL0>;
247 mal-tx-channel = <1>;
248 mal-rx-channel = <1>;
250 max-frame-size = <5dc>;
251 rx-fifo-size = <1000>;
252 tx-fifo-size = <800>;
254 phy-map = <00000000>;
255 rgmii-device = <&RGMII0>;
257 has-inverted-stacr-oc;
258 has-new-stacr-staopc;
262 PCIE0: pciex@0a0000000 {
264 #interrupt-cells = <1>;
266 #address-cells = <3>;
267 compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex";
269 port = <0>; /* port number */
270 reg = <a0000000 20000000 /* Config space access */
271 ef000000 00001000>; /* Registers */
275 /* Outbound ranges, one memory and one IO,
276 * later cannot be changed
278 ranges = <02000000 0 80000000 90000000 0 08000000
279 01000000 0 00000000 e0000000 0 00010000>;
281 /* Inbound 2GB range starting at 0 */
282 dma-ranges = <42000000 0 0 0 0 80000000>;
284 /* This drives busses 0x00 to 0x3f */
287 /* Legacy interrupts (note the weird polarity, the bridge seems
288 * to invert PCIe legacy interrupts).
289 * We are de-swizzling here because the numbers are actually for
290 * port of the root complex virtual P2P bridge. But I want
291 * to avoid putting a node for it in the tree, so the numbers
292 * below are basically de-swizzled numbers.
293 * The real slot is on idsel 0, so the swizzling is 1:1
295 interrupt-map-mask = <0000 0 0 7>;
297 0000 0 0 1 &UIC2 0 4 /* swizzled int A */
298 0000 0 0 2 &UIC2 1 4 /* swizzled int B */
299 0000 0 0 3 &UIC2 2 4 /* swizzled int C */
300 0000 0 0 4 &UIC2 3 4 /* swizzled int D */>;
303 PCIE1: pciex@0c0000000 {
305 #interrupt-cells = <1>;
307 #address-cells = <3>;
308 compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex";
310 port = <1>; /* port number */
311 reg = <c0000000 20000000 /* Config space access */
312 ef001000 00001000>; /* Registers */
316 /* Outbound ranges, one memory and one IO,
317 * later cannot be changed
319 ranges = <02000000 0 80000000 98000000 0 08000000
320 01000000 0 00000000 e0010000 0 00010000>;
322 /* Inbound 2GB range starting at 0 */
323 dma-ranges = <42000000 0 0 0 0 80000000>;
325 /* This drives busses 0x40 to 0x7f */
328 /* Legacy interrupts (note the weird polarity, the bridge seems
329 * to invert PCIe legacy interrupts).
330 * We are de-swizzling here because the numbers are actually for
331 * port of the root complex virtual P2P bridge. But I want
332 * to avoid putting a node for it in the tree, so the numbers
333 * below are basically de-swizzled numbers.
334 * The real slot is on idsel 0, so the swizzling is 1:1
336 interrupt-map-mask = <0000 0 0 7>;
338 0000 0 0 1 &UIC2 b 4 /* swizzled int A */
339 0000 0 0 2 &UIC2 c 4 /* swizzled int B */
340 0000 0 0 3 &UIC2 d 4 /* swizzled int C */
341 0000 0 0 4 &UIC2 e 4 /* swizzled int D */>;