blob: 6bb18f2807a8cb4037ba67731218513d94f0516d [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>;
37 32-bit;
Andy Flemingc2882bb2007-02-09 17:28:31 -060038 };
39 };
40
41 memory {
42 device_type = "memory";
Andy Flemingc2882bb2007-02-09 17:28:31 -060043 reg = <00000000 10000000>;
44 };
45
46 bcsr@f8000000 {
47 device_type = "board-control";
48 reg = <f8000000 8000>;
49 };
50
51 soc8568@e0000000 {
52 #address-cells = <1>;
53 #size-cells = <1>;
54 #interrupt-cells = <2>;
55 device_type = "soc";
56 ranges = <0 e0000000 00100000>;
57 reg = <e0000000 00100000>;
58 bus-frequency = <0>;
59
Kumar Gala4da421d2007-05-15 13:20:05 -050060 memory-controller@2000 {
61 compatible = "fsl,8568-memory-controller";
62 reg = <2000 1000>;
63 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -050064 interrupts = <12 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -050065 };
66
67 l2-cache-controller@20000 {
68 compatible = "fsl,8568-l2-cache-controller";
69 reg = <20000 1000>;
70 cache-line-size = <20>; // 32 bytes
71 cache-size = <80000>; // L2, 512K
72 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -050073 interrupts = <10 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -050074 };
75
Andy Flemingc2882bb2007-02-09 17:28:31 -060076 i2c@3000 {
77 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;
83 };
84
85 i2c@3100 {
86 device_type = "i2c";
87 compatible = "fsl-i2c";
88 reg = <3100 100>;
Kumar Galab533f8a2007-07-03 02:35:35 -050089 interrupts = <2b 2>;
Kumar Gala52094872007-02-17 16:04:23 -060090 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060091 dfsrr;
92 };
93
94 mdio@24520 {
95 #address-cells = <1>;
96 #size-cells = <0>;
97 device_type = "mdio";
98 compatible = "gianfar";
99 reg = <24520 20>;
Kumar Gala52094872007-02-17 16:04:23 -0600100 phy0: ethernet-phy@0 {
101 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500102 interrupts = <1 1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600103 reg = <0>;
104 device_type = "ethernet-phy";
105 };
Kumar Gala52094872007-02-17 16:04:23 -0600106 phy1: ethernet-phy@1 {
107 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500108 interrupts = <2 1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600109 reg = <1>;
110 device_type = "ethernet-phy";
111 };
Kumar Gala52094872007-02-17 16:04:23 -0600112 phy2: ethernet-phy@2 {
113 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500114 interrupts = <1 1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600115 reg = <2>;
116 device_type = "ethernet-phy";
117 };
Kumar Gala52094872007-02-17 16:04:23 -0600118 phy3: ethernet-phy@3 {
119 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500120 interrupts = <2 1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600121 reg = <3>;
122 device_type = "ethernet-phy";
123 };
124 };
125
126 ethernet@24000 {
127 #address-cells = <1>;
128 #size-cells = <0>;
129 device_type = "network";
130 model = "eTSEC";
131 compatible = "gianfar";
132 reg = <24000 1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500133 /*
134 * mac-address is deprecated and will be removed
135 * in 2.6.25. Only recent versions of
136 * U-Boot support local-mac-address, however.
137 */
Andy Flemingc2882bb2007-02-09 17:28:31 -0600138 mac-address = [ 00 00 00 00 00 00 ];
Timur Tabieae98262007-06-22 14:33:15 -0500139 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Galab533f8a2007-07-03 02:35:35 -0500140 interrupts = <1d 2 1e 2 22 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600141 interrupt-parent = <&mpic>;
142 phy-handle = <&phy2>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600143 };
144
145 ethernet@25000 {
146 #address-cells = <1>;
147 #size-cells = <0>;
148 device_type = "network";
149 model = "eTSEC";
150 compatible = "gianfar";
151 reg = <25000 1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500152 /*
153 * mac-address is deprecated and will be removed
154 * in 2.6.25. Only recent versions of
155 * U-Boot support local-mac-address, however.
156 */
157 mac-address = [ 00 00 00 00 00 00 ];
158 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Galab533f8a2007-07-03 02:35:35 -0500159 interrupts = <23 2 24 2 28 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600160 interrupt-parent = <&mpic>;
161 phy-handle = <&phy3>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600162 };
163
164 serial@4500 {
165 device_type = "serial";
166 compatible = "ns16550";
167 reg = <4500 100>;
168 clock-frequency = <0>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500169 interrupts = <2a 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600170 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600171 };
172
173 serial@4600 {
174 device_type = "serial";
175 compatible = "ns16550";
176 reg = <4600 100>;
177 clock-frequency = <0>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500178 interrupts = <2a 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600179 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600180 };
181
182 crypto@30000 {
183 device_type = "crypto";
184 model = "SEC2";
185 compatible = "talitos";
186 reg = <30000 f000>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500187 interrupts = <2d 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600188 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600189 num-channels = <4>;
190 channel-fifo-len = <18>;
191 exec-units-mask = <000000fe>;
192 descriptor-types-mask = <012b0ebf>;
193 };
194
Kumar Gala52094872007-02-17 16:04:23 -0600195 mpic: pic@40000 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600196 clock-frequency = <0>;
197 interrupt-controller;
198 #address-cells = <0>;
199 #interrupt-cells = <2>;
200 reg = <40000 40000>;
201 built-in;
202 compatible = "chrp,open-pic";
203 device_type = "open-pic";
204 big-endian;
205 };
206 par_io@e0100 {
207 reg = <e0100 100>;
208 device_type = "par_io";
209 num-ports = <7>;
210
Kumar Gala52094872007-02-17 16:04:23 -0600211 pio1: ucc_pin@01 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600212 pio-map = <
213 /* port pin dir open_drain assignment has_irq */
214 4 0a 1 0 2 0 /* TxD0 */
215 4 09 1 0 2 0 /* TxD1 */
216 4 08 1 0 2 0 /* TxD2 */
217 4 07 1 0 2 0 /* TxD3 */
218 4 17 1 0 2 0 /* TxD4 */
219 4 16 1 0 2 0 /* TxD5 */
220 4 15 1 0 2 0 /* TxD6 */
221 4 14 1 0 2 0 /* TxD7 */
222 4 0f 2 0 2 0 /* RxD0 */
223 4 0e 2 0 2 0 /* RxD1 */
224 4 0d 2 0 2 0 /* RxD2 */
225 4 0c 2 0 2 0 /* RxD3 */
226 4 1d 2 0 2 0 /* RxD4 */
227 4 1c 2 0 2 0 /* RxD5 */
228 4 1b 2 0 2 0 /* RxD6 */
229 4 1a 2 0 2 0 /* RxD7 */
230 4 0b 1 0 2 0 /* TX_EN */
231 4 18 1 0 2 0 /* TX_ER */
232 4 0f 2 0 2 0 /* RX_DV */
233 4 1e 2 0 2 0 /* RX_ER */
234 4 11 2 0 2 0 /* RX_CLK */
235 4 13 1 0 2 0 /* GTX_CLK */
236 1 1f 2 0 3 0>; /* GTX125 */
237 };
Kumar Gala52094872007-02-17 16:04:23 -0600238 pio2: ucc_pin@02 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600239 pio-map = <
240 /* port pin dir open_drain assignment has_irq */
241 5 0a 1 0 2 0 /* TxD0 */
242 5 09 1 0 2 0 /* TxD1 */
243 5 08 1 0 2 0 /* TxD2 */
244 5 07 1 0 2 0 /* TxD3 */
245 5 17 1 0 2 0 /* TxD4 */
246 5 16 1 0 2 0 /* TxD5 */
247 5 15 1 0 2 0 /* TxD6 */
248 5 14 1 0 2 0 /* TxD7 */
249 5 0f 2 0 2 0 /* RxD0 */
250 5 0e 2 0 2 0 /* RxD1 */
251 5 0d 2 0 2 0 /* RxD2 */
252 5 0c 2 0 2 0 /* RxD3 */
253 5 1d 2 0 2 0 /* RxD4 */
254 5 1c 2 0 2 0 /* RxD5 */
255 5 1b 2 0 2 0 /* RxD6 */
256 5 1a 2 0 2 0 /* RxD7 */
257 5 0b 1 0 2 0 /* TX_EN */
258 5 18 1 0 2 0 /* TX_ER */
259 5 10 2 0 2 0 /* RX_DV */
260 5 1e 2 0 2 0 /* RX_ER */
261 5 11 2 0 2 0 /* RX_CLK */
262 5 13 1 0 2 0 /* GTX_CLK */
263 1 1f 2 0 3 0 /* GTX125 */
264 4 06 3 0 2 0 /* MDIO */
265 4 05 1 0 2 0>; /* MDC */
266 };
267 };
268 };
269
270 qe@e0080000 {
271 #address-cells = <1>;
272 #size-cells = <1>;
273 device_type = "qe";
274 model = "QE";
275 ranges = <0 e0080000 00040000>;
276 reg = <e0080000 480>;
277 brg-frequency = <0>;
278 bus-frequency = <179A7B00>;
279
280 muram@10000 {
281 device_type = "muram";
282 ranges = <0 00010000 0000c000>;
283
284 data-only@0{
285 reg = <0 c000>;
286 };
287 };
288
289 spi@4c0 {
290 device_type = "spi";
291 compatible = "fsl_spi";
292 reg = <4c0 40>;
293 interrupts = <2>;
Kumar Gala52094872007-02-17 16:04:23 -0600294 interrupt-parent = <&qeic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600295 mode = "cpu";
296 };
297
298 spi@500 {
299 device_type = "spi";
300 compatible = "fsl_spi";
301 reg = <500 40>;
302 interrupts = <1>;
Kumar Gala52094872007-02-17 16:04:23 -0600303 interrupt-parent = <&qeic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600304 mode = "cpu";
305 };
306
307 ucc@2000 {
308 device_type = "network";
309 compatible = "ucc_geth";
310 model = "UCC";
311 device-id = <1>;
312 reg = <2000 200>;
313 interrupts = <20>;
Kumar Gala52094872007-02-17 16:04:23 -0600314 interrupt-parent = <&qeic>;
Timur Tabieae98262007-06-22 14:33:15 -0500315 /*
316 * mac-address is deprecated and will be removed
317 * in 2.6.25. Only recent versions of
318 * U-Boot support local-mac-address, however.
319 */
320 mac-address = [ 00 00 00 00 00 00 ];
321 local-mac-address = [ 00 00 00 00 00 00 ];
Andy Flemingc2882bb2007-02-09 17:28:31 -0600322 rx-clock = <0>;
323 tx-clock = <19>;
Kumar Gala52094872007-02-17 16:04:23 -0600324 phy-handle = <&qe_phy0>;
Kim Phillips0fd8c472007-04-24 07:26:14 +1000325 phy-connection-type = "gmii";
Kumar Gala52094872007-02-17 16:04:23 -0600326 pio-handle = <&pio1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600327 };
328
329 ucc@3000 {
330 device_type = "network";
331 compatible = "ucc_geth";
332 model = "UCC";
333 device-id = <2>;
334 reg = <3000 200>;
335 interrupts = <21>;
Kumar Gala52094872007-02-17 16:04:23 -0600336 interrupt-parent = <&qeic>;
Timur Tabieae98262007-06-22 14:33:15 -0500337 /*
338 * mac-address is deprecated and will be removed
339 * in 2.6.25. Only recent versions of
340 * U-Boot support local-mac-address, however.
341 */
342 mac-address = [ 00 00 00 00 00 00 ];
343 local-mac-address = [ 00 00 00 00 00 00 ];
Andy Flemingc2882bb2007-02-09 17:28:31 -0600344 rx-clock = <0>;
345 tx-clock = <14>;
Kumar Gala52094872007-02-17 16:04:23 -0600346 phy-handle = <&qe_phy1>;
Kim Phillips0fd8c472007-04-24 07:26:14 +1000347 phy-connection-type = "gmii";
Kumar Gala52094872007-02-17 16:04:23 -0600348 pio-handle = <&pio2>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600349 };
350
351 mdio@2120 {
352 #address-cells = <1>;
353 #size-cells = <0>;
354 reg = <2120 18>;
355 device_type = "mdio";
356 compatible = "ucc_geth_phy";
357
358 /* These are the same PHYs as on
359 * gianfar's MDIO bus */
Kumar Gala52094872007-02-17 16:04:23 -0600360 qe_phy0: ethernet-phy@00 {
361 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500362 interrupts = <1 1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600363 reg = <0>;
364 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600365 };
Kumar Gala52094872007-02-17 16:04:23 -0600366 qe_phy1: ethernet-phy@01 {
367 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500368 interrupts = <2 1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600369 reg = <1>;
370 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600371 };
Kumar Gala52094872007-02-17 16:04:23 -0600372 qe_phy2: ethernet-phy@02 {
373 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500374 interrupts = <1 1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600375 reg = <2>;
376 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600377 };
Kumar Gala52094872007-02-17 16:04:23 -0600378 qe_phy3: ethernet-phy@03 {
379 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500380 interrupts = <2 1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600381 reg = <3>;
382 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600383 };
384 };
385
Kumar Gala52094872007-02-17 16:04:23 -0600386 qeic: qeic@80 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600387 interrupt-controller;
388 device_type = "qeic";
389 #address-cells = <0>;
390 #interrupt-cells = <1>;
391 reg = <80 80>;
392 built-in;
393 big-endian;
Kumar Galab533f8a2007-07-03 02:35:35 -0500394 interrupts = <2e 2 2e 2>; //high:30 low:30
Kumar Gala52094872007-02-17 16:04:23 -0600395 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600396 };
397
398 };
399};