From b4395cee0ee460423c583be7f0bb6b44bcab9e1f Mon Sep 17 00:00:00 2001 From: xxx Date: Mon, 14 Mar 2016 15:17:48 +0800 Subject: [PATCH] ARM64: dts: rk3366: support arm64 cpuidle-dt Change-Id: Ia5a0bf96609092c22f3bdb327cdfde6f505163c6 Signed-off-by: Tony Xie --- arch/arm64/boot/dts/rockchip/rk3366.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3366.dtsi b/arch/arm64/boot/dts/rockchip/rk3366.dtsi index acabb1de4538..dba564aaf5a9 100644 --- a/arch/arm64/boot/dts/rockchip/rk3366.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3366.dtsi @@ -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 { @@ -104,6 +107,19 @@ 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>; + }; }; }; -- 2.34.1