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>;
214 device_type = "ethernet-phy";
216 phy1: ethernet-phy@1 {
217 interrupt-parent = <&mpic>;
220 device_type = "ethernet-phy";
222 phy2: ethernet-phy@2 {
223 interrupt-parent = <&mpic>;
226 device_type = "ethernet-phy";
228 phy3: ethernet-phy@3 {
229 interrupt-parent = <&mpic>;
232 device_type = "ethernet-phy";
236 device_type = "tbi-phy";
241 enet1: ethernet@25000 {
242 #address-cells = <1>;
245 device_type = "network";
247 compatible = "gianfar";
248 reg = <0x25000 0x1000>;
249 ranges = <0x0 0x25000 0x1000>;
250 local-mac-address = [ 00 00 00 00 00 00 ];
251 interrupts = <35 2 36 2 40 2>;
252 interrupt-parent = <&mpic>;
253 tbi-handle = <&tbi1>;
254 phy-handle = <&phy1>;
255 phy-connection-type = "rgmii-id";
258 #address-cells = <1>;
260 compatible = "fsl,gianfar-tbi";
265 device_type = "tbi-phy";
270 enet2: ethernet@26000 {
271 #address-cells = <1>;
274 device_type = "network";
276 compatible = "gianfar";
277 reg = <0x26000 0x1000>;
278 ranges = <0x0 0x26000 0x1000>;
279 local-mac-address = [ 00 00 00 00 00 00 ];
280 interrupts = <31 2 32 2 33 2>;
281 interrupt-parent = <&mpic>;
282 tbi-handle = <&tbi2>;
283 phy-handle = <&phy2>;
284 phy-connection-type = "rgmii-id";
287 #address-cells = <1>;
289 compatible = "fsl,gianfar-tbi";
294 device_type = "tbi-phy";
299 enet3: ethernet@27000 {
300 #address-cells = <1>;
303 device_type = "network";
305 compatible = "gianfar";
306 reg = <0x27000 0x1000>;
307 ranges = <0x0 0x27000 0x1000>;
308 local-mac-address = [ 00 00 00 00 00 00 ];
309 interrupts = <37 2 38 2 39 2>;
310 interrupt-parent = <&mpic>;
311 tbi-handle = <&tbi3>;
312 phy-handle = <&phy3>;
313 phy-connection-type = "rgmii-id";
316 #address-cells = <1>;
318 compatible = "fsl,gianfar-tbi";
323 device_type = "tbi-phy";
328 serial0: serial@4500 {
330 device_type = "serial";
331 compatible = "fsl,ns16550", "ns16550";
332 reg = <0x4500 0x100>;
333 clock-frequency = <0>;
335 interrupt-parent = <&mpic>;
338 serial1: serial@4600 {
340 device_type = "serial";
341 compatible = "fsl,ns16550", "ns16550";
342 reg = <0x4600 0x100>;
343 clock-frequency = <0>;
345 interrupt-parent = <&mpic>;
349 interrupt-controller;
350 #address-cells = <0>;
351 #interrupt-cells = <2>;
352 reg = <0x40000 0x40000>;
353 compatible = "chrp,open-pic";
354 device_type = "open-pic";
358 #address-cells = <1>;
360 compatible = "fsl,srio-rmu";
361 reg = <0xd3000 0x500>;
362 ranges = <0x0 0xd3000 0x500>;
365 compatible = "fsl,srio-msg-unit";
368 53 2 /* msg1_tx_irq */
369 54 2>;/* msg1_rx_irq */
372 compatible = "fsl,srio-msg-unit";
375 55 2 /* msg2_tx_irq */
376 56 2>;/* msg2_rx_irq */
379 compatible = "fsl,srio-dbell-unit";
382 49 2 /* bell_outb_irq */
383 50 2>;/* bell_inb_irq */
385 port-write-unit@4e0 {
386 compatible = "fsl,srio-port-write-unit";
392 global-utilities@e0000 {
393 compatible = "fsl,mpc8641-guts";
394 reg = <0xe0000 0x1000>;
399 pci0: pcie@ffe08000 {
400 compatible = "fsl,mpc8641-pcie";
402 #interrupt-cells = <1>;
404 #address-cells = <3>;
405 reg = <0xffe08000 0x1000>;
406 bus-range = <0x0 0xff>;
407 ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
408 0x01000000 0x0 0x00000000 0xffc00000 0x0 0x00010000>;
409 clock-frequency = <33333333>;
410 interrupt-parent = <&mpic>;
412 interrupt-map-mask = <0xff00 0 0 7>;
414 /* IDSEL 0x11 func 0 - PCI slot 1 */
415 0x8800 0 0 1 &mpic 2 1
416 0x8800 0 0 2 &mpic 3 1
417 0x8800 0 0 3 &mpic 4 1
418 0x8800 0 0 4 &mpic 1 1
420 /* IDSEL 0x11 func 1 - PCI slot 1 */
421 0x8900 0 0 1 &mpic 2 1
422 0x8900 0 0 2 &mpic 3 1
423 0x8900 0 0 3 &mpic 4 1
424 0x8900 0 0 4 &mpic 1 1
426 /* IDSEL 0x11 func 2 - PCI slot 1 */
427 0x8a00 0 0 1 &mpic 2 1
428 0x8a00 0 0 2 &mpic 3 1
429 0x8a00 0 0 3 &mpic 4 1
430 0x8a00 0 0 4 &mpic 1 1
432 /* IDSEL 0x11 func 3 - PCI slot 1 */
433 0x8b00 0 0 1 &mpic 2 1
434 0x8b00 0 0 2 &mpic 3 1
435 0x8b00 0 0 3 &mpic 4 1
436 0x8b00 0 0 4 &mpic 1 1
438 /* IDSEL 0x11 func 4 - PCI slot 1 */
439 0x8c00 0 0 1 &mpic 2 1
440 0x8c00 0 0 2 &mpic 3 1
441 0x8c00 0 0 3 &mpic 4 1
442 0x8c00 0 0 4 &mpic 1 1
444 /* IDSEL 0x11 func 5 - PCI slot 1 */
445 0x8d00 0 0 1 &mpic 2 1
446 0x8d00 0 0 2 &mpic 3 1
447 0x8d00 0 0 3 &mpic 4 1
448 0x8d00 0 0 4 &mpic 1 1
450 /* IDSEL 0x11 func 6 - PCI slot 1 */
451 0x8e00 0 0 1 &mpic 2 1
452 0x8e00 0 0 2 &mpic 3 1
453 0x8e00 0 0 3 &mpic 4 1
454 0x8e00 0 0 4 &mpic 1 1
456 /* IDSEL 0x11 func 7 - PCI slot 1 */
457 0x8f00 0 0 1 &mpic 2 1
458 0x8f00 0 0 2 &mpic 3 1
459 0x8f00 0 0 3 &mpic 4 1
460 0x8f00 0 0 4 &mpic 1 1
462 /* IDSEL 0x12 func 0 - PCI slot 2 */
463 0x9000 0 0 1 &mpic 3 1
464 0x9000 0 0 2 &mpic 4 1
465 0x9000 0 0 3 &mpic 1 1
466 0x9000 0 0 4 &mpic 2 1
468 /* IDSEL 0x12 func 1 - PCI slot 2 */
469 0x9100 0 0 1 &mpic 3 1
470 0x9100 0 0 2 &mpic 4 1
471 0x9100 0 0 3 &mpic 1 1
472 0x9100 0 0 4 &mpic 2 1
474 /* IDSEL 0x12 func 2 - PCI slot 2 */
475 0x9200 0 0 1 &mpic 3 1
476 0x9200 0 0 2 &mpic 4 1
477 0x9200 0 0 3 &mpic 1 1
478 0x9200 0 0 4 &mpic 2 1
480 /* IDSEL 0x12 func 3 - PCI slot 2 */
481 0x9300 0 0 1 &mpic 3 1
482 0x9300 0 0 2 &mpic 4 1
483 0x9300 0 0 3 &mpic 1 1
484 0x9300 0 0 4 &mpic 2 1
486 /* IDSEL 0x12 func 4 - PCI slot 2 */
487 0x9400 0 0 1 &mpic 3 1
488 0x9400 0 0 2 &mpic 4 1
489 0x9400 0 0 3 &mpic 1 1
490 0x9400 0 0 4 &mpic 2 1
492 /* IDSEL 0x12 func 5 - PCI slot 2 */
493 0x9500 0 0 1 &mpic 3 1
494 0x9500 0 0 2 &mpic 4 1
495 0x9500 0 0 3 &mpic 1 1
496 0x9500 0 0 4 &mpic 2 1
498 /* IDSEL 0x12 func 6 - PCI slot 2 */
499 0x9600 0 0 1 &mpic 3 1
500 0x9600 0 0 2 &mpic 4 1
501 0x9600 0 0 3 &mpic 1 1
502 0x9600 0 0 4 &mpic 2 1
504 /* IDSEL 0x12 func 7 - PCI slot 2 */
505 0x9700 0 0 1 &mpic 3 1
506 0x9700 0 0 2 &mpic 4 1
507 0x9700 0 0 3 &mpic 1 1
508 0x9700 0 0 4 &mpic 2 1
511 0xe000 0 0 1 &i8259 12 2
512 0xe100 0 0 2 &i8259 9 2
513 0xe200 0 0 3 &i8259 10 2
514 0xe300 0 0 4 &i8259 11 2
517 0xe800 0 0 1 &i8259 6 2
520 0xf000 0 0 1 &i8259 7 2
521 0xf100 0 0 1 &i8259 7 2
523 // IDSEL 0x1f IDE/SATA
524 0xf800 0 0 1 &i8259 14 2
525 0xf900 0 0 1 &i8259 5 2
531 #address-cells = <3>;
533 ranges = <0x02000000 0x0 0x80000000
534 0x02000000 0x0 0x80000000
537 0x01000000 0x0 0x00000000
538 0x01000000 0x0 0x00000000
543 #address-cells = <3>;
544 ranges = <0x02000000 0x0 0x80000000
545 0x02000000 0x0 0x80000000
547 0x01000000 0x0 0x00000000
548 0x01000000 0x0 0x00000000
552 #interrupt-cells = <2>;
554 #address-cells = <2>;
555 reg = <0xf000 0 0 0 0>;
556 ranges = <1 0 0x01000000 0 0
558 interrupt-parent = <&i8259>;
560 i8259: interrupt-controller@20 {
564 interrupt-controller;
565 device_type = "interrupt-controller";
566 #address-cells = <0>;
567 #interrupt-cells = <2>;
568 compatible = "chrp,iic";
570 interrupt-parent = <&mpic>;
575 #address-cells = <1>;
576 reg = <1 0x60 1 1 0x64 1>;
577 interrupts = <1 3 12 3>;
583 compatible = "pnpPNP,303";
588 compatible = "pnpPNP,f03";
599 reg = <1 0x400 0x80>;
607 pci1: pcie@ffe09000 {
608 compatible = "fsl,mpc8641-pcie";
610 #interrupt-cells = <1>;
612 #address-cells = <3>;
613 reg = <0xffe09000 0x1000>;
614 bus-range = <0 0xff>;
615 ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
616 0x01000000 0x0 0x00000000 0xffc10000 0x0 0x00010000>;
617 clock-frequency = <33333333>;
618 interrupt-parent = <&mpic>;
620 interrupt-map-mask = <0xf800 0 0 7>;
623 0x0000 0 0 1 &mpic 4 1
624 0x0000 0 0 2 &mpic 5 1
625 0x0000 0 0 3 &mpic 6 1
626 0x0000 0 0 4 &mpic 7 1
631 #address-cells = <3>;
633 ranges = <0x02000000 0x0 0xa0000000
634 0x02000000 0x0 0xa0000000
637 0x01000000 0x0 0x00000000
638 0x01000000 0x0 0x00000000
643 * Only one of Rapid IO or PCI can be present due to HW limitations and
644 * due to the fact that the 2 now share address space in the new memory
645 * map. The most likely case is that we have PCI, so comment out the
646 * rapidio node. Leave it here for reference.
649 reg = <0xffec0000 0x11000>;
650 compatible = "fsl,srio";
651 interrupt-parent = <&mpic>;
653 #address-cells = <2>;
655 fsl,srio-rmu-handle = <&rmu>;
659 #address-cells = <2>;
662 ranges = <0 0 0x80000000 0 0x20000000>;