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";
38 d-cache-line-size = <32>;
39 i-cache-line-size = <32>;
40 d-cache-size = <32768>; // L1
41 i-cache-size = <32768>; // L1
42 timebase-frequency = <0>; // From uboot
43 bus-frequency = <0>; // From uboot
44 clock-frequency = <0>; // From uboot
49 d-cache-line-size = <32>;
50 i-cache-line-size = <32>;
51 d-cache-size = <32768>;
52 i-cache-size = <32768>;
53 timebase-frequency = <0>; // From uboot
54 bus-frequency = <0>; // From uboot
55 clock-frequency = <0>; // From uboot
60 device_type = "memory";
61 reg = <0x00000000 0x40000000>; // 1G at 0x0
67 compatible = "fsl,mpc8641-localbus", "simple-bus";
68 reg = <0xffe05000 0x1000>;
70 interrupt-parent = <&mpic>;
72 ranges = <0 0 0xef800000 0x00800000
73 2 0 0xffdf8000 0x00008000
74 3 0 0xffdf0000 0x00008000>;
77 compatible = "cfi-flash";
78 reg = <0 0 0x00800000>;
85 reg = <0x00000000 0x00300000>;
89 reg = <0x00300000 0x00100000>;
94 reg = <0x00400000 0x00300000>;
98 reg = <0x00700000 0x00100000>;
105 #address-cells = <1>;
108 compatible = "simple-bus";
109 ranges = <0x00000000 0xffe00000 0x00100000>;
113 compatible = "fsl,mcm-law";
119 compatible = "fsl,mpc8641-mcm", "fsl,mcm";
120 reg = <0x1000 0x1000>;
122 interrupt-parent = <&mpic>;
126 #address-cells = <1>;
129 compatible = "fsl-i2c";
130 reg = <0x3000 0x100>;
132 interrupt-parent = <&mpic>;
137 #address-cells = <1>;
140 compatible = "fsl-i2c";
141 reg = <0x3100 0x100>;
143 interrupt-parent = <&mpic>;
148 #address-cells = <1>;
150 compatible = "fsl,mpc8641-dma", "fsl,eloplus-dma";
152 ranges = <0x0 0x21100 0x200>;
155 compatible = "fsl,mpc8641-dma-channel",
156 "fsl,eloplus-dma-channel";
159 interrupt-parent = <&mpic>;
163 compatible = "fsl,mpc8641-dma-channel",
164 "fsl,eloplus-dma-channel";
167 interrupt-parent = <&mpic>;
171 compatible = "fsl,mpc8641-dma-channel",
172 "fsl,eloplus-dma-channel";
175 interrupt-parent = <&mpic>;
179 compatible = "fsl,mpc8641-dma-channel",
180 "fsl,eloplus-dma-channel";
183 interrupt-parent = <&mpic>;
188 enet0: ethernet@24000 {
189 #address-cells = <1>;
192 device_type = "network";
194 compatible = "gianfar";
195 reg = <0x24000 0x1000>;
196 ranges = <0x0 0x24000 0x1000>;
197 local-mac-address = [ 00 00 00 00 00 00 ];
198 interrupts = <29 2 30 2 34 2>;
199 interrupt-parent = <&mpic>;
200 tbi-handle = <&tbi0>;
201 phy-handle = <&phy0>;
202 phy-connection-type = "rgmii-id";
205 #address-cells = <1>;
207 compatible = "fsl,gianfar-mdio";
210 phy0: ethernet-phy@0 {
211 interrupt-parent = <&mpic>;
215 phy1: ethernet-phy@1 {
216 interrupt-parent = <&mpic>;
220 phy2: ethernet-phy@2 {
221 interrupt-parent = <&mpic>;
225 phy3: ethernet-phy@3 {
226 interrupt-parent = <&mpic>;
232 device_type = "tbi-phy";
237 enet1: ethernet@25000 {
238 #address-cells = <1>;
241 device_type = "network";
243 compatible = "gianfar";
244 reg = <0x25000 0x1000>;
245 ranges = <0x0 0x25000 0x1000>;
246 local-mac-address = [ 00 00 00 00 00 00 ];
247 interrupts = <35 2 36 2 40 2>;
248 interrupt-parent = <&mpic>;
249 tbi-handle = <&tbi1>;
250 phy-handle = <&phy1>;
251 phy-connection-type = "rgmii-id";
254 #address-cells = <1>;
256 compatible = "fsl,gianfar-tbi";
261 device_type = "tbi-phy";
266 enet2: ethernet@26000 {
267 #address-cells = <1>;
270 device_type = "network";
272 compatible = "gianfar";
273 reg = <0x26000 0x1000>;
274 ranges = <0x0 0x26000 0x1000>;
275 local-mac-address = [ 00 00 00 00 00 00 ];
276 interrupts = <31 2 32 2 33 2>;
277 interrupt-parent = <&mpic>;
278 tbi-handle = <&tbi2>;
279 phy-handle = <&phy2>;
280 phy-connection-type = "rgmii-id";
283 #address-cells = <1>;
285 compatible = "fsl,gianfar-tbi";
290 device_type = "tbi-phy";
295 enet3: ethernet@27000 {
296 #address-cells = <1>;
299 device_type = "network";
301 compatible = "gianfar";
302 reg = <0x27000 0x1000>;
303 ranges = <0x0 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 #address-cells = <1>;
314 compatible = "fsl,gianfar-tbi";
319 device_type = "tbi-phy";
324 serial0: serial@4500 {
326 device_type = "serial";
327 compatible = "fsl,ns16550", "ns16550";
328 reg = <0x4500 0x100>;
329 clock-frequency = <0>;
331 interrupt-parent = <&mpic>;
334 serial1: serial@4600 {
336 device_type = "serial";
337 compatible = "fsl,ns16550", "ns16550";
338 reg = <0x4600 0x100>;
339 clock-frequency = <0>;
341 interrupt-parent = <&mpic>;
345 interrupt-controller;
346 #address-cells = <0>;
347 #interrupt-cells = <2>;
348 reg = <0x40000 0x40000>;
349 compatible = "chrp,open-pic";
350 device_type = "open-pic";
354 #address-cells = <1>;
356 compatible = "fsl,srio-rmu";
357 reg = <0xd3000 0x500>;
358 ranges = <0x0 0xd3000 0x500>;
361 compatible = "fsl,srio-msg-unit";
364 53 2 /* msg1_tx_irq */
365 54 2>;/* msg1_rx_irq */
368 compatible = "fsl,srio-msg-unit";
371 55 2 /* msg2_tx_irq */
372 56 2>;/* msg2_rx_irq */
375 compatible = "fsl,srio-dbell-unit";
378 49 2 /* bell_outb_irq */
379 50 2>;/* bell_inb_irq */
381 port-write-unit@4e0 {
382 compatible = "fsl,srio-port-write-unit";
388 global-utilities@e0000 {
389 compatible = "fsl,mpc8641-guts";
390 reg = <0xe0000 0x1000>;
395 pci0: pcie@ffe08000 {
396 compatible = "fsl,mpc8641-pcie";
398 #interrupt-cells = <1>;
400 #address-cells = <3>;
401 reg = <0xffe08000 0x1000>;
402 bus-range = <0x0 0xff>;
403 ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
404 0x01000000 0x0 0x00000000 0xffc00000 0x0 0x00010000>;
405 clock-frequency = <33333333>;
406 interrupt-parent = <&mpic>;
408 interrupt-map-mask = <0xff00 0 0 7>;
410 /* IDSEL 0x11 func 0 - PCI slot 1 */
411 0x8800 0 0 1 &mpic 2 1
412 0x8800 0 0 2 &mpic 3 1
413 0x8800 0 0 3 &mpic 4 1
414 0x8800 0 0 4 &mpic 1 1
416 /* IDSEL 0x11 func 1 - PCI slot 1 */
417 0x8900 0 0 1 &mpic 2 1
418 0x8900 0 0 2 &mpic 3 1
419 0x8900 0 0 3 &mpic 4 1
420 0x8900 0 0 4 &mpic 1 1
422 /* IDSEL 0x11 func 2 - PCI slot 1 */
423 0x8a00 0 0 1 &mpic 2 1
424 0x8a00 0 0 2 &mpic 3 1
425 0x8a00 0 0 3 &mpic 4 1
426 0x8a00 0 0 4 &mpic 1 1
428 /* IDSEL 0x11 func 3 - PCI slot 1 */
429 0x8b00 0 0 1 &mpic 2 1
430 0x8b00 0 0 2 &mpic 3 1
431 0x8b00 0 0 3 &mpic 4 1
432 0x8b00 0 0 4 &mpic 1 1
434 /* IDSEL 0x11 func 4 - PCI slot 1 */
435 0x8c00 0 0 1 &mpic 2 1
436 0x8c00 0 0 2 &mpic 3 1
437 0x8c00 0 0 3 &mpic 4 1
438 0x8c00 0 0 4 &mpic 1 1
440 /* IDSEL 0x11 func 5 - PCI slot 1 */
441 0x8d00 0 0 1 &mpic 2 1
442 0x8d00 0 0 2 &mpic 3 1
443 0x8d00 0 0 3 &mpic 4 1
444 0x8d00 0 0 4 &mpic 1 1
446 /* IDSEL 0x11 func 6 - PCI slot 1 */
447 0x8e00 0 0 1 &mpic 2 1
448 0x8e00 0 0 2 &mpic 3 1
449 0x8e00 0 0 3 &mpic 4 1
450 0x8e00 0 0 4 &mpic 1 1
452 /* IDSEL 0x11 func 7 - PCI slot 1 */
453 0x8f00 0 0 1 &mpic 2 1
454 0x8f00 0 0 2 &mpic 3 1
455 0x8f00 0 0 3 &mpic 4 1
456 0x8f00 0 0 4 &mpic 1 1
458 /* IDSEL 0x12 func 0 - PCI slot 2 */
459 0x9000 0 0 1 &mpic 3 1
460 0x9000 0 0 2 &mpic 4 1
461 0x9000 0 0 3 &mpic 1 1
462 0x9000 0 0 4 &mpic 2 1
464 /* IDSEL 0x12 func 1 - PCI slot 2 */
465 0x9100 0 0 1 &mpic 3 1
466 0x9100 0 0 2 &mpic 4 1
467 0x9100 0 0 3 &mpic 1 1
468 0x9100 0 0 4 &mpic 2 1
470 /* IDSEL 0x12 func 2 - PCI slot 2 */
471 0x9200 0 0 1 &mpic 3 1
472 0x9200 0 0 2 &mpic 4 1
473 0x9200 0 0 3 &mpic 1 1
474 0x9200 0 0 4 &mpic 2 1
476 /* IDSEL 0x12 func 3 - PCI slot 2 */
477 0x9300 0 0 1 &mpic 3 1
478 0x9300 0 0 2 &mpic 4 1
479 0x9300 0 0 3 &mpic 1 1
480 0x9300 0 0 4 &mpic 2 1
482 /* IDSEL 0x12 func 4 - PCI slot 2 */
483 0x9400 0 0 1 &mpic 3 1
484 0x9400 0 0 2 &mpic 4 1
485 0x9400 0 0 3 &mpic 1 1
486 0x9400 0 0 4 &mpic 2 1
488 /* IDSEL 0x12 func 5 - PCI slot 2 */
489 0x9500 0 0 1 &mpic 3 1
490 0x9500 0 0 2 &mpic 4 1
491 0x9500 0 0 3 &mpic 1 1
492 0x9500 0 0 4 &mpic 2 1
494 /* IDSEL 0x12 func 6 - PCI slot 2 */
495 0x9600 0 0 1 &mpic 3 1
496 0x9600 0 0 2 &mpic 4 1
497 0x9600 0 0 3 &mpic 1 1
498 0x9600 0 0 4 &mpic 2 1
500 /* IDSEL 0x12 func 7 - PCI slot 2 */
501 0x9700 0 0 1 &mpic 3 1
502 0x9700 0 0 2 &mpic 4 1
503 0x9700 0 0 3 &mpic 1 1
504 0x9700 0 0 4 &mpic 2 1
507 0xe000 0 0 1 &i8259 12 2
508 0xe100 0 0 2 &i8259 9 2
509 0xe200 0 0 3 &i8259 10 2
510 0xe300 0 0 4 &i8259 11 2
513 0xe800 0 0 1 &i8259 6 2
516 0xf000 0 0 1 &i8259 7 2
517 0xf100 0 0 1 &i8259 7 2
519 // IDSEL 0x1f IDE/SATA
520 0xf800 0 0 1 &i8259 14 2
521 0xf900 0 0 1 &i8259 5 2
527 #address-cells = <3>;
529 ranges = <0x02000000 0x0 0x80000000
530 0x02000000 0x0 0x80000000
533 0x01000000 0x0 0x00000000
534 0x01000000 0x0 0x00000000
539 #address-cells = <3>;
540 ranges = <0x02000000 0x0 0x80000000
541 0x02000000 0x0 0x80000000
543 0x01000000 0x0 0x00000000
544 0x01000000 0x0 0x00000000
548 #interrupt-cells = <2>;
550 #address-cells = <2>;
551 reg = <0xf000 0 0 0 0>;
552 ranges = <1 0 0x01000000 0 0
554 interrupt-parent = <&i8259>;
556 i8259: interrupt-controller@20 {
560 interrupt-controller;
561 device_type = "interrupt-controller";
562 #address-cells = <0>;
563 #interrupt-cells = <2>;
564 compatible = "chrp,iic";
566 interrupt-parent = <&mpic>;
571 #address-cells = <1>;
572 reg = <1 0x60 1 1 0x64 1>;
573 interrupts = <1 3 12 3>;
579 compatible = "pnpPNP,303";
584 compatible = "pnpPNP,f03";
595 reg = <1 0x400 0x80>;
603 pci1: pcie@ffe09000 {
604 compatible = "fsl,mpc8641-pcie";
606 #interrupt-cells = <1>;
608 #address-cells = <3>;
609 reg = <0xffe09000 0x1000>;
610 bus-range = <0 0xff>;
611 ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
612 0x01000000 0x0 0x00000000 0xffc10000 0x0 0x00010000>;
613 clock-frequency = <33333333>;
614 interrupt-parent = <&mpic>;
616 interrupt-map-mask = <0xf800 0 0 7>;
619 0x0000 0 0 1 &mpic 4 1
620 0x0000 0 0 2 &mpic 5 1
621 0x0000 0 0 3 &mpic 6 1
622 0x0000 0 0 4 &mpic 7 1
627 #address-cells = <3>;
629 ranges = <0x02000000 0x0 0xa0000000
630 0x02000000 0x0 0xa0000000
633 0x01000000 0x0 0x00000000
634 0x01000000 0x0 0x00000000
639 * Only one of Rapid IO or PCI can be present due to HW limitations and
640 * due to the fact that the 2 now share address space in the new memory
641 * map. The most likely case is that we have PCI, so comment out the
642 * rapidio node. Leave it here for reference.
645 reg = <0xffec0000 0x11000>;
646 compatible = "fsl,srio";
647 interrupt-parent = <&mpic>;
649 #address-cells = <2>;
651 fsl,srio-rmu-handle = <&rmu>;
655 #address-cells = <2>;
658 ranges = <0 0 0x80000000 0 0x20000000>;