2 * Device Tree Source for Mosaix Technologies, Inc. ICON board
4 * Copyright 2010 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 = "mosaixtech,icon";
17 compatible = "mosaixtech,icon";
18 dcr-parent = <&{/cpus/cpu@0}>;
33 model = "PowerPC,440SPe";
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 = <32768>;
40 d-cache-size = <32768>;
42 dcr-access-method = "native";
43 reset-type = <2>; /* Use chip-reset */
48 device_type = "memory";
49 reg = <0x0 0x00000000 0x0 0x00000000>; /* Filled in by U-Boot */
52 UIC0: interrupt-controller0 {
53 compatible = "ibm,uic-440spe","ibm,uic";
56 dcr-reg = <0x0c0 0x009>;
59 #interrupt-cells = <2>;
62 UIC1: interrupt-controller1 {
63 compatible = "ibm,uic-440spe","ibm,uic";
66 dcr-reg = <0x0d0 0x009>;
69 #interrupt-cells = <2>;
70 interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */
71 interrupt-parent = <&UIC0>;
74 UIC2: interrupt-controller2 {
75 compatible = "ibm,uic-440spe","ibm,uic";
78 dcr-reg = <0x0e0 0x009>;
81 #interrupt-cells = <2>;
82 interrupts = <0xa 0x4 0xb 0x4>; /* cascade */
83 interrupt-parent = <&UIC0>;
86 UIC3: interrupt-controller3 {
87 compatible = "ibm,uic-440spe","ibm,uic";
90 dcr-reg = <0x0f0 0x009>;
93 #interrupt-cells = <2>;
94 interrupts = <0x10 0x4 0x11 0x4>; /* cascade */
95 interrupt-parent = <&UIC0>;
99 compatible = "ibm,sdr-440spe";
100 dcr-reg = <0x00e 0x002>;
104 compatible = "ibm,cpr-440spe";
105 dcr-reg = <0x00c 0x002>;
109 compatible = "ibm,mq-440spe";
110 dcr-reg = <0x040 0x020>;
114 compatible = "ibm,plb-440spe", "ibm,plb-440gp", "ibm,plb4";
115 #address-cells = <2>;
117 /* addr-child addr-parent size */
118 ranges = <0x4 0x00100000 0x4 0x00100000 0x00001000
119 0x4 0x00200000 0x4 0x00200000 0x00000400
120 0x4 0xe0000000 0x4 0xe0000000 0x20000000
121 0xc 0x00000000 0xc 0x00000000 0x20000000
122 0xd 0x00000000 0xd 0x00000000 0x80000000
123 0xd 0x80000000 0xd 0x80000000 0x80000000
124 0xe 0x00000000 0xe 0x00000000 0x80000000
125 0xe 0x80000000 0xe 0x80000000 0x80000000
126 0xf 0x00000000 0xf 0x00000000 0x80000000
127 0xf 0x80000000 0xf 0x80000000 0x80000000>;
128 clock-frequency = <0>; /* Filled in by U-Boot */
131 compatible = "ibm,sdram-440spe", "ibm,sdram-405gp";
132 dcr-reg = <0x010 0x002>;
136 compatible = "ibm,mcmal-440spe", "ibm,mcmal2";
137 dcr-reg = <0x180 0x062>;
140 interrupt-parent = <&MAL0>;
141 interrupts = <0x0 0x1 0x2 0x3 0x4>;
142 #interrupt-cells = <1>;
143 #address-cells = <0>;
145 interrupt-map = </*TXEOB*/ 0x0 &UIC1 0x6 0x4
146 /*RXEOB*/ 0x1 &UIC1 0x7 0x4
147 /*SERR*/ 0x2 &UIC1 0x1 0x4
148 /*TXDE*/ 0x3 &UIC1 0x2 0x4
149 /*RXDE*/ 0x4 &UIC1 0x3 0x4>;
153 compatible = "ibm,opb-440spe", "ibm,opb-440gp", "ibm,opb";
154 #address-cells = <1>;
156 ranges = <0xe0000000 0x00000004 0xe0000000 0x20000000>;
157 clock-frequency = <0>; /* Filled in by U-Boot */
160 compatible = "ibm,ebc-440spe", "ibm,ebc-440gp", "ibm,ebc";
161 dcr-reg = <0x012 0x002>;
162 #address-cells = <2>;
164 clock-frequency = <0>; /* Filled in by U-Boot */
165 /* ranges property is supplied by U-Boot */
166 interrupts = <0x5 0x1>;
167 interrupt-parent = <&UIC1>;
170 compatible = "cfi-flash";
172 reg = <0x00000000 0x00000000 0x01000000>;
173 #address-cells = <1>;
177 reg = <0x00000000 0x001e0000>;
181 reg = <0x001e0000 0x00020000>;
185 reg = <0x00200000 0x00200000>;
189 reg = <0x00400000 0x00b60000>;
193 reg = <0x00f60000 0x00040000>;
197 reg = <0x00fa0000 0x00060000>;
202 UART0: serial@f0000200 {
203 device_type = "serial";
204 compatible = "ns16550";
205 reg = <0xf0000200 0x00000008>;
206 virtual-reg = <0xa0000200>;
207 clock-frequency = <0>; /* Filled in by U-Boot */
208 current-speed = <115200>;
209 interrupt-parent = <&UIC0>;
210 interrupts = <0x0 0x4>;
213 UART1: serial@f0000300 {
214 device_type = "serial";
215 compatible = "ns16550";
216 reg = <0xf0000300 0x00000008>;
217 virtual-reg = <0xa0000300>;
218 clock-frequency = <0>;
220 interrupt-parent = <&UIC0>;
221 interrupts = <0x1 0x4>;
225 UART2: serial@f0000600 {
226 device_type = "serial";
227 compatible = "ns16550";
228 reg = <0xf0000600 0x00000008>;
229 virtual-reg = <0xa0000600>;
230 clock-frequency = <0>;
232 interrupt-parent = <&UIC1>;
233 interrupts = <0x5 0x4>;
237 compatible = "ibm,iic-440spe", "ibm,iic-440gp", "ibm,iic";
238 reg = <0xf0000400 0x00000014>;
239 interrupt-parent = <&UIC0>;
240 interrupts = <0x2 0x4>;
244 compatible = "ibm,iic-440spe", "ibm,iic-440gp", "ibm,iic";
245 reg = <0xf0000500 0x00000014>;
246 interrupt-parent = <&UIC0>;
247 interrupts = <0x3 0x4>;
248 #address-cells = <1>;
252 compatible = "st,m41t00";
257 EMAC0: ethernet@f0000800 {
258 linux,network-index = <0x0>;
259 device_type = "network";
260 compatible = "ibm,emac-440spe", "ibm,emac4";
261 interrupt-parent = <&UIC1>;
262 interrupts = <0x1c 0x4 0x1d 0x4>;
263 reg = <0xf0000800 0x00000074>;
264 local-mac-address = [000000000000];
265 mal-device = <&MAL0>;
266 mal-tx-channel = <0>;
267 mal-rx-channel = <0>;
269 max-frame-size = <9000>;
270 rx-fifo-size = <4096>;
271 tx-fifo-size = <2048>;
273 phy-map = <0x00000000>;
274 has-inverted-stacr-oc;
275 has-new-stacr-staopc;
279 PCIX0: pci@c0ec00000 {
281 #interrupt-cells = <1>;
283 #address-cells = <3>;
284 compatible = "ibm,plb-pcix-440spe", "ibm,plb-pcix";
286 large-inbound-windows;
288 reg = <0x0000000c 0x0ec00000 0x00000008 /* Config space access */
289 0x00000000 0x00000000 0x00000000 /* no IACK cycles */
290 0x0000000c 0x0ed00000 0x00000004 /* Special cycles */
291 0x0000000c 0x0ec80000 0x00000100 /* Internal registers */
292 0x0000000c 0x0ec80100 0x000000fc>; /* Internal messaging registers */
294 /* Outbound ranges, one memory and one IO,
295 * later cannot be changed
297 ranges = <0x02000000 0x00000000 0x80000000 0x0000000d 0x80000000 0x00000000 0x80000000
298 0x01000000 0x00000000 0x00000000 0x0000000c 0x08000000 0x00000000 0x00010000>;
300 /* Inbound 4GB range starting at 0 */
301 dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x1 0x00000000>;
303 /* This drives busses 0 to 0xf */
304 bus-range = <0x0 0xf>;
306 /* PCI-X interrupt (SM502) is routed to extIRQ10 (UIC1, 19) */
307 interrupt-map-mask = <0x0 0x0 0x0 0x0>;
308 interrupt-map = <0x0 0x0 0x0 0x0 &UIC1 19 0x8>;
311 PCIE0: pcie@d00000000 {
313 #interrupt-cells = <1>;
315 #address-cells = <3>;
316 compatible = "ibm,plb-pciex-440spe", "ibm,plb-pciex";
318 port = <0x0>; /* port number */
319 reg = <0x0000000d 0x00000000 0x20000000 /* Config space access */
320 0x0000000c 0x10000000 0x00001000>; /* Registers */
321 dcr-reg = <0x100 0x020>;
324 /* Outbound ranges, one memory and one IO,
325 * later cannot be changed
327 ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x00000000 0x00000000 0x80000000
328 0x01000000 0x00000000 0x00000000 0x0000000f 0x80000000 0x00000000 0x00010000>;
330 /* Inbound 4GB range starting at 0 */
331 dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x1 0x00000000>;
333 /* This drives busses 0x10 to 0x1f */
334 bus-range = <0x10 0x1f>;
336 /* Legacy interrupts (note the weird polarity, the bridge seems
337 * to invert PCIe legacy interrupts).
338 * We are de-swizzling here because the numbers are actually for
339 * port of the root complex virtual P2P bridge. But I want
340 * to avoid putting a node for it in the tree, so the numbers
341 * below are basically de-swizzled numbers.
342 * The real slot is on idsel 0, so the swizzling is 1:1
344 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
346 0x0 0x0 0x0 0x1 &UIC3 0x0 0x4 /* swizzled int A */
347 0x0 0x0 0x0 0x2 &UIC3 0x1 0x4 /* swizzled int B */
348 0x0 0x0 0x0 0x3 &UIC3 0x2 0x4 /* swizzled int C */
349 0x0 0x0 0x0 0x4 &UIC3 0x3 0x4 /* swizzled int D */>;
352 PCIE1: pcie@d20000000 {
354 #interrupt-cells = <1>;
356 #address-cells = <3>;
357 compatible = "ibm,plb-pciex-440spe", "ibm,plb-pciex";
359 port = <0x1>; /* port number */
360 reg = <0x0000000d 0x20000000 0x20000000 /* Config space access */
361 0x0000000c 0x10001000 0x00001000>; /* Registers */
362 dcr-reg = <0x120 0x020>;
365 /* Outbound ranges, one memory and one IO,
366 * later cannot be changed
368 ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x80000000 0x00000000 0x80000000
369 0x01000000 0x00000000 0x00000000 0x0000000f 0x80010000 0x00000000 0x00010000>;
371 /* Inbound 4GB range starting at 0 */
372 dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x1 0x00000000>;
374 /* This drives busses 0x20 to 0x2f */
375 bus-range = <0x20 0x2f>;
377 /* Legacy interrupts (note the weird polarity, the bridge seems
378 * to invert PCIe legacy interrupts).
379 * We are de-swizzling here because the numbers are actually for
380 * port of the root complex virtual P2P bridge. But I want
381 * to avoid putting a node for it in the tree, so the numbers
382 * below are basically de-swizzled numbers.
383 * The real slot is on idsel 0, so the swizzling is 1:1
385 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
387 0x0 0x0 0x0 0x1 &UIC3 0x4 0x4 /* swizzled int A */
388 0x0 0x0 0x0 0x2 &UIC3 0x5 0x4 /* swizzled int B */
389 0x0 0x0 0x0 0x3 &UIC3 0x6 0x4 /* swizzled int C */
390 0x0 0x0 0x0 0x4 &UIC3 0x7 0x4 /* swizzled int D */>;
394 compatible = "ibm,i2o-440spe";
395 reg = <0x00000004 0x00100000 0x100>;
396 dcr-reg = <0x060 0x020>;
399 DMA0: dma0@400100100 {
400 compatible = "ibm,dma-440spe";
402 reg = <0x00000004 0x00100100 0x100>;
403 dcr-reg = <0x060 0x020>;
404 interrupt-parent = <&DMA0>;
406 #interrupt-cells = <1>;
407 #address-cells = <0>;
414 DMA1: dma1@400100200 {
415 compatible = "ibm,dma-440spe";
417 reg = <0x00000004 0x00100200 0x100>;
418 dcr-reg = <0x060 0x020>;
419 interrupt-parent = <&DMA1>;
421 #interrupt-cells = <1>;
422 #address-cells = <0>;
429 xor-accel@400200000 {
430 compatible = "amcc,xor-accelerator";
431 reg = <0x00000004 0x00200000 0x400>;
432 interrupt-parent = <&UIC1>;
433 interrupts = <0x1f 4>;
438 stdout-path = "/plb/opb/serial@f0000200";