From 0c39985a67d634c603db4029ed9004bfa0340e48 Mon Sep 17 00:00:00 2001 From: Jacky Bai Date: Thu, 23 Apr 2020 18:19:10 +0800 Subject: [PATCH] LF-1290 arm64: dts: freescale: Add the idle state node on imx8mp Add the idle state node on imx8mp to enable the cpuidle support. Signed-off-by: Jacky Bai Reviewed-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 10b44551dd6c..b19914bc3ef0 100755 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -43,6 +43,20 @@ #address-cells = <1>; #size-cells = <0>; + idle-states { + entry-method = "psci"; + + cpu_pd_wait: cpu-pd-wait { + 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"; @@ -55,6 +69,7 @@ enable-method = "psci"; next-level-cache = <&A53_L2>; #cooling-cells = <2>; + cpu-idle-states = <&cpu_pd_wait>; }; A53_1: cpu@1 { @@ -67,6 +82,7 @@ enable-method = "psci"; next-level-cache = <&A53_L2>; #cooling-cells = <2>; + cpu-idle-states = <&cpu_pd_wait>; }; A53_2: cpu@2 { @@ -79,6 +95,7 @@ enable-method = "psci"; next-level-cache = <&A53_L2>; #cooling-cells = <2>; + cpu-idle-states = <&cpu_pd_wait>; }; A53_3: cpu@3 { @@ -91,6 +108,7 @@ enable-method = "psci"; next-level-cache = <&A53_L2>; #cooling-cells = <2>; + cpu-idle-states = <&cpu_pd_wait>; }; A53_L2: l2-cache0 { -- 2.17.1