rtsm: fixup for new CCI driver
authorJon Medhurst <tixy@linaro.org>
Tue, 14 May 2013 14:22:02 +0000 (15:22 +0100)
committerJon Medhurst <tixy@linaro.org>
Mon, 1 Jul 2013 10:04:15 +0000 (11:04 +0100)
We include the compatible string "arm,cci" because the semihosting
bootwrapper searches for this to initialise the CCI before boot.

The boot-wrapper will need updating for the new CCI device-tree
bindings when they are stable, then we can remove this old compatible
string from the RTSM device-trees.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
arch/arm/boot/dts/rtsm_ve-v2p-ca15x1-ca7x1.dts
arch/arm/boot/dts/rtsm_ve-v2p-ca15x4-ca7x4.dts

index 55d4f5ce019e0989e15c38cac0177b00e2ea7361..fe8cf5dc85706dfe70c8d417664345b0e98510e4 100644 (file)
@@ -72,6 +72,7 @@
                        cluster = <&cluster0>;
                        core = <&core0>;
 //                     clock-frequency = <1000000000>;
+                       cci-control-port = <&cci_control1>;
                };
 
                cpu1: cpu@1 {
@@ -81,6 +82,7 @@
                        cluster = <&cluster1>;
                        core = <&core1>;
 //                     clock-frequency = <800000000>;
+                       cci-control-port = <&cci_control2>;
                };
        };
 
        };
 
        cci@2c090000 {
-               compatible = "arm,cci";
-               reg = <0 0x2c090000 0 0x8000>;
+               compatible = "arm,cci-400", "arm,cci";
+               #address-cells = <1>;
+               #size-cells = <1>;
+               reg = <0 0x2c090000 0 0x1000>;
+               ranges = <0x0 0x0 0x2c090000 0x10000>;
+
+               cci_control1: slave-if@4000 {
+                       compatible = "arm,cci-400-ctrl-if";
+                       interface-type = "ace";
+                       reg = <0x4000 0x1000>;
+               };
+
+               cci_control2: slave-if@5000 {
+                       compatible = "arm,cci-400-ctrl-if";
+                       interface-type = "ace";
+                       reg = <0x5000 0x1000>;
+               };
        };
 
        dcscb@60000000 {
index a2d4441568a055218c7720bdc4069b40a4664235..f715285131d81031e57aabb9e48712ed1aad63e9 100644 (file)
@@ -96,6 +96,7 @@
                        cluster = <&cluster0>;
                        core = <&core0>;
 //                     clock-frequency = <1000000000>;
+                       cci-control-port = <&cci_control1>;
                };
 
                cpu1: cpu@1 {
                        cluster = <&cluster0>;
                        core = <&core1>;
 //                     clock-frequency = <1000000000>;
+                       cci-control-port = <&cci_control1>;
                };
 
                cpu2: cpu@2 {
                        cluster = <&cluster0>;
                        core = <&core2>;
 //                     clock-frequency = <1000000000>;
+                       cci-control-port = <&cci_control1>;
                };
 
                cpu3: cpu@3 {
                        cluster = <&cluster0>;
                        core = <&core3>;
 //                     clock-frequency = <1000000000>;
+                       cci-control-port = <&cci_control1>;
                };
 
                cpu4: cpu@4 {
                        cluster = <&cluster1>;
                        core = <&core4>;
 //                     clock-frequency = <800000000>;
+                       cci-control-port = <&cci_control2>;
                };
 
                cpu5: cpu@5 {
                        cluster = <&cluster1>;
                        core = <&core5>;
 //                     clock-frequency = <800000000>;
+                       cci-control-port = <&cci_control2>;
                };
                
                cpu6: cpu@6 {
                        cluster = <&cluster1>;
                        core = <&core6>;
 //                     clock-frequency = <800000000>;
+                       cci-control-port = <&cci_control2>;
                };
                
                cpu7: cpu@7 {
                        cluster = <&cluster1>;
                        core = <&core7>;
 //                     clock-frequency = <800000000>;
+                       cci-control-port = <&cci_control2>;
                };
        };
 
        };
 
        cci@2c090000 {
-               compatible = "arm,cci";
-               reg = <0 0x2c090000 0 0x8000>;
+               compatible = "arm,cci-400", "arm,cci";
+               #address-cells = <1>;
+               #size-cells = <1>;
+               reg = <0 0x2c090000 0 0x1000>;
+               ranges = <0x0 0x0 0x2c090000 0x10000>;
+
+               cci_control1: slave-if@4000 {
+                       compatible = "arm,cci-400-ctrl-if";
+                       interface-type = "ace";
+                       reg = <0x4000 0x1000>;
+               };
+
+               cci_control2: slave-if@5000 {
+                       compatible = "arm,cci-400-ctrl-if";
+                       interface-type = "ace";
+                       reg = <0x5000 0x1000>;
+               };
        };
 
        dcscb@60000000 {