2 * MPC8641 HPCN Device Tree Source
4 * Copyright 2006 Freescale Semiconductor Inc.
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.
15 model = "MPC8641HPCN";
16 compatible = "fsl,mpc8641hpcn";
30 * Only one of Rapid IO or PCI can be present due to HW limitations and
31 * due to the fact that the 2 now share address space in the new memory
32 * map. The most likely case is that we have PCI, so comment out the
33 * rapidio node. Leave it here for reference.
35 /* rapidio0 = &rapidio0; */
45 d-cache-line-size = <32>;
46 i-cache-line-size = <32>;
47 d-cache-size = <32768>; // L1
48 i-cache-size = <32768>; // L1
49 timebase-frequency = <0>; // From uboot
50 bus-frequency = <0>; // From uboot
51 clock-frequency = <0>; // From uboot
56 d-cache-line-size = <32>;
57 i-cache-line-size = <32>;
58 d-cache-size = <32768>;
59 i-cache-size = <32768>;
60 timebase-frequency = <0>; // From uboot
61 bus-frequency = <0>; // From uboot
62 clock-frequency = <0>; // From uboot
67 device_type = "memory";
68 reg = <0x00000000 0x40000000>; // 1G at 0x0
74 compatible = "fsl,mpc8641-localbus", "simple-bus";
75 reg = <0xffe05000 0x1000>;
77 interrupt-parent = <&mpic>;
79 ranges = <0 0 0xef800000 0x00800000
80 2 0 0xffdf8000 0x00008000
81 3 0 0xffdf0000 0x00008000>;
84 compatible = "cfi-flash";
85 reg = <0 0 0x00800000>;
92 reg = <0x00000000 0x00300000>;
96 reg = <0x00300000 0x00100000>;
101 reg = <0x00400000 0x00300000>;
104 label = "firmware a";
105 reg = <0x00700000 0x00100000>;
112 #address-cells = <1>;
115 compatible = "simple-bus";
116 ranges = <0x00000000 0xffe00000 0x00100000>;
117 reg = <0xffe00000 0x00001000>; // CCSRBAR
121 #address-cells = <1>;
124 compatible = "fsl-i2c";
125 reg = <0x3000 0x100>;
127 interrupt-parent = <&mpic>;
132 #address-cells = <1>;
135 compatible = "fsl-i2c";
136 reg = <0x3100 0x100>;
138 interrupt-parent = <&mpic>;
143 #address-cells = <1>;
145 compatible = "fsl,mpc8641-dma", "fsl,eloplus-dma";
147 ranges = <0x0 0x21100 0x200>;
150 compatible = "fsl,mpc8641-dma-channel",
151 "fsl,eloplus-dma-channel";
154 interrupt-parent = <&mpic>;
158 compatible = "fsl,mpc8641-dma-channel",
159 "fsl,eloplus-dma-channel";
162 interrupt-parent = <&mpic>;
166 compatible = "fsl,mpc8641-dma-channel",
167 "fsl,eloplus-dma-channel";
170 interrupt-parent = <&mpic>;
174 compatible = "fsl,mpc8641-dma-channel",
175 "fsl,eloplus-dma-channel";
178 interrupt-parent = <&mpic>;
184 #address-cells = <1>;
186 compatible = "fsl,gianfar-mdio";
187 reg = <0x24520 0x20>;
189 phy0: ethernet-phy@0 {
190 interrupt-parent = <&mpic>;
193 device_type = "ethernet-phy";
195 phy1: ethernet-phy@1 {
196 interrupt-parent = <&mpic>;
199 device_type = "ethernet-phy";
201 phy2: ethernet-phy@2 {
202 interrupt-parent = <&mpic>;
205 device_type = "ethernet-phy";
207 phy3: ethernet-phy@3 {
208 interrupt-parent = <&mpic>;
211 device_type = "ethernet-phy";
215 device_type = "tbi-phy";
220 #address-cells = <1>;
222 compatible = "fsl,gianfar-tbi";
223 reg = <0x25520 0x20>;
227 device_type = "tbi-phy";
232 #address-cells = <1>;
234 compatible = "fsl,gianfar-tbi";
235 reg = <0x26520 0x20>;
239 device_type = "tbi-phy";
244 #address-cells = <1>;
246 compatible = "fsl,gianfar-tbi";
247 reg = <0x27520 0x20>;
251 device_type = "tbi-phy";
256 enet0: ethernet@24000 {
258 device_type = "network";
260 compatible = "gianfar";
261 reg = <0x24000 0x1000>;
262 local-mac-address = [ 00 00 00 00 00 00 ];
263 interrupts = <29 2 30 2 34 2>;
264 interrupt-parent = <&mpic>;
265 tbi-handle = <&tbi0>;
266 phy-handle = <&phy0>;
267 phy-connection-type = "rgmii-id";
270 enet1: ethernet@25000 {
272 device_type = "network";
274 compatible = "gianfar";
275 reg = <0x25000 0x1000>;
276 local-mac-address = [ 00 00 00 00 00 00 ];
277 interrupts = <35 2 36 2 40 2>;
278 interrupt-parent = <&mpic>;
279 tbi-handle = <&tbi1>;
280 phy-handle = <&phy1>;
281 phy-connection-type = "rgmii-id";
284 enet2: ethernet@26000 {
286 device_type = "network";
288 compatible = "gianfar";
289 reg = <0x26000 0x1000>;
290 local-mac-address = [ 00 00 00 00 00 00 ];
291 interrupts = <31 2 32 2 33 2>;
292 interrupt-parent = <&mpic>;
293 tbi-handle = <&tbi2>;
294 phy-handle = <&phy2>;
295 phy-connection-type = "rgmii-id";
298 enet3: ethernet@27000 {
300 device_type = "network";
302 compatible = "gianfar";
303 reg = <0x27000 0x1000>;
304 local-mac-address = [ 00 00 00 00 00 00 ];
305 interrupts = <37 2 38 2 39 2>;
306 interrupt-parent = <&mpic>;
307 tbi-handle = <&tbi3>;
308 phy-handle = <&phy3>;
309 phy-connection-type = "rgmii-id";
312 serial0: serial@4500 {
314 device_type = "serial";
315 compatible = "ns16550";
316 reg = <0x4500 0x100>;
317 clock-frequency = <0>;
319 interrupt-parent = <&mpic>;
322 serial1: serial@4600 {
324 device_type = "serial";
325 compatible = "ns16550";
326 reg = <0x4600 0x100>;
327 clock-frequency = <0>;
329 interrupt-parent = <&mpic>;
333 interrupt-controller;
334 #address-cells = <0>;
335 #interrupt-cells = <2>;
336 reg = <0x40000 0x40000>;
337 compatible = "chrp,open-pic";
338 device_type = "open-pic";
341 global-utilities@e0000 {
342 compatible = "fsl,mpc8641-guts";
343 reg = <0xe0000 0x1000>;
348 pci0: pcie@ffe08000 {
350 compatible = "fsl,mpc8641-pcie";
352 #interrupt-cells = <1>;
354 #address-cells = <3>;
355 reg = <0xffe08000 0x1000>;
356 bus-range = <0x0 0xff>;
357 ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
358 0x01000000 0x0 0x00000000 0xffc00000 0x0 0x00010000>;
359 clock-frequency = <33333333>;
360 interrupt-parent = <&mpic>;
362 interrupt-map-mask = <0xff00 0 0 7>;
364 /* IDSEL 0x11 func 0 - PCI slot 1 */
365 0x8800 0 0 1 &mpic 2 1
366 0x8800 0 0 2 &mpic 3 1
367 0x8800 0 0 3 &mpic 4 1
368 0x8800 0 0 4 &mpic 1 1
370 /* IDSEL 0x11 func 1 - PCI slot 1 */
371 0x8900 0 0 1 &mpic 2 1
372 0x8900 0 0 2 &mpic 3 1
373 0x8900 0 0 3 &mpic 4 1
374 0x8900 0 0 4 &mpic 1 1
376 /* IDSEL 0x11 func 2 - PCI slot 1 */
377 0x8a00 0 0 1 &mpic 2 1
378 0x8a00 0 0 2 &mpic 3 1
379 0x8a00 0 0 3 &mpic 4 1
380 0x8a00 0 0 4 &mpic 1 1
382 /* IDSEL 0x11 func 3 - PCI slot 1 */
383 0x8b00 0 0 1 &mpic 2 1
384 0x8b00 0 0 2 &mpic 3 1
385 0x8b00 0 0 3 &mpic 4 1
386 0x8b00 0 0 4 &mpic 1 1
388 /* IDSEL 0x11 func 4 - PCI slot 1 */
389 0x8c00 0 0 1 &mpic 2 1
390 0x8c00 0 0 2 &mpic 3 1
391 0x8c00 0 0 3 &mpic 4 1
392 0x8c00 0 0 4 &mpic 1 1
394 /* IDSEL 0x11 func 5 - PCI slot 1 */
395 0x8d00 0 0 1 &mpic 2 1
396 0x8d00 0 0 2 &mpic 3 1
397 0x8d00 0 0 3 &mpic 4 1
398 0x8d00 0 0 4 &mpic 1 1
400 /* IDSEL 0x11 func 6 - PCI slot 1 */
401 0x8e00 0 0 1 &mpic 2 1
402 0x8e00 0 0 2 &mpic 3 1
403 0x8e00 0 0 3 &mpic 4 1
404 0x8e00 0 0 4 &mpic 1 1
406 /* IDSEL 0x11 func 7 - PCI slot 1 */
407 0x8f00 0 0 1 &mpic 2 1
408 0x8f00 0 0 2 &mpic 3 1
409 0x8f00 0 0 3 &mpic 4 1
410 0x8f00 0 0 4 &mpic 1 1
412 /* IDSEL 0x12 func 0 - PCI slot 2 */
413 0x9000 0 0 1 &mpic 3 1
414 0x9000 0 0 2 &mpic 4 1
415 0x9000 0 0 3 &mpic 1 1
416 0x9000 0 0 4 &mpic 2 1
418 /* IDSEL 0x12 func 1 - PCI slot 2 */
419 0x9100 0 0 1 &mpic 3 1
420 0x9100 0 0 2 &mpic 4 1
421 0x9100 0 0 3 &mpic 1 1
422 0x9100 0 0 4 &mpic 2 1
424 /* IDSEL 0x12 func 2 - PCI slot 2 */
425 0x9200 0 0 1 &mpic 3 1
426 0x9200 0 0 2 &mpic 4 1
427 0x9200 0 0 3 &mpic 1 1
428 0x9200 0 0 4 &mpic 2 1
430 /* IDSEL 0x12 func 3 - PCI slot 2 */
431 0x9300 0 0 1 &mpic 3 1
432 0x9300 0 0 2 &mpic 4 1
433 0x9300 0 0 3 &mpic 1 1
434 0x9300 0 0 4 &mpic 2 1
436 /* IDSEL 0x12 func 4 - PCI slot 2 */
437 0x9400 0 0 1 &mpic 3 1
438 0x9400 0 0 2 &mpic 4 1
439 0x9400 0 0 3 &mpic 1 1
440 0x9400 0 0 4 &mpic 2 1
442 /* IDSEL 0x12 func 5 - PCI slot 2 */
443 0x9500 0 0 1 &mpic 3 1
444 0x9500 0 0 2 &mpic 4 1
445 0x9500 0 0 3 &mpic 1 1
446 0x9500 0 0 4 &mpic 2 1
448 /* IDSEL 0x12 func 6 - PCI slot 2 */
449 0x9600 0 0 1 &mpic 3 1
450 0x9600 0 0 2 &mpic 4 1
451 0x9600 0 0 3 &mpic 1 1
452 0x9600 0 0 4 &mpic 2 1
454 /* IDSEL 0x12 func 7 - PCI slot 2 */
455 0x9700 0 0 1 &mpic 3 1
456 0x9700 0 0 2 &mpic 4 1
457 0x9700 0 0 3 &mpic 1 1
458 0x9700 0 0 4 &mpic 2 1
461 0xe000 0 0 1 &i8259 12 2
462 0xe100 0 0 2 &i8259 9 2
463 0xe200 0 0 3 &i8259 10 2
464 0xe300 0 0 4 &i8259 11 2
467 0xe800 0 0 1 &i8259 6 2
470 0xf000 0 0 1 &i8259 7 2
471 0xf100 0 0 1 &i8259 7 2
473 // IDSEL 0x1f IDE/SATA
474 0xf800 0 0 1 &i8259 14 2
475 0xf900 0 0 1 &i8259 5 2
481 #address-cells = <3>;
483 ranges = <0x02000000 0x0 0x80000000
484 0x02000000 0x0 0x80000000
487 0x01000000 0x0 0x00000000
488 0x01000000 0x0 0x00000000
493 #address-cells = <3>;
494 ranges = <0x02000000 0x0 0x80000000
495 0x02000000 0x0 0x80000000
497 0x01000000 0x0 0x00000000
498 0x01000000 0x0 0x00000000
502 #interrupt-cells = <2>;
504 #address-cells = <2>;
505 reg = <0xf000 0 0 0 0>;
506 ranges = <1 0 0x01000000 0 0
508 interrupt-parent = <&i8259>;
510 i8259: interrupt-controller@20 {
514 interrupt-controller;
515 device_type = "interrupt-controller";
516 #address-cells = <0>;
517 #interrupt-cells = <2>;
518 compatible = "chrp,iic";
520 interrupt-parent = <&mpic>;
525 #address-cells = <1>;
526 reg = <1 0x60 1 1 0x64 1>;
527 interrupts = <1 3 12 3>;
533 compatible = "pnpPNP,303";
538 compatible = "pnpPNP,f03";
549 reg = <1 0x400 0x80>;
557 pci1: pcie@ffe09000 {
559 compatible = "fsl,mpc8641-pcie";
561 #interrupt-cells = <1>;
563 #address-cells = <3>;
564 reg = <0xffe09000 0x1000>;
565 bus-range = <0 0xff>;
566 ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
567 0x01000000 0x0 0x00000000 0xffc10000 0x0 0x00010000>;
568 clock-frequency = <33333333>;
569 interrupt-parent = <&mpic>;
571 interrupt-map-mask = <0xf800 0 0 7>;
574 0x0000 0 0 1 &mpic 4 1
575 0x0000 0 0 2 &mpic 5 1
576 0x0000 0 0 3 &mpic 6 1
577 0x0000 0 0 4 &mpic 7 1
582 #address-cells = <3>;
584 ranges = <0x02000000 0x0 0xa0000000
585 0x02000000 0x0 0xa0000000
588 0x01000000 0x0 0x00000000
589 0x01000000 0x0 0x00000000
594 rapidio0: rapidio@ffec0000 {
595 #address-cells = <2>;
597 compatible = "fsl,rapidio-delta";
598 reg = <0xffec0000 0x20000>;
599 ranges = <0 0 0x80000000 0 0x20000000>;
600 interrupt-parent = <&mpic>;
601 // err_irq bell_outb_irq bell_inb_irq
602 // msg1_tx_irq msg1_rx_irq msg2_tx_irq msg2_rx_irq
603 interrupts = <48 2 49 2 50 2 53 2 54 2 55 2 56 2>;