diff --git a/arch/arm64/boot/dts/cix/sky1.dtsi b/arch/arm64/boot/dts/cix/sky1.dtsi index 9f80e1aa070a..a77c52296ebd 100644 --- a/arch/arm64/boot/dts/cix/sky1.dtsi +++ b/arch/arm64/boot/dts/cix/sky1.dtsi @@ -25,6 +25,7 @@ cpu0: cpu@0 { power-domains = <&scmi_dvfs SKY1_PERF_CPU_L>; power-domain-names = "perf"; capacity-dmips-mhz = <403>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; cpu1: cpu@100 { @@ -35,6 +36,7 @@ cpu1: cpu@100 { power-domains = <&scmi_dvfs SKY1_PERF_CPU_L>; power-domain-names = "perf"; capacity-dmips-mhz = <403>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; cpu2: cpu@200 { @@ -45,6 +47,7 @@ cpu2: cpu@200 { power-domains = <&scmi_dvfs SKY1_PERF_CPU_L>; power-domain-names = "perf"; capacity-dmips-mhz = <403>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; cpu3: cpu@300 { @@ -55,6 +58,7 @@ cpu3: cpu@300 { power-domains = <&scmi_dvfs SKY1_PERF_CPU_L>; power-domain-names = "perf"; capacity-dmips-mhz = <403>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; cpu4: cpu@400 { @@ -65,6 +69,7 @@ cpu4: cpu@400 { power-domains = <&scmi_dvfs SKY1_PERF_CPU_M0>; power-domain-names = "perf"; capacity-dmips-mhz = <1024>; + cpu-idle-states = <&CPU_SLEEP_1 &CLUSTER_SLEEP_0>; }; cpu5: cpu@500 { @@ -75,6 +80,7 @@ cpu5: cpu@500 { power-domains = <&scmi_dvfs SKY1_PERF_CPU_M0>; power-domain-names = "perf"; capacity-dmips-mhz = <1024>; + cpu-idle-states = <&CPU_SLEEP_1 &CLUSTER_SLEEP_0>; }; cpu6: cpu@600 { @@ -85,6 +91,7 @@ cpu6: cpu@600 { power-domains = <&scmi_dvfs SKY1_PERF_CPU_M1>; power-domain-names = "perf"; capacity-dmips-mhz = <1024>; + cpu-idle-states = <&CPU_SLEEP_1 &CLUSTER_SLEEP_0>; }; cpu7: cpu@700 { @@ -95,6 +102,7 @@ cpu7: cpu@700 { power-domains = <&scmi_dvfs SKY1_PERF_CPU_M1>; power-domain-names = "perf"; capacity-dmips-mhz = <1024>; + cpu-idle-states = <&CPU_SLEEP_1 &CLUSTER_SLEEP_0>; }; cpu8: cpu@800 { @@ -105,6 +113,7 @@ cpu8: cpu@800 { power-domains = <&scmi_dvfs SKY1_PERF_CPU_B0>; power-domain-names = "perf"; capacity-dmips-mhz = <1024>; + cpu-idle-states = <&CPU_SLEEP_1 &CLUSTER_SLEEP_0>; }; cpu9: cpu@900 { @@ -115,6 +124,7 @@ cpu9: cpu@900 { power-domains = <&scmi_dvfs SKY1_PERF_CPU_B0>; power-domain-names = "perf"; capacity-dmips-mhz = <1024>; + cpu-idle-states = <&CPU_SLEEP_1 &CLUSTER_SLEEP_0>; }; cpu10: cpu@a00 { @@ -125,6 +135,7 @@ cpu10: cpu@a00 { power-domains = <&scmi_dvfs SKY1_PERF_CPU_B1>; power-domain-names = "perf"; capacity-dmips-mhz = <1024>; + cpu-idle-states = <&CPU_SLEEP_1 &CLUSTER_SLEEP_0>; }; cpu11: cpu@b00 { @@ -135,6 +146,7 @@ cpu11: cpu@b00 { power-domains = <&scmi_dvfs SKY1_PERF_CPU_B1>; power-domain-names = "perf"; capacity-dmips-mhz = <1024>; + cpu-idle-states = <&CPU_SLEEP_1 &CLUSTER_SLEEP_0>; }; cpu-map { @@ -177,6 +189,35 @@ core11 { }; }; }; + + idle-states { + CPU_SLEEP_0: cpu-sleep-0 { + compatible = "arm,idle-state"; + arm,psci-suspend-param = <0x0010000>; + local-timer-stop; + entry-latency-us = <34>; + exit-latency-us = <100>; + min-residency-us = <3000>; + }; + + CPU_SLEEP_1: cpu-sleep-1 { + compatible = "arm,idle-state"; + arm,psci-suspend-param = <0x0010000>; + local-timer-stop; + entry-latency-us = <31>; + exit-latency-us = <79>; + min-residency-us = <3000>; + }; + + CLUSTER_SLEEP_0: cluster-sleep-0 { + compatible = "arm,idle-state"; + arm,psci-suspend-param = <0x1010000>; + local-timer-stop; + entry-latency-us = <41>; + exit-latency-us = <104>; + min-residency-us = <4000>; + }; + }; }; firmware {