ARM64: dts: rk3366: support arm64 cpuidle-dt
authorxxx <xxx@rock-chips.com>
Mon, 14 Mar 2016 07:17:48 +0000 (15:17 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 25 Mar 2016 08:57:44 +0000 (16:57 +0800)
Change-Id: Ia5a0bf96609092c22f3bdb327cdfde6f505163c6
Signed-off-by: Tony Xie <tony.xie@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3366.dtsi

index acabb1de45385bc8a88d8f8c4afcac402ebebed7..dba564aaf5a9dc90f9b1e1387f2718b77aecd412 100644 (file)
@@ -80,6 +80,7 @@
                        enable-method = "psci";
                        clocks = <&cru ARMCLK>;
                        operating-points-v2 = <&cpu0_opp_table>;
+                       cpu-idle-states = <&cpu_sleep>;
                };
 
                cpu1: cpu@1 {
@@ -88,6 +89,7 @@
                        reg = <0x0 0x1>;
                        enable-method = "psci";
                        operating-points-v2 = <&cpu0_opp_table>;
+                       cpu-idle-states = <&cpu_sleep>;
                };
 
                cpu2: cpu@2 {
@@ -96,6 +98,7 @@
                        reg = <0x0 0x2>;
                        enable-method = "psci";
                        operating-points-v2 = <&cpu0_opp_table>;
+                       cpu-idle-states = <&cpu_sleep>;
                };
 
                cpu3: cpu@3 {
                        reg = <0x0 0x3>;
                        enable-method = "psci";
                        operating-points-v2 = <&cpu0_opp_table>;
+                       cpu-idle-states = <&cpu_sleep>;
+               };
+
+               idle-states {
+                       entry-method = "psci";
+                       cpu_sleep: cpu-sleep-0 {
+                               compatible = "arm,idle-state";
+                               local-timer-stop;
+                               arm,psci-suspend-param = <0x0010000>;
+                               entry-latency-us = <350>;
+                               exit-latency-us = <600>;
+                               min-residency-us = <1150>;
+                       };
                };
        };