From 5aa37b5e7d482805c9f0ada3bf7191b5e9887e39 Mon Sep 17 00:00:00 2001 From: Jacky Bai Date: Fri, 29 Nov 2019 10:08:48 +0800 Subject: LF-223-02 arm64: dts: freescale: Add cpuidle state node for im8mn Add the cpuidle state node for imx8mn. Signed-off-by: Jacky Bai Reviewed-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'arch/arm64/boot/dts/freescale/imx8mn.dtsi') diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index b5c0011a5604..5bdb6d429331 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -47,6 +47,20 @@ #address-cells = <1>; #size-cells = <0>; + idle-states { + entry-method = "psci"; + + CPU_SLEEP: cpu-sleep { + compatible = "arm,idle-state"; + arm,psci-suspend-param = <0x0010033>; + local-timer-stop; + entry-latency-us = <1000>; + exit-latency-us = <700>; + min-residency-us = <2700>; + wakeup-latency-us = <1500>; + }; + }; + A53_0: cpu@0 { device_type = "cpu"; compatible = "arm,cortex-a53"; @@ -58,6 +72,7 @@ operating-points-v2 = <&a53_opp_table>; nvmem-cells = <&cpu_speed_grade>; nvmem-cell-names = "speed_grade"; + cpu-idle-states = <&CPU_SLEEP>; #cooling-cells = <2>; }; @@ -70,6 +85,7 @@ enable-method = "psci"; next-level-cache = <&A53_L2>; operating-points-v2 = <&a53_opp_table>; + cpu-idle-states = <&CPU_SLEEP>; #cooling-cells = <2>; }; @@ -82,6 +98,7 @@ enable-method = "psci"; next-level-cache = <&A53_L2>; operating-points-v2 = <&a53_opp_table>; + cpu-idle-states = <&CPU_SLEEP>; #cooling-cells = <2>; }; @@ -94,6 +111,7 @@ enable-method = "psci"; next-level-cache = <&A53_L2>; operating-points-v2 = <&a53_opp_table>; + cpu-idle-states = <&CPU_SLEEP>; #cooling-cells = <2>; }; -- cgit v1.2.3