ARM64: dts: rockchip: rk3368: fix cpu get regulator and clock error
authorFeng Xiao <xf@rock-chips.com>
Wed, 16 Mar 2016 12:31:14 +0000 (20:31 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Thu, 17 Mar 2016 03:04:01 +0000 (11:04 +0800)
we only add the property of regulator and clock to cpu0 and cpu4 node,
but if cpu4~cpu7 is down and then we up cpu5~cpu7, they will can not
get their regulator and clock. So we should add the properties to all
cpu node.

Change-Id: Id601fa3d3d05875f7c68f2a5472dc0eefefb6096
Signed-off-by: Feng Xiao <xf@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3368-tb-sheep.dts
arch/arm64/boot/dts/rockchip/rk3368.dtsi

index d21a6eac9e558306bdd30ed6158330f43c474e50..e1a17f0a4a8da3c1791758c87a5ec679ca640fc5 100644 (file)
        cpu-supply = <&syr827>;
 };
 
+&cpu_l1 {
+       cpu-supply = <&syr827>;
+};
+
+&cpu_l2 {
+       cpu-supply = <&syr827>;
+};
+
+&cpu_l3 {
+       cpu-supply = <&syr827>;
+};
+
 &cpu_b0 {
        cpu-supply = <&syr827>;
 };
 
+&cpu_b1 {
+       cpu-supply = <&syr827>;
+};
+
+&cpu_b2 {
+       cpu-supply = <&syr827>;
+};
+
+&cpu_b3 {
+       cpu-supply = <&syr827>;
+};
+
 &gpu {
        logic-supply = <&vdd_logic>;
 };
index 55af19b5d5c5ca6c132fc1f01d42fe6df0ddd61c..1546d5221f82b34aeb68787cbd92237f0b719833 100644 (file)
                        reg = <0x0 0x1>;
                        cpu-idle-states = <&cpu_sleep>;
                        enable-method = "psci";
+                       clocks = <&cru ARMCLKL>;
                        operating-points-v2 = <&cluster1_opp>;
                };
 
                        reg = <0x0 0x2>;
                        cpu-idle-states = <&cpu_sleep>;
                        enable-method = "psci";
+                       clocks = <&cru ARMCLKL>;
                        operating-points-v2 = <&cluster1_opp>;
                };
 
                        reg = <0x0 0x3>;
                        cpu-idle-states = <&cpu_sleep>;
                        enable-method = "psci";
+                       clocks = <&cru ARMCLKL>;
                        operating-points-v2 = <&cluster1_opp>;
                };
 
                        reg = <0x0 0x101>;
                        cpu-idle-states = <&cpu_sleep>;
                        enable-method = "psci";
+                       clocks = <&cru ARMCLKB>;
                        operating-points-v2 = <&cluster0_opp>;
                };
 
                        reg = <0x0 0x102>;
                        cpu-idle-states = <&cpu_sleep>;
                        enable-method = "psci";
+                       clocks = <&cru ARMCLKB>;
                        operating-points-v2 = <&cluster0_opp>;
                };
 
                        reg = <0x0 0x103>;
                        cpu-idle-states = <&cpu_sleep>;
                        enable-method = "psci";
+                       clocks = <&cru ARMCLKB>;
                        operating-points-v2 = <&cluster0_opp>;
                };
        };