arm64: dts: rockchip: modify cpu's opp table for rk3368
authorFinley Xiao <finley.xiao@rock-chips.com>
Tue, 14 Mar 2017 06:42:59 +0000 (14:42 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 16 Mar 2017 03:33:00 +0000 (11:33 +0800)
Change-Id: I2f7f15f9b3a9e6190e5e8895e9e4fe939d284b43
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3368.dtsi

index fd06e6ca7c198fec0acb65eb0ed434fa7ed9aa35..062b02fef10efdd067642318284719deff4c3f22 100644 (file)
                        cpu-idle-states = <&cpu_sleep>;
                        enable-method = "psci";
                        clocks = <&cru ARMCLKL>;
-                       operating-points-v2 = <&cluster1_opp>;
+                       operating-points-v2 = <&cluster0_opp>;
 
                        #cooling-cells = <2>; /* min followed by max */
                };
                        cpu-idle-states = <&cpu_sleep>;
                        enable-method = "psci";
                        clocks = <&cru ARMCLKL>;
-                       operating-points-v2 = <&cluster1_opp>;
+                       operating-points-v2 = <&cluster0_opp>;
                };
 
                cpu_l2: cpu@2 {
                        cpu-idle-states = <&cpu_sleep>;
                        enable-method = "psci";
                        clocks = <&cru ARMCLKL>;
-                       operating-points-v2 = <&cluster1_opp>;
+                       operating-points-v2 = <&cluster0_opp>;
                };
 
                cpu_l3: cpu@3 {
                        cpu-idle-states = <&cpu_sleep>;
                        enable-method = "psci";
                        clocks = <&cru ARMCLKL>;
-                       operating-points-v2 = <&cluster1_opp>;
+                       operating-points-v2 = <&cluster0_opp>;
                };
 
                cpu_b0: cpu@100 {
                        cpu-idle-states = <&cpu_sleep>;
                        enable-method = "psci";
                        clocks = <&cru ARMCLKB>;
-                       operating-points-v2 = <&cluster0_opp>;
+                       operating-points-v2 = <&cluster1_opp>;
 
                        #cooling-cells = <2>; /* min followed by max */
                };
                        cpu-idle-states = <&cpu_sleep>;
                        enable-method = "psci";
                        clocks = <&cru ARMCLKB>;
-                       operating-points-v2 = <&cluster0_opp>;
+                       operating-points-v2 = <&cluster1_opp>;
                };
 
                cpu_b2: cpu@102 {
                        cpu-idle-states = <&cpu_sleep>;
                        enable-method = "psci";
                        clocks = <&cru ARMCLKB>;
-                       operating-points-v2 = <&cluster0_opp>;
+                       operating-points-v2 = <&cluster1_opp>;
                };
 
                cpu_b3: cpu@103 {
                        cpu-idle-states = <&cpu_sleep>;
                        enable-method = "psci";
                        clocks = <&cru ARMCLKB>;
-                       operating-points-v2 = <&cluster0_opp>;
+                       operating-points-v2 = <&cluster1_opp>;
                };
        };
 
                compatible = "operating-points-v2";
                opp-shared;
 
+               opp@216000000 {
+                       opp-hz = /bits/ 64 <216000000>;
+                       opp-microvolt = <950000 950000 1350000>;
+                       clock-latency-ns = <40000>;
+                       opp-suspend;
+               };
                opp@408000000 {
                        opp-hz = /bits/ 64 <408000000>;
-                       opp-microvolt = <1200000>;
+                       opp-microvolt = <950000 950000 1350000>;
                        clock-latency-ns = <40000>;
-                       opp-suspend;
                };
                opp@600000000 {
                        opp-hz = /bits/ 64 <600000000>;
-                       opp-microvolt = <1200000>;
+                       opp-microvolt = <950000 950000 1350000>;
+                       clock-latency-ns = <40000>;
                };
                opp@816000000 {
                        opp-hz = /bits/ 64 <816000000>;
-                       opp-microvolt = <1200000>;
+                       opp-microvolt = <1025000 1025000 1350000>;
+                       clock-latency-ns = <40000>;
                };
                opp@1008000000 {
                        opp-hz = /bits/ 64 <1008000000>;
-                       opp-microvolt = <1200000>;
+                       opp-microvolt = <1125000 1125000 1350000>;
+                       clock-latency-ns = <40000>;
                };
                opp@1200000000 {
                        opp-hz = /bits/ 64 <1200000000>;
-                       opp-microvolt = <1200000>;
+                       opp-microvolt = <1225000 1225000 1350000>;
+                       clock-latency-ns = <40000>;
                };
        };
 
                compatible = "operating-points-v2";
                opp-shared;
 
+               opp@216000000 {
+                       opp-hz = /bits/ 64 <216000000>;
+                       opp-microvolt = <950000 950000 1350000>;
+                       clock-latency-ns = <40000>;
+                       opp-suspend;
+               };
                opp@408000000 {
                        opp-hz = /bits/ 64 <408000000>;
-                       opp-microvolt = <1200000>;
+                       opp-microvolt = <950000 950000 1350000>;
                        clock-latency-ns = <40000>;
-                       opp-suspend;
                };
                opp@600000000 {
                        opp-hz = /bits/ 64 <600000000>;
-                       opp-microvolt = <1200000>;
+                       opp-microvolt = <950000 950000 1350000>;
+                       clock-latency-ns = <40000>;
                };
                opp@816000000 {
                        opp-hz = /bits/ 64 <816000000>;
-                       opp-microvolt = <1200000>;
+                       opp-microvolt = <975000 975000 1350000>;
+                       clock-latency-ns = <40000>;
                };
                opp@1008000000 {
                        opp-hz = /bits/ 64 <1008000000>;
-                       opp-microvolt = <1200000>;
+                       opp-microvolt = <1050000 1050000 1350000>;
+                       clock-latency-ns = <40000>;
+               };
+               opp@1200000000 {
+                       opp-hz = /bits/ 64 <1200000000>;
+                       opp-microvolt = <1150000 1150000 1350000>;
+                       clock-latency-ns = <40000>;
+               };
+               opp@1296000000 {
+                       opp-hz = /bits/ 64 <1296000000>;
+                       opp-microvolt = <1225000 1225000 1350000>;
+                       clock-latency-ns = <40000>;
+               };
+               opp@1416000000 {
+                       opp-hz = /bits/ 64 <1416000000>;
+                       opp-microvolt = <1300000 1300000 1350000>;
+                       clock-latency-ns = <40000>;
+               };
+               opp@1512000000 {
+                       opp-hz = /bits/ 64 <1512000000>;
+                       opp-microvolt = <1350000 1350000 1350000>;
+                       clock-latency-ns = <40000>;
                };
        };