Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelv...
[deliverable/linux.git] / arch / powerpc / boot / dts / mpc8572ds_camp_core0.dts
1 /*
2 * MPC8572 DS Core0 Device Tree Source in CAMP mode.
3 *
4 * In CAMP mode, each core needs to have its own dts. Only mpic and L2 cache
5 * can be shared, all the other devices must be assigned to one core only.
6 * This dts file allows core0 to have memory, l2, i2c, dma1, global-util, eth0,
7 * eth1, crypto, pci0, pci1.
8 *
9 * Copyright 2007-2009 Freescale Semiconductor Inc.
10 *
11 * This program is free software; you can redistribute it and/or modify it
12 * under the terms of the GNU General Public License as published by the
13 * Free Software Foundation; either version 2 of the License, or (at your
14 * option) any later version.
15 */
16
17 /dts-v1/;
18 / {
19 model = "fsl,MPC8572DS";
20 compatible = "fsl,MPC8572DS", "fsl,MPC8572DS-CAMP";
21 #address-cells = <1>;
22 #size-cells = <1>;
23
24 aliases {
25 ethernet0 = &enet0;
26 ethernet1 = &enet1;
27 serial0 = &serial0;
28 pci0 = &pci0;
29 pci1 = &pci1;
30 };
31
32 cpus {
33 #address-cells = <1>;
34 #size-cells = <0>;
35
36 PowerPC,8572@0 {
37 device_type = "cpu";
38 reg = <0x0>;
39 d-cache-line-size = <32>; // 32 bytes
40 i-cache-line-size = <32>; // 32 bytes
41 d-cache-size = <0x8000>; // L1, 32K
42 i-cache-size = <0x8000>; // L1, 32K
43 timebase-frequency = <0>;
44 bus-frequency = <0>;
45 clock-frequency = <0>;
46 next-level-cache = <&L2>;
47 };
48
49 };
50
51 memory {
52 device_type = "memory";
53 reg = <0x0 0x0>; // Filled by U-Boot
54 };
55
56 soc8572@ffe00000 {
57 #address-cells = <1>;
58 #size-cells = <1>;
59 device_type = "soc";
60 compatible = "simple-bus";
61 ranges = <0x0 0xffe00000 0x100000>;
62 bus-frequency = <0>; // Filled out by uboot.
63
64 ecm-law@0 {
65 compatible = "fsl,ecm-law";
66 reg = <0x0 0x1000>;
67 fsl,num-laws = <12>;
68 };
69
70 ecm@1000 {
71 compatible = "fsl,mpc8572-ecm", "fsl,ecm";
72 reg = <0x1000 0x1000>;
73 interrupts = <17 2>;
74 interrupt-parent = <&mpic>;
75 };
76
77 memory-controller@2000 {
78 compatible = "fsl,mpc8572-memory-controller";
79 reg = <0x2000 0x1000>;
80 interrupt-parent = <&mpic>;
81 interrupts = <18 2>;
82 };
83
84 memory-controller@6000 {
85 compatible = "fsl,mpc8572-memory-controller";
86 reg = <0x6000 0x1000>;
87 interrupt-parent = <&mpic>;
88 interrupts = <18 2>;
89 };
90
91 L2: l2-cache-controller@20000 {
92 compatible = "fsl,mpc8572-l2-cache-controller";
93 reg = <0x20000 0x1000>;
94 cache-line-size = <32>; // 32 bytes
95 cache-size = <0x80000>; // L2, 512K
96 interrupt-parent = <&mpic>;
97 interrupts = <16 2>;
98 };
99
100 i2c@3000 {
101 #address-cells = <1>;
102 #size-cells = <0>;
103 cell-index = <0>;
104 compatible = "fsl-i2c";
105 reg = <0x3000 0x100>;
106 interrupts = <43 2>;
107 interrupt-parent = <&mpic>;
108 dfsrr;
109 };
110
111 i2c@3100 {
112 #address-cells = <1>;
113 #size-cells = <0>;
114 cell-index = <1>;
115 compatible = "fsl-i2c";
116 reg = <0x3100 0x100>;
117 interrupts = <43 2>;
118 interrupt-parent = <&mpic>;
119 dfsrr;
120 };
121
122 dma@21300 {
123 #address-cells = <1>;
124 #size-cells = <1>;
125 compatible = "fsl,mpc8572-dma", "fsl,eloplus-dma";
126 reg = <0x21300 0x4>;
127 ranges = <0x0 0x21100 0x200>;
128 cell-index = <0>;
129 dma-channel@0 {
130 compatible = "fsl,mpc8572-dma-channel",
131 "fsl,eloplus-dma-channel";
132 reg = <0x0 0x80>;
133 cell-index = <0>;
134 interrupt-parent = <&mpic>;
135 interrupts = <20 2>;
136 };
137 dma-channel@80 {
138 compatible = "fsl,mpc8572-dma-channel",
139 "fsl,eloplus-dma-channel";
140 reg = <0x80 0x80>;
141 cell-index = <1>;
142 interrupt-parent = <&mpic>;
143 interrupts = <21 2>;
144 };
145 dma-channel@100 {
146 compatible = "fsl,mpc8572-dma-channel",
147 "fsl,eloplus-dma-channel";
148 reg = <0x100 0x80>;
149 cell-index = <2>;
150 interrupt-parent = <&mpic>;
151 interrupts = <22 2>;
152 };
153 dma-channel@180 {
154 compatible = "fsl,mpc8572-dma-channel",
155 "fsl,eloplus-dma-channel";
156 reg = <0x180 0x80>;
157 cell-index = <3>;
158 interrupt-parent = <&mpic>;
159 interrupts = <23 2>;
160 };
161 };
162
163 enet0: ethernet@24000 {
164 #address-cells = <1>;
165 #size-cells = <1>;
166 cell-index = <0>;
167 device_type = "network";
168 model = "eTSEC";
169 compatible = "gianfar";
170 reg = <0x24000 0x1000>;
171 ranges = <0x0 0x24000 0x1000>;
172 local-mac-address = [ 00 00 00 00 00 00 ];
173 interrupts = <29 2 30 2 34 2>;
174 interrupt-parent = <&mpic>;
175 phy-handle = <&phy0>;
176 phy-connection-type = "rgmii-id";
177
178 mdio@520 {
179 #address-cells = <1>;
180 #size-cells = <0>;
181 compatible = "fsl,gianfar-mdio";
182 reg = <0x520 0x20>;
183
184 phy0: ethernet-phy@0 {
185 interrupt-parent = <&mpic>;
186 interrupts = <10 1>;
187 reg = <0x0>;
188 };
189 phy1: ethernet-phy@1 {
190 interrupt-parent = <&mpic>;
191 interrupts = <10 1>;
192 reg = <0x1>;
193 };
194 };
195 };
196
197 enet1: ethernet@25000 {
198 cell-index = <1>;
199 device_type = "network";
200 model = "eTSEC";
201 compatible = "gianfar";
202 reg = <0x25000 0x1000>;
203 local-mac-address = [ 00 00 00 00 00 00 ];
204 interrupts = <35 2 36 2 40 2>;
205 interrupt-parent = <&mpic>;
206 phy-handle = <&phy1>;
207 phy-connection-type = "rgmii-id";
208 };
209
210 serial0: serial@4500 {
211 cell-index = <0>;
212 device_type = "serial";
213 compatible = "ns16550";
214 reg = <0x4500 0x100>;
215 clock-frequency = <0>;
216 };
217
218 global-utilities@e0000 { //global utilities block
219 compatible = "fsl,mpc8572-guts";
220 reg = <0xe0000 0x1000>;
221 fsl,has-rstcr;
222 };
223
224 crypto@30000 {
225 compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2",
226 "fsl,sec2.1", "fsl,sec2.0";
227 reg = <0x30000 0x10000>;
228 interrupts = <45 2 58 2>;
229 interrupt-parent = <&mpic>;
230 fsl,num-channels = <4>;
231 fsl,channel-fifo-len = <24>;
232 fsl,exec-units-mask = <0x9fe>;
233 fsl,descriptor-types-mask = <0x3ab0ebf>;
234 };
235
236 mpic: pic@40000 {
237 interrupt-controller;
238 #address-cells = <0>;
239 #interrupt-cells = <2>;
240 reg = <0x40000 0x40000>;
241 compatible = "chrp,open-pic";
242 device_type = "open-pic";
243 protected-sources = <
244 31 32 33 37 38 39 /* enet2 enet3 */
245 76 77 78 79 26 42 /* dma2 pci2 serial*/
246 0xe0 0xe1 0xe2 0xe3 /* msi */
247 0xe4 0xe5 0xe6 0xe7
248 >;
249 };
250 };
251
252 pci0: pcie@ffe08000 {
253 compatible = "fsl,mpc8548-pcie";
254 device_type = "pci";
255 #interrupt-cells = <1>;
256 #size-cells = <2>;
257 #address-cells = <3>;
258 reg = <0xffe08000 0x1000>;
259 bus-range = <0 255>;
260 ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
261 0x1000000 0x0 0x0 0xffc00000 0x0 0x10000>;
262 clock-frequency = <33333333>;
263 interrupt-parent = <&mpic>;
264 interrupts = <24 2>;
265 interrupt-map-mask = <0xff00 0x0 0x0 0x7>;
266 interrupt-map = <
267 /* IDSEL 0x11 func 0 - PCI slot 1 */
268 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1
269 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1
270 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1
271 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1
272
273 /* IDSEL 0x11 func 1 - PCI slot 1 */
274 0x8900 0x0 0x0 0x1 &mpic 0x2 0x1
275 0x8900 0x0 0x0 0x2 &mpic 0x3 0x1
276 0x8900 0x0 0x0 0x3 &mpic 0x4 0x1
277 0x8900 0x0 0x0 0x4 &mpic 0x1 0x1
278
279 /* IDSEL 0x11 func 2 - PCI slot 1 */
280 0x8a00 0x0 0x0 0x1 &mpic 0x2 0x1
281 0x8a00 0x0 0x0 0x2 &mpic 0x3 0x1
282 0x8a00 0x0 0x0 0x3 &mpic 0x4 0x1
283 0x8a00 0x0 0x0 0x4 &mpic 0x1 0x1
284
285 /* IDSEL 0x11 func 3 - PCI slot 1 */
286 0x8b00 0x0 0x0 0x1 &mpic 0x2 0x1
287 0x8b00 0x0 0x0 0x2 &mpic 0x3 0x1
288 0x8b00 0x0 0x0 0x3 &mpic 0x4 0x1
289 0x8b00 0x0 0x0 0x4 &mpic 0x1 0x1
290
291 /* IDSEL 0x11 func 4 - PCI slot 1 */
292 0x8c00 0x0 0x0 0x1 &mpic 0x2 0x1
293 0x8c00 0x0 0x0 0x2 &mpic 0x3 0x1
294 0x8c00 0x0 0x0 0x3 &mpic 0x4 0x1
295 0x8c00 0x0 0x0 0x4 &mpic 0x1 0x1
296
297 /* IDSEL 0x11 func 5 - PCI slot 1 */
298 0x8d00 0x0 0x0 0x1 &mpic 0x2 0x1
299 0x8d00 0x0 0x0 0x2 &mpic 0x3 0x1
300 0x8d00 0x0 0x0 0x3 &mpic 0x4 0x1
301 0x8d00 0x0 0x0 0x4 &mpic 0x1 0x1
302
303 /* IDSEL 0x11 func 6 - PCI slot 1 */
304 0x8e00 0x0 0x0 0x1 &mpic 0x2 0x1
305 0x8e00 0x0 0x0 0x2 &mpic 0x3 0x1
306 0x8e00 0x0 0x0 0x3 &mpic 0x4 0x1
307 0x8e00 0x0 0x0 0x4 &mpic 0x1 0x1
308
309 /* IDSEL 0x11 func 7 - PCI slot 1 */
310 0x8f00 0x0 0x0 0x1 &mpic 0x2 0x1
311 0x8f00 0x0 0x0 0x2 &mpic 0x3 0x1
312 0x8f00 0x0 0x0 0x3 &mpic 0x4 0x1
313 0x8f00 0x0 0x0 0x4 &mpic 0x1 0x1
314
315 /* IDSEL 0x12 func 0 - PCI slot 2 */
316 0x9000 0x0 0x0 0x1 &mpic 0x3 0x1
317 0x9000 0x0 0x0 0x2 &mpic 0x4 0x1
318 0x9000 0x0 0x0 0x3 &mpic 0x1 0x1
319 0x9000 0x0 0x0 0x4 &mpic 0x2 0x1
320
321 /* IDSEL 0x12 func 1 - PCI slot 2 */
322 0x9100 0x0 0x0 0x1 &mpic 0x3 0x1
323 0x9100 0x0 0x0 0x2 &mpic 0x4 0x1
324 0x9100 0x0 0x0 0x3 &mpic 0x1 0x1
325 0x9100 0x0 0x0 0x4 &mpic 0x2 0x1
326
327 /* IDSEL 0x12 func 2 - PCI slot 2 */
328 0x9200 0x0 0x0 0x1 &mpic 0x3 0x1
329 0x9200 0x0 0x0 0x2 &mpic 0x4 0x1
330 0x9200 0x0 0x0 0x3 &mpic 0x1 0x1
331 0x9200 0x0 0x0 0x4 &mpic 0x2 0x1
332
333 /* IDSEL 0x12 func 3 - PCI slot 2 */
334 0x9300 0x0 0x0 0x1 &mpic 0x3 0x1
335 0x9300 0x0 0x0 0x2 &mpic 0x4 0x1
336 0x9300 0x0 0x0 0x3 &mpic 0x1 0x1
337 0x9300 0x0 0x0 0x4 &mpic 0x2 0x1
338
339 /* IDSEL 0x12 func 4 - PCI slot 2 */
340 0x9400 0x0 0x0 0x1 &mpic 0x3 0x1
341 0x9400 0x0 0x0 0x2 &mpic 0x4 0x1
342 0x9400 0x0 0x0 0x3 &mpic 0x1 0x1
343 0x9400 0x0 0x0 0x4 &mpic 0x2 0x1
344
345 /* IDSEL 0x12 func 5 - PCI slot 2 */
346 0x9500 0x0 0x0 0x1 &mpic 0x3 0x1
347 0x9500 0x0 0x0 0x2 &mpic 0x4 0x1
348 0x9500 0x0 0x0 0x3 &mpic 0x1 0x1
349 0x9500 0x0 0x0 0x4 &mpic 0x2 0x1
350
351 /* IDSEL 0x12 func 6 - PCI slot 2 */
352 0x9600 0x0 0x0 0x1 &mpic 0x3 0x1
353 0x9600 0x0 0x0 0x2 &mpic 0x4 0x1
354 0x9600 0x0 0x0 0x3 &mpic 0x1 0x1
355 0x9600 0x0 0x0 0x4 &mpic 0x2 0x1
356
357 /* IDSEL 0x12 func 7 - PCI slot 2 */
358 0x9700 0x0 0x0 0x1 &mpic 0x3 0x1
359 0x9700 0x0 0x0 0x2 &mpic 0x4 0x1
360 0x9700 0x0 0x0 0x3 &mpic 0x1 0x1
361 0x9700 0x0 0x0 0x4 &mpic 0x2 0x1
362
363 // IDSEL 0x1c USB
364 0xe000 0x0 0x0 0x1 &i8259 0xc 0x2
365 0xe100 0x0 0x0 0x2 &i8259 0x9 0x2
366 0xe200 0x0 0x0 0x3 &i8259 0xa 0x2
367 0xe300 0x0 0x0 0x4 &i8259 0xb 0x2
368
369 // IDSEL 0x1d Audio
370 0xe800 0x0 0x0 0x1 &i8259 0x6 0x2
371
372 // IDSEL 0x1e Legacy
373 0xf000 0x0 0x0 0x1 &i8259 0x7 0x2
374 0xf100 0x0 0x0 0x1 &i8259 0x7 0x2
375
376 // IDSEL 0x1f IDE/SATA
377 0xf800 0x0 0x0 0x1 &i8259 0xe 0x2
378 0xf900 0x0 0x0 0x1 &i8259 0x5 0x2
379
380 >;
381
382 pcie@0 {
383 reg = <0x0 0x0 0x0 0x0 0x0>;
384 #size-cells = <2>;
385 #address-cells = <3>;
386 device_type = "pci";
387 ranges = <0x2000000 0x0 0x80000000
388 0x2000000 0x0 0x80000000
389 0x0 0x20000000
390
391 0x1000000 0x0 0x0
392 0x1000000 0x0 0x0
393 0x0 0x10000>;
394 uli1575@0 {
395 reg = <0x0 0x0 0x0 0x0 0x0>;
396 #size-cells = <2>;
397 #address-cells = <3>;
398 ranges = <0x2000000 0x0 0x80000000
399 0x2000000 0x0 0x80000000
400 0x0 0x20000000
401
402 0x1000000 0x0 0x0
403 0x1000000 0x0 0x0
404 0x0 0x10000>;
405 isa@1e {
406 device_type = "isa";
407 #interrupt-cells = <2>;
408 #size-cells = <1>;
409 #address-cells = <2>;
410 reg = <0xf000 0x0 0x0 0x0 0x0>;
411 ranges = <0x1 0x0 0x1000000 0x0 0x0
412 0x1000>;
413 interrupt-parent = <&i8259>;
414
415 i8259: interrupt-controller@20 {
416 reg = <0x1 0x20 0x2
417 0x1 0xa0 0x2
418 0x1 0x4d0 0x2>;
419 interrupt-controller;
420 device_type = "interrupt-controller";
421 #address-cells = <0>;
422 #interrupt-cells = <2>;
423 compatible = "chrp,iic";
424 interrupts = <9 2>;
425 interrupt-parent = <&mpic>;
426 };
427
428 i8042@60 {
429 #size-cells = <0>;
430 #address-cells = <1>;
431 reg = <0x1 0x60 0x1 0x1 0x64 0x1>;
432 interrupts = <1 3 12 3>;
433 interrupt-parent =
434 <&i8259>;
435
436 keyboard@0 {
437 reg = <0x0>;
438 compatible = "pnpPNP,303";
439 };
440
441 mouse@1 {
442 reg = <0x1>;
443 compatible = "pnpPNP,f03";
444 };
445 };
446
447 rtc@70 {
448 compatible = "pnpPNP,b00";
449 reg = <0x1 0x70 0x2>;
450 };
451
452 gpio@400 {
453 reg = <0x1 0x400 0x80>;
454 };
455 };
456 };
457 };
458
459 };
460
461 pci1: pcie@ffe09000 {
462 compatible = "fsl,mpc8548-pcie";
463 device_type = "pci";
464 #interrupt-cells = <1>;
465 #size-cells = <2>;
466 #address-cells = <3>;
467 reg = <0xffe09000 0x1000>;
468 bus-range = <0 255>;
469 ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
470 0x1000000 0x0 0x0 0xffc10000 0x0 0x10000>;
471 clock-frequency = <33333333>;
472 interrupt-parent = <&mpic>;
473 interrupts = <25 2>;
474 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
475 interrupt-map = <
476 /* IDSEL 0x0 */
477 0000 0x0 0x0 0x1 &mpic 0x4 0x1
478 0000 0x0 0x0 0x2 &mpic 0x5 0x1
479 0000 0x0 0x0 0x3 &mpic 0x6 0x1
480 0000 0x0 0x0 0x4 &mpic 0x7 0x1
481 >;
482 pcie@0 {
483 reg = <0x0 0x0 0x0 0x0 0x0>;
484 #size-cells = <2>;
485 #address-cells = <3>;
486 device_type = "pci";
487 ranges = <0x2000000 0x0 0xa0000000
488 0x2000000 0x0 0xa0000000
489 0x0 0x20000000
490
491 0x1000000 0x0 0x0
492 0x1000000 0x0 0x0
493 0x0 0x10000>;
494 };
495 };
496 };
This page took 0.040796 seconds and 5 git commands to generate.