blob: b064a2ff2306914aa7e419f67f16dd2663f961c8 [file] [log] [blame]
Andy Flemingc2882bb2007-02-09 17:28:31 -06001/*
2 * MPC8568E MDS Device Tree Source
3 *
4 * Copyright 2007 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
13/*
14/memreserve/ 00000000 1000000;
15*/
16
17/ {
18 model = "MPC8568EMDS";
Kumar Gala52094872007-02-17 16:04:23 -060019 compatible = "MPC8568EMDS", "MPC85xxMDS";
Andy Flemingc2882bb2007-02-09 17:28:31 -060020 #address-cells = <1>;
21 #size-cells = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060022
23 cpus {
Andy Flemingc2882bb2007-02-09 17:28:31 -060024 #address-cells = <1>;
25 #size-cells = <0>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060026
27 PowerPC,8568@0 {
28 device_type = "cpu";
29 reg = <0>;
30 d-cache-line-size = <20>; // 32 bytes
31 i-cache-line-size = <20>; // 32 bytes
32 d-cache-size = <8000>; // L1, 32K
33 i-cache-size = <8000>; // L1, 32K
34 timebase-frequency = <0>;
35 bus-frequency = <0>;
36 clock-frequency = <0>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060037 };
38 };
39
40 memory {
41 device_type = "memory";
Andy Flemingc2882bb2007-02-09 17:28:31 -060042 reg = <00000000 10000000>;
43 };
44
45 bcsr@f8000000 {
46 device_type = "board-control";
47 reg = <f8000000 8000>;
48 };
49
50 soc8568@e0000000 {
51 #address-cells = <1>;
52 #size-cells = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060053 device_type = "soc";
54 ranges = <0 e0000000 00100000>;
Kumar Gala86a04d92007-10-02 09:51:32 -050055 reg = <e0000000 00001000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060056 bus-frequency = <0>;
57
Kumar Gala4da421d2007-05-15 13:20:05 -050058 memory-controller@2000 {
59 compatible = "fsl,8568-memory-controller";
60 reg = <2000 1000>;
61 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -050062 interrupts = <12 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -050063 };
64
65 l2-cache-controller@20000 {
66 compatible = "fsl,8568-l2-cache-controller";
67 reg = <20000 1000>;
68 cache-line-size = <20>; // 32 bytes
69 cache-size = <80000>; // L2, 512K
70 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -050071 interrupts = <10 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -050072 };
73
Andy Flemingc2882bb2007-02-09 17:28:31 -060074 i2c@3000 {
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +040075 #address-cells = <1>;
76 #size-cells = <0>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060077 device_type = "i2c";
78 compatible = "fsl-i2c";
79 reg = <3000 100>;
Kumar Galab533f8a2007-07-03 02:35:35 -050080 interrupts = <2b 2>;
Kumar Gala52094872007-02-17 16:04:23 -060081 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060082 dfsrr;
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +040083
84 rtc@68 {
85 compatible = "dallas,ds1374";
86 reg = <68>;
87 };
Andy Flemingc2882bb2007-02-09 17:28:31 -060088 };
89
90 i2c@3100 {
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +040091 #address-cells = <1>;
92 #size-cells = <0>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060093 device_type = "i2c";
94 compatible = "fsl-i2c";
95 reg = <3100 100>;
Kumar Galab533f8a2007-07-03 02:35:35 -050096 interrupts = <2b 2>;
Kumar Gala52094872007-02-17 16:04:23 -060097 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060098 dfsrr;
99 };
100
101 mdio@24520 {
102 #address-cells = <1>;
103 #size-cells = <0>;
104 device_type = "mdio";
105 compatible = "gianfar";
106 reg = <24520 20>;
Kumar Gala52094872007-02-17 16:04:23 -0600107 phy0: ethernet-phy@0 {
108 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500109 interrupts = <1 1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600110 reg = <0>;
111 device_type = "ethernet-phy";
112 };
Kumar Gala52094872007-02-17 16:04:23 -0600113 phy1: ethernet-phy@1 {
114 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500115 interrupts = <2 1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600116 reg = <1>;
117 device_type = "ethernet-phy";
118 };
Kumar Gala52094872007-02-17 16:04:23 -0600119 phy2: ethernet-phy@2 {
120 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500121 interrupts = <1 1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600122 reg = <2>;
123 device_type = "ethernet-phy";
124 };
Kumar Gala52094872007-02-17 16:04:23 -0600125 phy3: ethernet-phy@3 {
126 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500127 interrupts = <2 1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600128 reg = <3>;
129 device_type = "ethernet-phy";
130 };
131 };
132
133 ethernet@24000 {
134 #address-cells = <1>;
135 #size-cells = <0>;
136 device_type = "network";
137 model = "eTSEC";
138 compatible = "gianfar";
139 reg = <24000 1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500140 /*
141 * mac-address is deprecated and will be removed
142 * in 2.6.25. Only recent versions of
143 * U-Boot support local-mac-address, however.
144 */
Andy Flemingc2882bb2007-02-09 17:28:31 -0600145 mac-address = [ 00 00 00 00 00 00 ];
Timur Tabieae98262007-06-22 14:33:15 -0500146 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Galab533f8a2007-07-03 02:35:35 -0500147 interrupts = <1d 2 1e 2 22 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600148 interrupt-parent = <&mpic>;
149 phy-handle = <&phy2>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600150 };
151
152 ethernet@25000 {
153 #address-cells = <1>;
154 #size-cells = <0>;
155 device_type = "network";
156 model = "eTSEC";
157 compatible = "gianfar";
158 reg = <25000 1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500159 /*
160 * mac-address is deprecated and will be removed
161 * in 2.6.25. Only recent versions of
162 * U-Boot support local-mac-address, however.
163 */
164 mac-address = [ 00 00 00 00 00 00 ];
165 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Galab533f8a2007-07-03 02:35:35 -0500166 interrupts = <23 2 24 2 28 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600167 interrupt-parent = <&mpic>;
168 phy-handle = <&phy3>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600169 };
170
171 serial@4500 {
172 device_type = "serial";
173 compatible = "ns16550";
174 reg = <4500 100>;
175 clock-frequency = <0>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500176 interrupts = <2a 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600177 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600178 };
179
Roy Zang10ce8c62007-07-13 17:35:33 +0800180 global-utilities@e0000 { //global utilities block
181 compatible = "fsl,mpc8548-guts";
182 reg = <e0000 1000>;
183 fsl,has-rstcr;
184 };
185
Andy Flemingc2882bb2007-02-09 17:28:31 -0600186 serial@4600 {
187 device_type = "serial";
188 compatible = "ns16550";
189 reg = <4600 100>;
190 clock-frequency = <0>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500191 interrupts = <2a 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600192 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600193 };
194
195 crypto@30000 {
196 device_type = "crypto";
197 model = "SEC2";
198 compatible = "talitos";
199 reg = <30000 f000>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500200 interrupts = <2d 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600201 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600202 num-channels = <4>;
203 channel-fifo-len = <18>;
204 exec-units-mask = <000000fe>;
205 descriptor-types-mask = <012b0ebf>;
206 };
207
Kumar Gala52094872007-02-17 16:04:23 -0600208 mpic: pic@40000 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600209 clock-frequency = <0>;
210 interrupt-controller;
211 #address-cells = <0>;
212 #interrupt-cells = <2>;
213 reg = <40000 40000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600214 compatible = "chrp,open-pic";
215 device_type = "open-pic";
216 big-endian;
217 };
Kumar Gala86a04d92007-10-02 09:51:32 -0500218
Andy Flemingc2882bb2007-02-09 17:28:31 -0600219 par_io@e0100 {
220 reg = <e0100 100>;
221 device_type = "par_io";
222 num-ports = <7>;
223
Kumar Gala52094872007-02-17 16:04:23 -0600224 pio1: ucc_pin@01 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600225 pio-map = <
226 /* port pin dir open_drain assignment has_irq */
227 4 0a 1 0 2 0 /* TxD0 */
228 4 09 1 0 2 0 /* TxD1 */
229 4 08 1 0 2 0 /* TxD2 */
230 4 07 1 0 2 0 /* TxD3 */
231 4 17 1 0 2 0 /* TxD4 */
232 4 16 1 0 2 0 /* TxD5 */
233 4 15 1 0 2 0 /* TxD6 */
234 4 14 1 0 2 0 /* TxD7 */
235 4 0f 2 0 2 0 /* RxD0 */
236 4 0e 2 0 2 0 /* RxD1 */
237 4 0d 2 0 2 0 /* RxD2 */
238 4 0c 2 0 2 0 /* RxD3 */
239 4 1d 2 0 2 0 /* RxD4 */
240 4 1c 2 0 2 0 /* RxD5 */
241 4 1b 2 0 2 0 /* RxD6 */
242 4 1a 2 0 2 0 /* RxD7 */
243 4 0b 1 0 2 0 /* TX_EN */
244 4 18 1 0 2 0 /* TX_ER */
245 4 0f 2 0 2 0 /* RX_DV */
246 4 1e 2 0 2 0 /* RX_ER */
247 4 11 2 0 2 0 /* RX_CLK */
248 4 13 1 0 2 0 /* GTX_CLK */
249 1 1f 2 0 3 0>; /* GTX125 */
250 };
Kumar Gala86a04d92007-10-02 09:51:32 -0500251
Kumar Gala52094872007-02-17 16:04:23 -0600252 pio2: ucc_pin@02 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600253 pio-map = <
254 /* port pin dir open_drain assignment has_irq */
255 5 0a 1 0 2 0 /* TxD0 */
256 5 09 1 0 2 0 /* TxD1 */
257 5 08 1 0 2 0 /* TxD2 */
258 5 07 1 0 2 0 /* TxD3 */
259 5 17 1 0 2 0 /* TxD4 */
260 5 16 1 0 2 0 /* TxD5 */
261 5 15 1 0 2 0 /* TxD6 */
262 5 14 1 0 2 0 /* TxD7 */
263 5 0f 2 0 2 0 /* RxD0 */
264 5 0e 2 0 2 0 /* RxD1 */
265 5 0d 2 0 2 0 /* RxD2 */
266 5 0c 2 0 2 0 /* RxD3 */
267 5 1d 2 0 2 0 /* RxD4 */
268 5 1c 2 0 2 0 /* RxD5 */
269 5 1b 2 0 2 0 /* RxD6 */
270 5 1a 2 0 2 0 /* RxD7 */
271 5 0b 1 0 2 0 /* TX_EN */
272 5 18 1 0 2 0 /* TX_ER */
273 5 10 2 0 2 0 /* RX_DV */
274 5 1e 2 0 2 0 /* RX_ER */
275 5 11 2 0 2 0 /* RX_CLK */
276 5 13 1 0 2 0 /* GTX_CLK */
277 1 1f 2 0 3 0 /* GTX125 */
278 4 06 3 0 2 0 /* MDIO */
279 4 05 1 0 2 0>; /* MDC */
280 };
281 };
282 };
283
284 qe@e0080000 {
285 #address-cells = <1>;
286 #size-cells = <1>;
287 device_type = "qe";
288 model = "QE";
289 ranges = <0 e0080000 00040000>;
290 reg = <e0080000 480>;
291 brg-frequency = <0>;
292 bus-frequency = <179A7B00>;
293
294 muram@10000 {
295 device_type = "muram";
296 ranges = <0 00010000 0000c000>;
297
298 data-only@0{
299 reg = <0 c000>;
300 };
301 };
302
303 spi@4c0 {
304 device_type = "spi";
305 compatible = "fsl_spi";
306 reg = <4c0 40>;
307 interrupts = <2>;
Kumar Gala52094872007-02-17 16:04:23 -0600308 interrupt-parent = <&qeic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600309 mode = "cpu";
310 };
311
312 spi@500 {
313 device_type = "spi";
314 compatible = "fsl_spi";
315 reg = <500 40>;
316 interrupts = <1>;
Kumar Gala52094872007-02-17 16:04:23 -0600317 interrupt-parent = <&qeic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600318 mode = "cpu";
319 };
320
321 ucc@2000 {
322 device_type = "network";
323 compatible = "ucc_geth";
324 model = "UCC";
325 device-id = <1>;
326 reg = <2000 200>;
327 interrupts = <20>;
Kumar Gala52094872007-02-17 16:04:23 -0600328 interrupt-parent = <&qeic>;
Timur Tabieae98262007-06-22 14:33:15 -0500329 /*
330 * mac-address is deprecated and will be removed
331 * in 2.6.25. Only recent versions of
332 * U-Boot support local-mac-address, however.
333 */
334 mac-address = [ 00 00 00 00 00 00 ];
335 local-mac-address = [ 00 00 00 00 00 00 ];
Andy Flemingc2882bb2007-02-09 17:28:31 -0600336 rx-clock = <0>;
337 tx-clock = <19>;
Kumar Gala52094872007-02-17 16:04:23 -0600338 phy-handle = <&qe_phy0>;
Kim Phillips0fd8c472007-04-24 07:26:14 +1000339 phy-connection-type = "gmii";
Kumar Gala52094872007-02-17 16:04:23 -0600340 pio-handle = <&pio1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600341 };
342
343 ucc@3000 {
344 device_type = "network";
345 compatible = "ucc_geth";
346 model = "UCC";
347 device-id = <2>;
348 reg = <3000 200>;
349 interrupts = <21>;
Kumar Gala52094872007-02-17 16:04:23 -0600350 interrupt-parent = <&qeic>;
Timur Tabieae98262007-06-22 14:33:15 -0500351 /*
352 * mac-address is deprecated and will be removed
353 * in 2.6.25. Only recent versions of
354 * U-Boot support local-mac-address, however.
355 */
356 mac-address = [ 00 00 00 00 00 00 ];
357 local-mac-address = [ 00 00 00 00 00 00 ];
Andy Flemingc2882bb2007-02-09 17:28:31 -0600358 rx-clock = <0>;
359 tx-clock = <14>;
Kumar Gala52094872007-02-17 16:04:23 -0600360 phy-handle = <&qe_phy1>;
Kim Phillips0fd8c472007-04-24 07:26:14 +1000361 phy-connection-type = "gmii";
Kumar Gala52094872007-02-17 16:04:23 -0600362 pio-handle = <&pio2>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600363 };
364
365 mdio@2120 {
366 #address-cells = <1>;
367 #size-cells = <0>;
368 reg = <2120 18>;
369 device_type = "mdio";
370 compatible = "ucc_geth_phy";
371
372 /* These are the same PHYs as on
373 * gianfar's MDIO bus */
Kumar Gala52094872007-02-17 16:04:23 -0600374 qe_phy0: ethernet-phy@00 {
375 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500376 interrupts = <1 1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600377 reg = <0>;
378 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600379 };
Kumar Gala52094872007-02-17 16:04:23 -0600380 qe_phy1: ethernet-phy@01 {
381 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500382 interrupts = <2 1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600383 reg = <1>;
384 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600385 };
Kumar Gala52094872007-02-17 16:04:23 -0600386 qe_phy2: ethernet-phy@02 {
387 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500388 interrupts = <1 1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600389 reg = <2>;
390 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600391 };
Kumar Gala52094872007-02-17 16:04:23 -0600392 qe_phy3: ethernet-phy@03 {
393 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500394 interrupts = <2 1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600395 reg = <3>;
396 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600397 };
398 };
399
Kumar Gala52094872007-02-17 16:04:23 -0600400 qeic: qeic@80 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600401 interrupt-controller;
402 device_type = "qeic";
403 #address-cells = <0>;
404 #interrupt-cells = <1>;
405 reg = <80 80>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600406 big-endian;
Kumar Galab533f8a2007-07-03 02:35:35 -0500407 interrupts = <2e 2 2e 2>; //high:30 low:30
Kumar Gala52094872007-02-17 16:04:23 -0600408 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600409 };
410
411 };
Kumar Gala86a04d92007-10-02 09:51:32 -0500412
413 pci@e0008000 {
414 interrupt-map-mask = <f800 0 0 7>;
415 interrupt-map = <
416 /* IDSEL 0x12 AD18 */
417 9000 0 0 1 &mpic 5 1
418 9000 0 0 2 &mpic 6 1
419 9000 0 0 3 &mpic 7 1
420 9000 0 0 4 &mpic 4 1
421
422 /* IDSEL 0x13 AD19 */
423 9800 0 0 1 &mpic 6 1
424 9800 0 0 2 &mpic 7 1
425 9800 0 0 3 &mpic 4 1
426 9800 0 0 4 &mpic 5 1>;
427
428 interrupt-parent = <&mpic>;
429 interrupts = <18 2>;
430 bus-range = <0 ff>;
431 ranges = <02000000 0 80000000 80000000 0 20000000
432 01000000 0 00000000 e2000000 0 00800000>;
433 clock-frequency = <3f940aa>;
434 #interrupt-cells = <1>;
435 #size-cells = <2>;
436 #address-cells = <3>;
437 reg = <e0008000 1000>;
438 compatible = "fsl,mpc8540-pci";
439 device_type = "pci";
440 };
441
442 /* PCI Express */
443 pcie@e000a000 {
444 interrupt-map-mask = <f800 0 0 7>;
445 interrupt-map = <
446
447 /* IDSEL 0x0 (PEX) */
448 00000 0 0 1 &mpic 0 1
449 00000 0 0 2 &mpic 1 1
450 00000 0 0 3 &mpic 2 1
451 00000 0 0 4 &mpic 3 1>;
452
453 interrupt-parent = <&mpic>;
454 interrupts = <1a 2>;
455 bus-range = <0 ff>;
456 ranges = <02000000 0 a0000000 a0000000 0 10000000
457 01000000 0 00000000 e2800000 0 00800000>;
458 clock-frequency = <1fca055>;
459 #interrupt-cells = <1>;
460 #size-cells = <2>;
461 #address-cells = <3>;
462 reg = <e000a000 1000>;
463 compatible = "fsl,mpc8548-pcie";
464 device_type = "pci";
465 pcie@0 {
466 reg = <0 0 0 0 0>;
467 #size-cells = <2>;
468 #address-cells = <3>;
469 device_type = "pci";
470 ranges = <02000000 0 a0000000
471 02000000 0 a0000000
472 0 10000000
473
474 01000000 0 00000000
475 01000000 0 00000000
476 0 00800000>;
477 };
478 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600479};