OSDN Git Service

powerpc/fsl: Updated device trees for platforms with corenet version 2
authorDiana Craciun <Diana.Craciun@freescale.com>
Mon, 5 May 2014 16:04:27 +0000 (19:04 +0300)
committerScott Wood <scottwood@freescale.com>
Thu, 22 May 2014 23:08:26 +0000 (18:08 -0500)
Updated the device trees according to the corenet-cf
binding definition.

Signed-off-by: Diana Craciun <Diana.Craciun@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/boot/dts/b4860emu.dts
arch/powerpc/boot/dts/fsl/b4420si-post.dtsi
arch/powerpc/boot/dts/fsl/b4420si-pre.dtsi
arch/powerpc/boot/dts/fsl/b4860si-post.dtsi
arch/powerpc/boot/dts/fsl/b4860si-pre.dtsi
arch/powerpc/boot/dts/fsl/b4si-post.dtsi
arch/powerpc/boot/dts/fsl/t4240si-post.dtsi
arch/powerpc/boot/dts/fsl/t4240si-pre.dtsi
arch/powerpc/boot/dts/t4240emu.dts

index 7290021..85646b4 100644 (file)
                        device_type = "cpu";
                        reg = <0 1>;
                        next-level-cache = <&L2>;
+                       fsl,portid-mapping = <0x80000000>;
                };
                cpu1: PowerPC,e6500@2 {
                        device_type = "cpu";
                        reg = <2 3>;
                        next-level-cache = <&L2>;
+                       fsl,portid-mapping = <0x80000000>;
                };
                cpu2: PowerPC,e6500@4 {
                        device_type = "cpu";
                        reg = <4 5>;
                        next-level-cache = <&L2>;
+                       fsl,portid-mapping = <0x80000000>;
                };
                cpu3: PowerPC,e6500@6 {
                        device_type = "cpu";
                        reg = <6 7>;
                        next-level-cache = <&L2>;
+                       fsl,portid-mapping = <0x80000000>;
                };
        };
 };
        };
 
        corenet-cf@18000 {
-               compatible = "fsl,b4-corenet-cf";
+               compatible = "fsl,corenet2-cf", "fsl,corenet-cf";
                reg = <0x18000 0x1000>;
                interrupts = <16 2 1 0>;
                fsl,ccf-num-csdids = <32>;
        iommu@20000 {
                compatible = "fsl,pamu-v1.0", "fsl,pamu";
                reg = <0x20000 0x4000>;
+               fsl,portid-mapping = <0x8000>;
                #address-cells = <1>;
                #size-cells = <1>;
                interrupts = <
index 60566f9..d678944 100644 (file)
                compatible = "fsl,b4420-l3-cache-controller", "cache";
        };
 
-       corenet-cf@18000 {
-               compatible = "fsl,b4420-corenet-cf";
-       };
-
        guts: global-utilities@e0000 {
                compatible = "fsl,b4420-device-config", "fsl,qoriq-device-config-2.0";
        };
index 2419731..338af7e 100644 (file)
                        reg = <0 1>;
                        clocks = <&mux0>;
                        next-level-cache = <&L2>;
+                       fsl,portid-mapping = <0x80000000>;
                };
                cpu1: PowerPC,e6500@2 {
                        device_type = "cpu";
                        reg = <2 3>;
                        clocks = <&mux0>;
                        next-level-cache = <&L2>;
+                       fsl,portid-mapping = <0x80000000>;
                };
        };
 };
index cbc354b..582381d 100644 (file)
                compatible = "fsl,b4860-l3-cache-controller", "cache";
        };
 
-       corenet-cf@18000 {
-               compatible = "fsl,b4860-corenet-cf";
-       };
-
        guts: global-utilities@e0000 {
                compatible = "fsl,b4860-device-config", "fsl,qoriq-device-config-2.0";
        };
index 142ac86..1948f73 100644 (file)
                        reg = <0 1>;
                        clocks = <&mux0>;
                        next-level-cache = <&L2>;
+                       fsl,portid-mapping = <0x80000000>;
                };
                cpu1: PowerPC,e6500@2 {
                        device_type = "cpu";
                        reg = <2 3>;
                        clocks = <&mux0>;
                        next-level-cache = <&L2>;
+                       fsl,portid-mapping = <0x80000000>;
                };
                cpu2: PowerPC,e6500@4 {
                        device_type = "cpu";
                        reg = <4 5>;
                        clocks = <&mux0>;
                        next-level-cache = <&L2>;
+                       fsl,portid-mapping = <0x80000000>;
                };
                cpu3: PowerPC,e6500@6 {
                        device_type = "cpu";
                        reg = <6 7>;
                        clocks = <&mux0>;
                        next-level-cache = <&L2>;
+                       fsl,portid-mapping = <0x80000000>;
                };
        };
 };
index 4f6e482..1a54ba7 100644 (file)
        };
 
        corenet-cf@18000 {
-               compatible = "fsl,b4-corenet-cf";
+               compatible = "fsl,corenet2-cf", "fsl,corenet-cf";
                reg = <0x18000 0x1000>;
                interrupts = <16 2 1 0>;
                fsl,ccf-num-csdids = <32>;
        iommu@20000 {
                compatible =  "fsl,pamu-v1.0", "fsl,pamu";
                reg = <0x20000 0x4000>;
+               fsl,portid-mapping = <0x8000>;
                #address-cells = <1>;
                #size-cells = <1>;
                interrupts = <
index f99d74f..793669b 100644 (file)
        };
 
        corenet-cf@18000 {
-               compatible = "fsl,corenet-cf";
+               compatible = "fsl,corenet2-cf", "fsl,corenet-cf";
                reg = <0x18000 0x1000>;
                interrupts = <16 2 1 31>;
                fsl,ccf-num-csdids = <32>;
        iommu@20000 {
                compatible = "fsl,pamu-v1.0", "fsl,pamu";
                reg = <0x20000 0x6000>;
+               fsl,portid-mapping = <0x8000>;
                interrupts = <
                        24 2 0 0
                        16 2 1 30>;
index 0b8ccc5..d2f157e 100644 (file)
                        reg = <0 1>;
                        clocks = <&mux0>;
                        next-level-cache = <&L2_1>;
+                       fsl,portid-mapping = <0x80000000>;
                };
                cpu1: PowerPC,e6500@2 {
                        device_type = "cpu";
                        reg = <2 3>;
                        clocks = <&mux0>;
                        next-level-cache = <&L2_1>;
+                       fsl,portid-mapping = <0x80000000>;
                };
                cpu2: PowerPC,e6500@4 {
                        device_type = "cpu";
                        reg = <4 5>;
                        clocks = <&mux0>;
                        next-level-cache = <&L2_1>;
+                       fsl,portid-mapping = <0x80000000>;
                };
                cpu3: PowerPC,e6500@6 {
                        device_type = "cpu";
                        reg = <6 7>;
                        clocks = <&mux0>;
                        next-level-cache = <&L2_1>;
+                       fsl,portid-mapping = <0x80000000>;
                };
                cpu4: PowerPC,e6500@8 {
                        device_type = "cpu";
                        reg = <8 9>;
                        clocks = <&mux1>;
                        next-level-cache = <&L2_2>;
+                       fsl,portid-mapping = <0x40000000>;
                };
                cpu5: PowerPC,e6500@10 {
                        device_type = "cpu";
                        reg = <10 11>;
                        clocks = <&mux1>;
                        next-level-cache = <&L2_2>;
+                       fsl,portid-mapping = <0x40000000>;
                };
                cpu6: PowerPC,e6500@12 {
                        device_type = "cpu";
                        reg = <12 13>;
                        clocks = <&mux1>;
                        next-level-cache = <&L2_2>;
+                       fsl,portid-mapping = <0x40000000>;
                };
                cpu7: PowerPC,e6500@14 {
                        device_type = "cpu";
                        reg = <14 15>;
                        clocks = <&mux1>;
                        next-level-cache = <&L2_2>;
+                       fsl,portid-mapping = <0x40000000>;
                };
                cpu8: PowerPC,e6500@16 {
                        device_type = "cpu";
                        reg = <16 17>;
                        clocks = <&mux2>;
                        next-level-cache = <&L2_3>;
+                       fsl,portid-mapping = <0x20000000>;
                };
                cpu9: PowerPC,e6500@18 {
                        device_type = "cpu";
                        reg = <18 19>;
                        clocks = <&mux2>;
                        next-level-cache = <&L2_3>;
+                       fsl,portid-mapping = <0x20000000>;
                };
                cpu10: PowerPC,e6500@20 {
                        device_type = "cpu";
                        reg = <20 21>;
                        clocks = <&mux2>;
                        next-level-cache = <&L2_3>;
+                       fsl,portid-mapping = <0x20000000>;
                };
                cpu11: PowerPC,e6500@22 {
                        device_type = "cpu";
                        reg = <22 23>;
                        clocks = <&mux2>;
                        next-level-cache = <&L2_3>;
+                       fsl,portid-mapping = <0x20000000>;
                };
        };
 };
index ee24ab3..bc12127 100644 (file)
                        device_type = "cpu";
                        reg = <0 1>;
                        next-level-cache = <&L2_1>;
+                       fsl,portid-mapping = <0x80000000>;
                };
                cpu1: PowerPC,e6500@2 {
                        device_type = "cpu";
                        reg = <2 3>;
                        next-level-cache = <&L2_1>;
+                       fsl,portid-mapping = <0x80000000>;
                };
                cpu2: PowerPC,e6500@4 {
                        device_type = "cpu";
                        reg = <4 5>;
                        next-level-cache = <&L2_1>;
+                       fsl,portid-mapping = <0x80000000>;
                };
                cpu3: PowerPC,e6500@6 {
                        device_type = "cpu";
                        reg = <6 7>;
                        next-level-cache = <&L2_1>;
+                       fsl,portid-mapping = <0x80000000>;
                };
 
                cpu4: PowerPC,e6500@8 {
                        device_type = "cpu";
                        reg = <8 9>;
                        next-level-cache = <&L2_2>;
+                       fsl,portid-mapping = <0x40000000>;
                };
                cpu5: PowerPC,e6500@10 {
                        device_type = "cpu";
                        reg = <10 11>;
                        next-level-cache = <&L2_2>;
+                       fsl,portid-mapping = <0x40000000>;
                };
                cpu6: PowerPC,e6500@12 {
                        device_type = "cpu";
                        reg = <12 13>;
                        next-level-cache = <&L2_2>;
+                       fsl,portid-mapping = <0x40000000>;
                };
                cpu7: PowerPC,e6500@14 {
                        device_type = "cpu";
                        reg = <14 15>;
                        next-level-cache = <&L2_2>;
+                       fsl,portid-mapping = <0x40000000>;
                };
 
                cpu8: PowerPC,e6500@16 {
                        device_type = "cpu";
                        reg = <16 17>;
                        next-level-cache = <&L2_3>;
+                       fsl,portid-mapping = <0x20000000>;
                };
                cpu9: PowerPC,e6500@18 {
                        device_type = "cpu";
                        reg = <18 19>;
                        next-level-cache = <&L2_3>;
+                       fsl,portid-mapping = <0x20000000>;
                };
                cpu10: PowerPC,e6500@20 {
                        device_type = "cpu";
                        reg = <20 21>;
                        next-level-cache = <&L2_3>;
+                       fsl,portid-mapping = <0x20000000>;
                };
                cpu11: PowerPC,e6500@22 {
                        device_type = "cpu";
                        reg = <22 23>;
                        next-level-cache = <&L2_3>;
+                       fsl,portid-mapping = <0x20000000>;
                };
        };
 };
        };
 
        corenet-cf@18000 {
-               compatible = "fsl,corenet-cf";
+               compatible = "fsl,corenet2-cf", "fsl,corenet-cf";
                reg = <0x18000 0x1000>;
                interrupts = <16 2 1 31>;
                fsl,ccf-num-csdids = <32>;
        iommu@20000 {
                compatible = "fsl,pamu-v1.0", "fsl,pamu";
                reg = <0x20000 0x6000>;
+               fsl,portid-mapping = <0x8000>;
                interrupts = <
                        24 2 0 0
                        16 2 1 30>;