blob: 131ffaae2b5d7d42f850896f38b4cf32efd27d17 [file] [log] [blame]
Jon Loeligerd93daf82007-03-20 11:19:10 -05001/*
2 * MPC8544 DS 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 model = "MPC8544DS";
14 compatible = "MPC8544DS", "MPC85xxDS";
15 #address-cells = <1>;
16 #size-cells = <1>;
17
Kumar Galaea082fa2007-12-12 01:46:12 -060018 aliases {
19 ethernet0 = &enet0;
20 ethernet1 = &enet1;
21 serial0 = &serial0;
22 serial1 = &serial1;
23 pci0 = &pci0;
24 pci1 = &pci1;
25 pci2 = &pci2;
26 pci3 = &pci3;
27 };
28
Jon Loeligerd93daf82007-03-20 11:19:10 -050029 cpus {
30 #cpus = <1>;
31 #address-cells = <1>;
32 #size-cells = <0>;
33
34 PowerPC,8544@0 {
35 device_type = "cpu";
36 reg = <0>;
37 d-cache-line-size = <20>; // 32 bytes
38 i-cache-line-size = <20>; // 32 bytes
39 d-cache-size = <8000>; // L1, 32K
40 i-cache-size = <8000>; // L1, 32K
41 timebase-frequency = <0>;
42 bus-frequency = <0>;
43 clock-frequency = <0>;
Jon Loeligerd93daf82007-03-20 11:19:10 -050044 };
45 };
46
47 memory {
48 device_type = "memory";
49 reg = <00000000 00000000>; // Filled by U-Boot
50 };
51
52 soc8544@e0000000 {
53 #address-cells = <1>;
54 #size-cells = <1>;
Jon Loeligerd93daf82007-03-20 11:19:10 -050055 device_type = "soc";
Kumar Galab66510c2007-08-16 23:55:55 -050056
Kumar Gala1b3c5cda2007-09-12 18:23:46 -050057 ranges = <00000000 e0000000 00100000>;
Kumar Galab66510c2007-08-16 23:55:55 -050058 reg = <e0000000 00001000>; // CCSRBAR 1M
Jon Loeligerd93daf82007-03-20 11:19:10 -050059 bus-frequency = <0>; // Filled out by uboot.
60
Kumar Gala4da421d2007-05-15 13:20:05 -050061 memory-controller@2000 {
62 compatible = "fsl,8544-memory-controller";
63 reg = <2000 1000>;
64 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -050065 interrupts = <12 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -050066 };
67
68 l2-cache-controller@20000 {
69 compatible = "fsl,8544-l2-cache-controller";
70 reg = <20000 1000>;
71 cache-line-size = <20>; // 32 bytes
72 cache-size = <40000>; // L2, 256K
73 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -050074 interrupts = <10 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -050075 };
76
Jon Loeligerd93daf82007-03-20 11:19:10 -050077 i2c@3000 {
Kumar Galaec9686c2007-12-11 23:17:24 -060078 #address-cells = <1>;
79 #size-cells = <0>;
80 cell-index = <0>;
Jon Loeligerd93daf82007-03-20 11:19:10 -050081 compatible = "fsl-i2c";
82 reg = <3000 100>;
Kumar Galab533f8a2007-07-03 02:35:35 -050083 interrupts = <2b 2>;
Jon Loeligerd93daf82007-03-20 11:19:10 -050084 interrupt-parent = <&mpic>;
85 dfsrr;
86 };
87
Kumar Galaec9686c2007-12-11 23:17:24 -060088 i2c@3100 {
89 #address-cells = <1>;
90 #size-cells = <0>;
91 cell-index = <1>;
92 compatible = "fsl-i2c";
93 reg = <3100 100>;
94 interrupts = <2b 2>;
95 interrupt-parent = <&mpic>;
96 dfsrr;
97 };
98
Jon Loeligerd93daf82007-03-20 11:19:10 -050099 mdio@24520 {
100 #address-cells = <1>;
101 #size-cells = <0>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600102 compatible = "fsl,gianfar-mdio";
Jon Loeligerd93daf82007-03-20 11:19:10 -0500103 reg = <24520 20>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600104
Jon Loeligerd93daf82007-03-20 11:19:10 -0500105 phy0: ethernet-phy@0 {
106 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500107 interrupts = <a 1>;
Jon Loeligerd93daf82007-03-20 11:19:10 -0500108 reg = <0>;
109 device_type = "ethernet-phy";
110 };
111 phy1: ethernet-phy@1 {
112 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500113 interrupts = <a 1>;
Jon Loeligerd93daf82007-03-20 11:19:10 -0500114 reg = <1>;
115 device_type = "ethernet-phy";
116 };
117 };
118
Sebastian Siewior1028d4f2008-03-15 00:01:30 +0100119 dma@21300 {
120 #address-cells = <1>;
121 #size-cells = <1>;
122 compatible = "fsl,mpc8544-dma", "fsl,eloplus-dma";
123 reg = <21300 4>;
124 ranges = <0 21100 200>;
125 cell-index = <0>;
126 dma-channel@0 {
127 compatible = "fsl,mpc8544-dma-channel",
128 "fsl,eloplus-dma-channel";
129 reg = <0 80>;
130 cell-index = <0>;
131 interrupt-parent = <&mpic>;
132 interrupts = <14 2>;
133 };
134 dma-channel@80 {
135 compatible = "fsl,mpc8544-dma-channel",
136 "fsl,eloplus-dma-channel";
137 reg = <80 80>;
138 cell-index = <1>;
139 interrupt-parent = <&mpic>;
140 interrupts = <15 2>;
141 };
142 dma-channel@100 {
143 compatible = "fsl,mpc8544-dma-channel",
144 "fsl,eloplus-dma-channel";
145 reg = <100 80>;
146 cell-index = <2>;
147 interrupt-parent = <&mpic>;
148 interrupts = <16 2>;
149 };
150 dma-channel@180 {
151 compatible = "fsl,mpc8544-dma-channel",
152 "fsl,eloplus-dma-channel";
153 reg = <180 80>;
154 cell-index = <3>;
155 interrupt-parent = <&mpic>;
156 interrupts = <17 2>;
157 };
158 };
159
Kumar Galae77b28e2007-12-12 00:28:35 -0600160 enet0: ethernet@24000 {
161 cell-index = <0>;
Jon Loeligerd93daf82007-03-20 11:19:10 -0500162 device_type = "network";
163 model = "TSEC";
164 compatible = "gianfar";
165 reg = <24000 1000>;
166 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Galab533f8a2007-07-03 02:35:35 -0500167 interrupts = <1d 2 1e 2 22 2>;
Jon Loeligerd93daf82007-03-20 11:19:10 -0500168 interrupt-parent = <&mpic>;
169 phy-handle = <&phy0>;
Kumar Gala9a9bcf42007-07-26 00:07:36 -0500170 phy-connection-type = "rgmii-id";
Jon Loeligerd93daf82007-03-20 11:19:10 -0500171 };
172
Kumar Galae77b28e2007-12-12 00:28:35 -0600173 enet1: ethernet@26000 {
174 cell-index = <1>;
Jon Loeligerd93daf82007-03-20 11:19:10 -0500175 device_type = "network";
176 model = "TSEC";
177 compatible = "gianfar";
178 reg = <26000 1000>;
179 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Galab533f8a2007-07-03 02:35:35 -0500180 interrupts = <1f 2 20 2 21 2>;
Jon Loeligerd93daf82007-03-20 11:19:10 -0500181 interrupt-parent = <&mpic>;
182 phy-handle = <&phy1>;
Kumar Gala9a9bcf42007-07-26 00:07:36 -0500183 phy-connection-type = "rgmii-id";
Jon Loeligerd93daf82007-03-20 11:19:10 -0500184 };
185
Kumar Galaea082fa2007-12-12 01:46:12 -0600186 serial0: serial@4500 {
187 cell-index = <0>;
Jon Loeligerd93daf82007-03-20 11:19:10 -0500188 device_type = "serial";
189 compatible = "ns16550";
190 reg = <4500 100>;
191 clock-frequency = <0>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500192 interrupts = <2a 2>;
Jon Loeligerd93daf82007-03-20 11:19:10 -0500193 interrupt-parent = <&mpic>;
194 };
195
Kumar Galaea082fa2007-12-12 01:46:12 -0600196 serial1: serial@4600 {
197 cell-index = <1>;
Jon Loeligerd93daf82007-03-20 11:19:10 -0500198 device_type = "serial";
199 compatible = "ns16550";
200 reg = <4600 100>;
201 clock-frequency = <0>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500202 interrupts = <2a 2>;
Jon Loeligerd93daf82007-03-20 11:19:10 -0500203 interrupt-parent = <&mpic>;
204 };
205
Roy Zang10ce8c62007-07-13 17:35:33 +0800206 global-utilities@e0000 { //global utilities block
207 compatible = "fsl,mpc8548-guts";
208 reg = <e0000 1000>;
209 fsl,has-rstcr;
210 };
211
Jon Loeligerd93daf82007-03-20 11:19:10 -0500212 mpic: pic@40000 {
213 clock-frequency = <0>;
214 interrupt-controller;
215 #address-cells = <0>;
216 #interrupt-cells = <2>;
217 reg = <40000 40000>;
Jon Loeligerd93daf82007-03-20 11:19:10 -0500218 compatible = "chrp,open-pic";
219 device_type = "open-pic";
220 big-endian;
221 };
222 };
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500223
Kumar Galaea082fa2007-12-12 01:46:12 -0600224 pci0: pci@e0008000 {
225 cell-index = <0>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500226 compatible = "fsl,mpc8540-pci";
227 device_type = "pci";
228 interrupt-map-mask = <f800 0 0 7>;
229 interrupt-map = <
230
231 /* IDSEL 0x11 J17 Slot 1 */
232 8800 0 0 1 &mpic 2 1
233 8800 0 0 2 &mpic 3 1
234 8800 0 0 3 &mpic 4 1
235 8800 0 0 4 &mpic 1 1
236
237 /* IDSEL 0x12 J16 Slot 2 */
238
239 9000 0 0 1 &mpic 3 1
240 9000 0 0 2 &mpic 4 1
241 9000 0 0 3 &mpic 2 1
242 9000 0 0 4 &mpic 1 1>;
243
244 interrupt-parent = <&mpic>;
245 interrupts = <18 2>;
246 bus-range = <0 ff>;
247 ranges = <02000000 0 c0000000 c0000000 0 20000000
248 01000000 0 00000000 e1000000 0 00010000>;
249 clock-frequency = <3f940aa>;
250 #interrupt-cells = <1>;
251 #size-cells = <2>;
252 #address-cells = <3>;
253 reg = <e0008000 1000>;
254 };
255
Kumar Galaea082fa2007-12-12 01:46:12 -0600256 pci1: pcie@e0009000 {
257 cell-index = <1>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500258 compatible = "fsl,mpc8548-pcie";
259 device_type = "pci";
260 #interrupt-cells = <1>;
261 #size-cells = <2>;
262 #address-cells = <3>;
263 reg = <e0009000 1000>;
264 bus-range = <0 ff>;
265 ranges = <02000000 0 80000000 80000000 0 20000000
266 01000000 0 00000000 e1010000 0 00010000>;
267 clock-frequency = <1fca055>;
268 interrupt-parent = <&mpic>;
269 interrupts = <1a 2>;
270 interrupt-map-mask = <f800 0 0 7>;
271 interrupt-map = <
272 /* IDSEL 0x0 */
273 0000 0 0 1 &mpic 4 1
274 0000 0 0 2 &mpic 5 1
275 0000 0 0 3 &mpic 6 1
276 0000 0 0 4 &mpic 7 1
277 >;
278 pcie@0 {
279 reg = <0 0 0 0 0>;
280 #size-cells = <2>;
281 #address-cells = <3>;
282 device_type = "pci";
283 ranges = <02000000 0 80000000
284 02000000 0 80000000
285 0 20000000
286
287 01000000 0 00000000
288 01000000 0 00000000
289 0 00010000>;
290 };
291 };
292
Kumar Galaea082fa2007-12-12 01:46:12 -0600293 pci2: pcie@e000a000 {
294 cell-index = <2>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500295 compatible = "fsl,mpc8548-pcie";
296 device_type = "pci";
297 #interrupt-cells = <1>;
298 #size-cells = <2>;
299 #address-cells = <3>;
300 reg = <e000a000 1000>;
301 bus-range = <0 ff>;
302 ranges = <02000000 0 a0000000 a0000000 0 10000000
303 01000000 0 00000000 e1020000 0 00010000>;
304 clock-frequency = <1fca055>;
305 interrupt-parent = <&mpic>;
306 interrupts = <19 2>;
307 interrupt-map-mask = <f800 0 0 7>;
308 interrupt-map = <
309 /* IDSEL 0x0 */
310 0000 0 0 1 &mpic 0 1
311 0000 0 0 2 &mpic 1 1
312 0000 0 0 3 &mpic 2 1
313 0000 0 0 4 &mpic 3 1
314 >;
315 pcie@0 {
316 reg = <0 0 0 0 0>;
317 #size-cells = <2>;
318 #address-cells = <3>;
319 device_type = "pci";
320 ranges = <02000000 0 a0000000
321 02000000 0 a0000000
322 0 10000000
323
324 01000000 0 00000000
325 01000000 0 00000000
326 0 00010000>;
327 };
328 };
329
Kumar Galaea082fa2007-12-12 01:46:12 -0600330 pci3: pcie@e000b000 {
331 cell-index = <3>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500332 compatible = "fsl,mpc8548-pcie";
333 device_type = "pci";
334 #interrupt-cells = <1>;
335 #size-cells = <2>;
336 #address-cells = <3>;
337 reg = <e000b000 1000>;
338 bus-range = <0 ff>;
339 ranges = <02000000 0 b0000000 b0000000 0 00100000
340 01000000 0 00000000 b0100000 0 00100000>;
341 clock-frequency = <1fca055>;
342 interrupt-parent = <&mpic>;
343 interrupts = <1b 2>;
Kumar Galabebfa062007-11-19 23:36:23 -0600344 interrupt-map-mask = <ff00 0 0 1>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500345 interrupt-map = <
346 // IDSEL 0x1c USB
Kumar Galabebfa062007-11-19 23:36:23 -0600347 e000 0 0 1 &i8259 c 2
Kumar Gala93967ae2008-01-17 22:32:49 -0600348 e100 0 0 2 &i8259 9 2
349 e200 0 0 3 &i8259 a 2
350 e300 0 0 4 &i8259 b 2
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500351
352 // IDSEL 0x1d Audio
Kumar Galabebfa062007-11-19 23:36:23 -0600353 e800 0 0 1 &i8259 6 2
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500354
355 // IDSEL 0x1e Legacy
Kumar Galabebfa062007-11-19 23:36:23 -0600356 f000 0 0 1 &i8259 7 2
357 f100 0 0 1 &i8259 7 2
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500358
359 // IDSEL 0x1f IDE/SATA
Kumar Galabebfa062007-11-19 23:36:23 -0600360 f800 0 0 1 &i8259 e 2
361 f900 0 0 1 &i8259 5 2
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500362 >;
363
364 pcie@0 {
365 reg = <0 0 0 0 0>;
366 #size-cells = <2>;
367 #address-cells = <3>;
368 device_type = "pci";
369 ranges = <02000000 0 b0000000
370 02000000 0 b0000000
371 0 00100000
372
373 01000000 0 00000000
374 01000000 0 00000000
375 0 00100000>;
376
377 uli1575@0 {
378 reg = <0 0 0 0 0>;
379 #size-cells = <2>;
380 #address-cells = <3>;
381 ranges = <02000000 0 b0000000
382 02000000 0 b0000000
383 0 00100000
384
385 01000000 0 00000000
386 01000000 0 00000000
387 0 00100000>;
388 isa@1e {
389 device_type = "isa";
390 #interrupt-cells = <2>;
391 #size-cells = <1>;
392 #address-cells = <2>;
393 reg = <f000 0 0 0 0>;
394 ranges = <1 0
395 01000000 0 0
396 00001000>;
397 interrupt-parent = <&i8259>;
398
399 i8259: interrupt-controller@20 {
400 reg = <1 20 2
401 1 a0 2
402 1 4d0 2>;
403 interrupt-controller;
404 device_type = "interrupt-controller";
405 #address-cells = <0>;
406 #interrupt-cells = <2>;
407 compatible = "chrp,iic";
408 interrupts = <9 2>;
409 interrupt-parent = <&mpic>;
410 };
411
412 i8042@60 {
413 #size-cells = <0>;
414 #address-cells = <1>;
415 reg = <1 60 1 1 64 1>;
416 interrupts = <1 3 c 3>;
417 interrupt-parent = <&i8259>;
418
419 keyboard@0 {
420 reg = <0>;
421 compatible = "pnpPNP,303";
422 };
423
424 mouse@1 {
425 reg = <1>;
426 compatible = "pnpPNP,f03";
427 };
428 };
429
430 rtc@70 {
431 compatible = "pnpPNP,b00";
432 reg = <1 70 2>;
433 };
434
435 gpio@400 {
436 reg = <1 400 80>;
437 };
438 };
439 };
440 };
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500441 };
Jon Loeligerd93daf82007-03-20 11:19:10 -0500442};