blob: ece3b305cd060de9c03770382b06867698b72ea6 [file] [log] [blame]
Haiying Wang4b3b42b2009-05-01 15:40:50 -04001/*
2 * MPC8569E MDS Device Tree Source
3 *
4 * Copyright (C) 2009 Freescale Semiconductor Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version.
10 */
11
12/dts-v1/;
13
14/ {
15 model = "MPC8569EMDS";
16 compatible = "fsl,MPC8569EMDS";
17 #address-cells = <1>;
18 #size-cells = <1>;
19
20 aliases {
21 serial0 = &serial0;
22 serial1 = &serial1;
23 ethernet0 = &enet0;
24 ethernet1 = &enet1;
25 ethernet2 = &enet2;
26 ethernet3 = &enet3;
27 pci1 = &pci1;
Anton Vorontsov5e8306f2009-05-02 06:16:56 +040028 rapidio0 = &rio0;
Haiying Wang4b3b42b2009-05-01 15:40:50 -040029 };
30
31 cpus {
32 #address-cells = <1>;
33 #size-cells = <0>;
34
35 PowerPC,8569@0 {
36 device_type = "cpu";
37 reg = <0x0>;
38 d-cache-line-size = <32>; // 32 bytes
39 i-cache-line-size = <32>; // 32 bytes
40 d-cache-size = <0x8000>; // L1, 32K
41 i-cache-size = <0x8000>; // L1, 32K
42 timebase-frequency = <0>;
43 bus-frequency = <0>;
44 clock-frequency = <0>;
45 next-level-cache = <&L2>;
46 };
47 };
48
49 memory {
50 device_type = "memory";
51 };
52
53 localbus@e0005000 {
54 #address-cells = <2>;
55 #size-cells = <1>;
56 compatible = "fsl,mpc8569-elbc", "fsl,elbc", "simple-bus";
Anton Vorontsovea38f572009-05-02 06:16:51 +040057 reg = <0xe0005000 0x1000>;
58 interrupts = <19 2>;
Haiying Wang4b3b42b2009-05-01 15:40:50 -040059 interrupt-parent = <&mpic>;
60
61 ranges = <0x0 0x0 0xfe000000 0x02000000
62 0x1 0x0 0xf8000000 0x00008000
63 0x2 0x0 0xf0000000 0x04000000
Anton Vorontsovea38f572009-05-02 06:16:51 +040064 0x3 0x0 0xfc000000 0x00008000
Haiying Wang4b3b42b2009-05-01 15:40:50 -040065 0x4 0x0 0xf8008000 0x00008000
66 0x5 0x0 0xf8010000 0x00008000>;
67
68 nor@0,0 {
69 #address-cells = <1>;
70 #size-cells = <1>;
71 compatible = "cfi-flash";
72 reg = <0x0 0x0 0x02000000>;
73 bank-width = <2>;
74 device-width = <1>;
75 };
76
77 bcsr@1,0 {
78 compatible = "fsl,mpc8569mds-bcsr";
79 reg = <1 0 0x8000>;
80 };
81
Anton Vorontsovea38f572009-05-02 06:16:51 +040082 nand@3,0 {
83 compatible = "fsl,mpc8569-fcm-nand",
84 "fsl,elbc-fcm-nand";
85 reg = <3 0 0x8000>;
86 };
87
Haiying Wang4b3b42b2009-05-01 15:40:50 -040088 pib@4,0 {
89 compatible = "fsl,mpc8569mds-pib";
90 reg = <4 0 0x8000>;
91 };
92
93 pib@5,0 {
94 compatible = "fsl,mpc8569mds-pib";
95 reg = <5 0 0x8000>;
96 };
97 };
98
99 soc@e0000000 {
100 #address-cells = <1>;
101 #size-cells = <1>;
102 device_type = "soc";
103 compatible = "fsl,mpc8569-immr", "simple-bus";
104 ranges = <0x0 0xe0000000 0x100000>;
Haiying Wang4b3b42b2009-05-01 15:40:50 -0400105 bus-frequency = <0>;
106
107 ecm-law@0 {
108 compatible = "fsl,ecm-law";
109 reg = <0x0 0x1000>;
110 fsl,num-laws = <10>;
111 };
112
113 ecm@1000 {
114 compatible = "fsl,mpc8569-ecm", "fsl,ecm";
115 reg = <0x1000 0x1000>;
116 interrupts = <17 2>;
117 interrupt-parent = <&mpic>;
118 };
119
120 memory-controller@2000 {
121 compatible = "fsl,mpc8569-memory-controller";
122 reg = <0x2000 0x1000>;
123 interrupt-parent = <&mpic>;
124 interrupts = <18 2>;
125 };
126
127 i2c@3000 {
128 #address-cells = <1>;
129 #size-cells = <0>;
130 cell-index = <0>;
131 compatible = "fsl-i2c";
132 reg = <0x3000 0x100>;
133 interrupts = <43 2>;
134 interrupt-parent = <&mpic>;
135 dfsrr;
136
137 rtc@68 {
138 compatible = "dallas,ds1374";
139 reg = <0x68>;
140 };
141 };
142
143 i2c@3100 {
144 #address-cells = <1>;
145 #size-cells = <0>;
146 cell-index = <1>;
147 compatible = "fsl-i2c";
148 reg = <0x3100 0x100>;
149 interrupts = <43 2>;
150 interrupt-parent = <&mpic>;
151 dfsrr;
152 };
153
154 serial0: serial@4500 {
155 cell-index = <0>;
156 device_type = "serial";
157 compatible = "ns16550";
158 reg = <0x4500 0x100>;
159 clock-frequency = <0>;
160 interrupts = <42 2>;
161 interrupt-parent = <&mpic>;
162 };
163
164 serial1: serial@4600 {
165 cell-index = <1>;
166 device_type = "serial";
167 compatible = "ns16550";
168 reg = <0x4600 0x100>;
169 clock-frequency = <0>;
170 interrupts = <42 2>;
171 interrupt-parent = <&mpic>;
172 };
173
174 L2: l2-cache-controller@20000 {
175 compatible = "fsl,mpc8569-l2-cache-controller";
176 reg = <0x20000 0x1000>;
177 cache-line-size = <32>; // 32 bytes
178 cache-size = <0x80000>; // L2, 512K
179 interrupt-parent = <&mpic>;
180 interrupts = <16 2>;
181 };
182
183 dma@21300 {
184 #address-cells = <1>;
185 #size-cells = <1>;
186 compatible = "fsl,mpc8569-dma", "fsl,eloplus-dma";
187 reg = <0x21300 0x4>;
188 ranges = <0x0 0x21100 0x200>;
189 cell-index = <0>;
190 dma-channel@0 {
191 compatible = "fsl,mpc8569-dma-channel",
192 "fsl,eloplus-dma-channel";
193 reg = <0x0 0x80>;
194 cell-index = <0>;
195 interrupt-parent = <&mpic>;
196 interrupts = <20 2>;
197 };
198 dma-channel@80 {
199 compatible = "fsl,mpc8569-dma-channel",
200 "fsl,eloplus-dma-channel";
201 reg = <0x80 0x80>;
202 cell-index = <1>;
203 interrupt-parent = <&mpic>;
204 interrupts = <21 2>;
205 };
206 dma-channel@100 {
207 compatible = "fsl,mpc8569-dma-channel",
208 "fsl,eloplus-dma-channel";
209 reg = <0x100 0x80>;
210 cell-index = <2>;
211 interrupt-parent = <&mpic>;
212 interrupts = <22 2>;
213 };
214 dma-channel@180 {
215 compatible = "fsl,mpc8569-dma-channel",
216 "fsl,eloplus-dma-channel";
217 reg = <0x180 0x80>;
218 cell-index = <3>;
219 interrupt-parent = <&mpic>;
220 interrupts = <23 2>;
221 };
222 };
223
Anton Vorontsov28da4562009-05-02 06:16:53 +0400224 sdhci@2e000 {
225 compatible = "fsl,mpc8569-esdhc", "fsl,esdhc";
226 reg = <0x2e000 0x1000>;
227 interrupts = <72 0x8>;
228 interrupt-parent = <&mpic>;
229 /* Filled in by U-Boot */
230 clock-frequency = <0>;
231 status = "disabled";
232 };
233
Haiying Wang4b3b42b2009-05-01 15:40:50 -0400234 crypto@30000 {
235 compatible = "fsl,sec3.1", "fsl,sec3.0", "fsl,sec2.4",
236 "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0";
237 reg = <0x30000 0x10000>;
238 interrupts = <45 2 58 2>;
239 interrupt-parent = <&mpic>;
240 fsl,num-channels = <4>;
241 fsl,channel-fifo-len = <24>;
Anton Vorontsovcd7e4a22009-05-02 06:16:49 +0400242 fsl,exec-units-mask = <0xbfe>;
Haiying Wang4b3b42b2009-05-01 15:40:50 -0400243 fsl,descriptor-types-mask = <0x3ab0ebf>;
244 };
245
246 mpic: pic@40000 {
247 interrupt-controller;
248 #address-cells = <0>;
249 #interrupt-cells = <2>;
250 reg = <0x40000 0x40000>;
251 compatible = "chrp,open-pic";
252 device_type = "open-pic";
253 };
254
255 global-utilities@e0000 {
256 compatible = "fsl,mpc8569-guts";
257 reg = <0xe0000 0x1000>;
258 fsl,has-rstcr;
259 };
260
261 par_io@e0100 {
262 reg = <0xe0100 0x100>;
263 device_type = "par_io";
264 num-ports = <7>;
265
266 pio1: ucc_pin@01 {
267 pio-map = <
268 /* port pin dir open_drain assignment has_irq */
269 0x2 0x1f 0x1 0x0 0x1 0x0 /* QE_MUX_MDC */
270 0x2 0x1e 0x3 0x0 0x2 0x0 /* QE_MUX_MDIO */
271 0x2 0x0b 0x2 0x0 0x1 0x0 /* CLK12*/
272 0x0 0x0 0x1 0x0 0x3 0x0 /* ENET1_TXD0_SER1_TXD0 */
273 0x0 0x1 0x1 0x0 0x3 0x0 /* ENET1_TXD1_SER1_TXD1 */
274 0x0 0x2 0x1 0x0 0x1 0x0 /* ENET1_TXD2_SER1_TXD2 */
275 0x0 0x3 0x1 0x0 0x2 0x0 /* ENET1_TXD3_SER1_TXD3 */
276 0x0 0x6 0x2 0x0 0x3 0x0 /* ENET1_RXD0_SER1_RXD0 */
277 0x0 0x7 0x2 0x0 0x1 0x0 /* ENET1_RXD1_SER1_RXD1 */
278 0x0 0x8 0x2 0x0 0x2 0x0 /* ENET1_RXD2_SER1_RXD2 */
279 0x0 0x9 0x2 0x0 0x2 0x0 /* ENET1_RXD3_SER1_RXD3 */
280 0x0 0x4 0x1 0x0 0x2 0x0 /* ENET1_TX_EN_SER1_RTS_B */
281 0x0 0xc 0x2 0x0 0x3 0x0 /* ENET1_RX_DV_SER1_CTS_B */
282 0x2 0x8 0x2 0x0 0x1 0x0 /* ENET1_GRXCLK */
283 0x2 0x14 0x1 0x0 0x2 0x0>; /* ENET1_GTXCLK */
284 };
285
286 pio2: ucc_pin@02 {
287 pio-map = <
288 /* port pin dir open_drain assignment has_irq */
289 0x2 0x1f 0x1 0x0 0x1 0x0 /* QE_MUX_MDC */
290 0x2 0x1e 0x3 0x0 0x2 0x0 /* QE_MUX_MDIO */
291 0x2 0x10 0x2 0x0 0x3 0x0 /* CLK17 */
292 0x0 0xe 0x1 0x0 0x2 0x0 /* ENET2_TXD0_SER2_TXD0 */
293 0x0 0xf 0x1 0x0 0x2 0x0 /* ENET2_TXD1_SER2_TXD1 */
294 0x0 0x10 0x1 0x0 0x1 0x0 /* ENET2_TXD2_SER2_TXD2 */
295 0x0 0x11 0x1 0x0 0x1 0x0 /* ENET2_TXD3_SER2_TXD3 */
296 0x0 0x14 0x2 0x0 0x2 0x0 /* ENET2_RXD0_SER2_RXD0 */
297 0x0 0x15 0x2 0x0 0x1 0x0 /* ENET2_RXD1_SER2_RXD1 */
298 0x0 0x16 0x2 0x0 0x1 0x0 /* ENET2_RXD2_SER2_RXD2 */
299 0x0 0x17 0x2 0x0 0x1 0x0 /* ENET2_RXD3_SER2_RXD3 */
300 0x0 0x12 0x1 0x0 0x2 0x0 /* ENET2_TX_EN_SER2_RTS_B */
301 0x0 0x1a 0x2 0x0 0x3 0x0 /* ENET2_RX_DV_SER2_CTS_B */
302 0x2 0x3 0x2 0x0 0x1 0x0 /* ENET2_GRXCLK */
303 0x2 0x2 0x1 0x0 0x2 0x0>; /* ENET2_GTXCLK */
304 };
305
306 pio3: ucc_pin@03 {
307 pio-map = <
308 /* port pin dir open_drain assignment has_irq */
309 0x2 0x1f 0x1 0x0 0x1 0x0 /* QE_MUX_MDC */
310 0x2 0x1e 0x3 0x0 0x2 0x0 /* QE_MUX_MDIO */
311 0x2 0x0b 0x2 0x0 0x1 0x0 /* CLK12*/
312 0x0 0x1d 0x1 0x0 0x2 0x0 /* ENET3_TXD0_SER3_TXD0 */
313 0x0 0x1e 0x1 0x0 0x3 0x0 /* ENET3_TXD1_SER3_TXD1 */
314 0x0 0x1f 0x1 0x0 0x2 0x0 /* ENET3_TXD2_SER3_TXD2 */
315 0x1 0x0 0x1 0x0 0x3 0x0 /* ENET3_TXD3_SER3_TXD3 */
316 0x1 0x3 0x2 0x0 0x3 0x0 /* ENET3_RXD0_SER3_RXD0 */
317 0x1 0x4 0x2 0x0 0x1 0x0 /* ENET3_RXD1_SER3_RXD1 */
318 0x1 0x5 0x2 0x0 0x2 0x0 /* ENET3_RXD2_SER3_RXD2 */
319 0x1 0x6 0x2 0x0 0x3 0x0 /* ENET3_RXD3_SER3_RXD3 */
320 0x1 0x1 0x1 0x0 0x1 0x0 /* ENET3_TX_EN_SER3_RTS_B */
321 0x1 0x9 0x2 0x0 0x3 0x0 /* ENET3_RX_DV_SER3_CTS_B */
322 0x2 0x9 0x2 0x0 0x2 0x0 /* ENET3_GRXCLK */
323 0x2 0x19 0x1 0x0 0x2 0x0>; /* ENET3_GTXCLK */
324 };
325
326 pio4: ucc_pin@04 {
327 pio-map = <
328 /* port pin dir open_drain assignment has_irq */
329 0x2 0x1f 0x1 0x0 0x1 0x0 /* QE_MUX_MDC */
330 0x2 0x1e 0x3 0x0 0x2 0x0 /* QE_MUX_MDIO */
331 0x2 0x10 0x2 0x0 0x3 0x0 /* CLK17 */
332 0x1 0xc 0x1 0x0 0x2 0x0 /* ENET4_TXD0_SER4_TXD0 */
333 0x1 0xd 0x1 0x0 0x2 0x0 /* ENET4_TXD1_SER4_TXD1 */
334 0x1 0xe 0x1 0x0 0x1 0x0 /* ENET4_TXD2_SER4_TXD2 */
335 0x1 0xf 0x1 0x0 0x2 0x0 /* ENET4_TXD3_SER4_TXD3 */
336 0x1 0x12 0x2 0x0 0x2 0x0 /* ENET4_RXD0_SER4_RXD0 */
337 0x1 0x13 0x2 0x0 0x1 0x0 /* ENET4_RXD1_SER4_RXD1 */
338 0x1 0x14 0x2 0x0 0x1 0x0 /* ENET4_RXD2_SER4_RXD2 */
339 0x1 0x15 0x2 0x0 0x2 0x0 /* ENET4_RXD3_SER4_RXD3 */
340 0x1 0x10 0x1 0x0 0x2 0x0 /* ENET4_TX_EN_SER4_RTS_B */
341 0x1 0x18 0x2 0x0 0x3 0x0 /* ENET4_RX_DV_SER4_CTS_B */
342 0x2 0x11 0x2 0x0 0x2 0x0 /* ENET4_GRXCLK */
343 0x2 0x18 0x1 0x0 0x2 0x0>; /* ENET4_GTXCLK */
344 };
345 };
346 };
347
348 qe@e0080000 {
349 #address-cells = <1>;
350 #size-cells = <1>;
351 device_type = "qe";
352 compatible = "fsl,qe";
353 ranges = <0x0 0xe0080000 0x40000>;
354 reg = <0xe0080000 0x480>;
355 brg-frequency = <0>;
356 bus-frequency = <0>;
357 fsl,qe-num-riscs = <4>;
358 fsl,qe-num-snums = <46>;
359
360 qeic: interrupt-controller@80 {
361 interrupt-controller;
362 compatible = "fsl,qe-ic";
363 #address-cells = <0>;
364 #interrupt-cells = <1>;
365 reg = <0x80 0x80>;
366 interrupts = <46 2 46 2>; //high:30 low:30
367 interrupt-parent = <&mpic>;
368 };
369
370 spi@4c0 {
371 cell-index = <0>;
372 compatible = "fsl,spi";
373 reg = <0x4c0 0x40>;
374 interrupts = <2>;
375 interrupt-parent = <&qeic>;
376 mode = "cpu";
377 };
378
379 spi@500 {
380 cell-index = <1>;
381 compatible = "fsl,spi";
382 reg = <0x500 0x40>;
383 interrupts = <1>;
384 interrupt-parent = <&qeic>;
385 mode = "cpu";
386 };
387
388 enet0: ucc@2000 {
389 device_type = "network";
390 compatible = "ucc_geth";
391 cell-index = <1>;
392 reg = <0x2000 0x200>;
393 interrupts = <32>;
394 interrupt-parent = <&qeic>;
395 local-mac-address = [ 00 00 00 00 00 00 ];
396 rx-clock-name = "none";
397 tx-clock-name = "clk12";
398 pio-handle = <&pio1>;
399 phy-handle = <&qe_phy0>;
400 phy-connection-type = "rgmii-id";
401 };
402
403 mdio@2120 {
404 #address-cells = <1>;
405 #size-cells = <0>;
406 reg = <0x2120 0x18>;
407 compatible = "fsl,ucc-mdio";
408
409 qe_phy0: ethernet-phy@07 {
410 interrupt-parent = <&mpic>;
411 interrupts = <1 1>;
412 reg = <0x7>;
413 device_type = "ethernet-phy";
414 };
415 qe_phy1: ethernet-phy@01 {
416 interrupt-parent = <&mpic>;
417 interrupts = <2 1>;
418 reg = <0x1>;
419 device_type = "ethernet-phy";
420 };
421 qe_phy2: ethernet-phy@02 {
422 interrupt-parent = <&mpic>;
423 interrupts = <3 1>;
424 reg = <0x2>;
425 device_type = "ethernet-phy";
426 };
427 qe_phy3: ethernet-phy@03 {
428 interrupt-parent = <&mpic>;
429 interrupts = <4 1>;
430 reg = <0x3>;
431 device_type = "ethernet-phy";
432 };
433 };
434
435 enet2: ucc@2200 {
436 device_type = "network";
437 compatible = "ucc_geth";
438 cell-index = <3>;
439 reg = <0x2200 0x200>;
440 interrupts = <34>;
441 interrupt-parent = <&qeic>;
442 local-mac-address = [ 00 00 00 00 00 00 ];
443 rx-clock-name = "none";
444 tx-clock-name = "clk12";
445 pio-handle = <&pio3>;
446 phy-handle = <&qe_phy2>;
447 phy-connection-type = "rgmii-id";
448 };
449
450 enet1: ucc@3000 {
451 device_type = "network";
452 compatible = "ucc_geth";
453 cell-index = <2>;
454 reg = <0x3000 0x200>;
455 interrupts = <33>;
456 interrupt-parent = <&qeic>;
457 local-mac-address = [ 00 00 00 00 00 00 ];
458 rx-clock-name = "none";
459 tx-clock-name = "clk17";
460 pio-handle = <&pio2>;
461 phy-handle = <&qe_phy1>;
462 phy-connection-type = "rgmii-id";
463 };
464
465 enet3: ucc@3200 {
466 device_type = "network";
467 compatible = "ucc_geth";
468 cell-index = <4>;
469 reg = <0x3200 0x200>;
470 interrupts = <35>;
471 interrupt-parent = <&qeic>;
472 local-mac-address = [ 00 00 00 00 00 00 ];
473 rx-clock-name = "none";
474 tx-clock-name = "clk17";
475 pio-handle = <&pio4>;
476 phy-handle = <&qe_phy3>;
477 phy-connection-type = "rgmii-id";
478 };
479
480 muram@10000 {
481 #address-cells = <1>;
482 #size-cells = <1>;
483 compatible = "fsl,qe-muram", "fsl,cpm-muram";
484 ranges = <0x0 0x10000 0x20000>;
485
486 data-only@0 {
487 compatible = "fsl,qe-muram-data",
488 "fsl,cpm-muram-data";
489 reg = <0x0 0x20000>;
490 };
491 };
492
493 };
494
495 /* PCI Express */
496 pci1: pcie@e000a000 {
497 compatible = "fsl,mpc8548-pcie";
498 device_type = "pci";
499 #interrupt-cells = <1>;
500 #size-cells = <2>;
501 #address-cells = <3>;
502 reg = <0xe000a000 0x1000>;
503 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
504 interrupt-map = <
505 /* IDSEL 0x0 (PEX) */
506 00000 0x0 0x0 0x1 &mpic 0x0 0x1
507 00000 0x0 0x0 0x2 &mpic 0x1 0x1
508 00000 0x0 0x0 0x3 &mpic 0x2 0x1
509 00000 0x0 0x0 0x4 &mpic 0x3 0x1>;
510
511 interrupt-parent = <&mpic>;
512 interrupts = <26 2>;
513 bus-range = <0 255>;
514 ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
515 0x1000000 0x0 0x00000000 0xe2800000 0x0 0x00800000>;
516 clock-frequency = <33333333>;
517 pcie@0 {
518 reg = <0x0 0x0 0x0 0x0 0x0>;
519 #size-cells = <2>;
520 #address-cells = <3>;
521 device_type = "pci";
522 ranges = <0x2000000 0x0 0xa0000000
523 0x2000000 0x0 0xa0000000
524 0x0 0x10000000
525
526 0x1000000 0x0 0x0
527 0x1000000 0x0 0x0
528 0x0 0x800000>;
529 };
530 };
Anton Vorontsov5e8306f2009-05-02 06:16:56 +0400531
532 rio0: rapidio@e00c00000 {
533 #address-cells = <2>;
534 #size-cells = <2>;
535 compatible = "fsl,mpc8569-rapidio", "fsl,rapidio-delta";
536 reg = <0xe00c0000 0x20000>;
537 ranges = <0x0 0x0 0xc0000000 0x0 0x20000000>;
538 interrupts = <48 2 /* error */
539 49 2 /* bell_outb */
540 50 2 /* bell_inb */
541 53 2 /* msg1_tx */
542 54 2 /* msg1_rx */
543 55 2 /* msg2_tx */
544 56 2 /* msg2_rx */>;
545 interrupt-parent = <&mpic>;
546 };
Haiying Wang4b3b42b2009-05-01 15:40:50 -0400547};