]> err.no Git - linux-2.6/commitdiff
[POWERPC] 86xx: Add uli1575 pci-bridge sector to MPC8641HPCN dts file.
authorWade Farnsworth <wfarnsworth@mvista.com>
Mon, 4 Jun 2007 20:24:47 +0000 (13:24 -0700)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 29 Jun 2007 06:58:19 +0000 (01:58 -0500)
This adds device nodes for the PCI bridges as well as the ISA devices on
the newer revision MPC8641HPCN.  It also adds the PCI ranges to the soc
node so that address translation for the ISA devices works properly.

Signed-off-by: Wade Farnsworth <wfarnsworth@mvista.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/dts/mpc8641_hpcn.dts

index 748f7b90f5dbc1d0289a8e3bdce3ce1f71d6aef4..393cfdf92ff5401d39f2e742f49e4c8baec0f82f 100644 (file)
                #size-cells = <1>;
                #interrupt-cells = <2>;
                device_type = "soc";
-               ranges = <0 f8000000 00100000>;
-               reg = <f8000000 00100000>;      // CCSRBAR 1M
+               ranges = <00001000 f8001000 000ff000
+                         80000000 80000000 20000000
+                         e2000000 e2000000 00100000
+                         a0000000 a0000000 20000000
+                         e3000000 e3000000 00100000>;
+               reg = <f8000000 00001000>;      // CCSRBAR
                bus-frequency = <0>;
 
                i2c@3000 {
                                f800 0 0 3 &i8259 0 0
                                f800 0 0 4 &i8259 0 0
                                >;
-                       i8259: i8259@4d0 {
-                               clock-frequency = <0>;
-                               interrupt-controller;
-                               device_type = "interrupt-controller";
-                               #address-cells = <0>;
-                               #interrupt-cells = <2>;
-                               built-in;
-                               compatible = "chrp,iic";
-                               big-endian;
-                               interrupts = <49 2>;
-                               interrupt-parent = <&mpic>;
+                       uli1575@0 {
+                               reg = <0 0 0 0 0>;
+                               #size-cells = <2>;
+                               #address-cells = <3>;
+                               ranges = <02000000 0 80000000
+                                         02000000 0 80000000
+                                         0 20000000
+                                         01000000 0 00000000
+                                         01000000 0 00000000
+                                         0 00100000>;
+
+                               pci_bridge@0 {
+                                       reg = <0 0 0 0 0>;
+                                       #size-cells = <2>;
+                                       #address-cells = <3>;
+                                       ranges = <02000000 0 80000000
+                                                 02000000 0 80000000
+                                                 0 20000000
+                                                 01000000 0 00000000
+                                                 01000000 0 00000000
+                                                 0 00100000>;
+
+                                       isa@1e {
+                                               device_type = "isa";
+                                               #interrupt-cells = <2>;
+                                               #size-cells = <1>;
+                                               #address-cells = <2>;
+                                               reg = <f000 0 0 0 0>;
+                                               ranges = <1 0 01000000 0 0
+                                                         00001000>;
+                                               interrupt-parent = <&i8259>;
+
+                                               i8259: interrupt-controller@20 {
+                                                       reg = <1 20 2
+                                                              1 a0 2
+                                                              1 4d0 2>;
+                                                       clock-frequency = <0>;
+                                                       interrupt-controller;
+                                                       device_type = "interrupt-controller";
+                                                       #address-cells = <0>;
+                                                       #interrupt-cells = <2>;
+                                                       built-in;
+                                                       compatible = "chrp,iic";
+                                                       interrupts = <49 2>;
+                                                       interrupt-parent =
+                                                               <&mpic>;
+                                               };
+
+                                               i8042@60 {
+                                                       #size-cells = <0>;
+                                                       #address-cells = <1>;
+                                                       reg = <1 60 1 1 64 1>;
+                                                       interrupts = <1 3 c 3>;
+                                                       interrupt-parent =
+                                                               <&i8259>;
+
+                                                       keyboard@0 {
+                                                               reg = <0>;
+                                                               compatible = "pnpPNP,303";
+                                                       };
+
+                                                       mouse@1 {
+                                                               reg = <1>;
+                                                               compatible = "pnpPNP,f03";
+                                                       };
+                                               };
+
+                                               rtc@70 {
+                                                       compatible =
+                                                               "pnpPNP,b00";
+                                                       reg = <1 70 2>;
+                                               };
+
+                                               gpio@400 {
+                                                       reg = <1 400 80>;
+                                               };
+                                       };
+                               };
                        };
 
                };