diff --git a/arch/arm64/boot/dts/amlogic/mesonaxg.dtsi b/arch/arm64/boot/dts/amlogic/mesonaxg.dtsi index 5a1cbf23fc8c..7548caecf0e0 100644 --- a/arch/arm64/boot/dts/amlogic/mesonaxg.dtsi +++ b/arch/arm64/boot/dts/amlogic/mesonaxg.dtsi @@ -54,8 +54,7 @@ enable-method = "psci"; clocks = <&scpi_dvfs 0>; clock-names = "cpu-cluster.0"; - //cpu-idle-states = <&SYSTEM_SLEEP_0>; - /*cpu-idle-states = <&CPU_SLEEP_0 &SYSTEM_SLEEP_0>;*/ + cpu-idle-states = <&CPU_SLEEP_0>; }; CPU1:cpu@1 { @@ -65,8 +64,7 @@ enable-method = "psci"; clocks = <&scpi_dvfs 0>; clock-names = "cpu-cluster.0"; - //cpu-idle-states = <&SYSTEM_SLEEP_0>; - /*cpu-idle-states = <&CPU_SLEEP_0 &SYSTEM_SLEEP_0>;*/ + cpu-idle-states = <&CPU_SLEEP_0>; }; CPU2:cpu@2 { device_type = "cpu"; @@ -75,8 +73,7 @@ enable-method = "psci"; clocks = <&scpi_dvfs 0>; clock-names = "cpu-cluster.0"; - //cpu-idle-states = <&SYSTEM_SLEEP_0>; - /*cpu-idle-states = <&CPU_SLEEP_0 &SYSTEM_SLEEP_0>;*/ + cpu-idle-states = <&CPU_SLEEP_0>; }; CPU3:cpu@3 { @@ -86,10 +83,20 @@ enable-method = "psci"; clocks = <&scpi_dvfs 0>; clock-names = "cpu-cluster.0"; - //cpu-idle-states = <&SYSTEM_SLEEP_0>; - /*cpu-idle-states = <&CPU_SLEEP_0 &SYSTEM_SLEEP_0>;*/ + cpu-idle-states = <&CPU_SLEEP_0>; }; + idle-states { + entry-method = "arm,psci-0.2"; + CPU_SLEEP_0: cpu-sleep-0 { + compatible = "arm,idle-state"; + arm,psci-suspend-param = <0x0010000>; + local-timer-stop; + entry-latency-us = <5000>; + exit-latency-us = <5000>; + min-residency-us = <15000>; + }; + }; }; timer {