From 730f6b28cb877fdc75bb13bd4d82c270e3bcd3cd Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Sun, 11 Jan 2026 20:40:07 +0800 Subject: [PATCH] arm64: dts: imx952: Add idle-states node Add idle-states node and refer it in A55 nodes to enable cpuidle. Signed-off-by: Peng Fan Signed-off-by: Shawn Guo --- arch/arm64/boot/dts/freescale/imx952.dtsi | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx952.dtsi b/arch/arm64/boot/dts/freescale/imx952.dtsi index 33bde271d394d..91fe4916ac04d 100644 --- a/arch/arm64/boot/dts/freescale/imx952.dtsi +++ b/arch/arm64/boot/dts/freescale/imx952.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: (GPL-2.0-only OR MIT) /* - * Copyright 2025 NXP + * Copyright 2025-2026 NXP */ #include @@ -50,12 +50,27 @@ #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>; + }; + }; + A55_0: cpu@0 { device_type = "cpu"; compatible = "arm,cortex-a55"; reg = <0x0>; enable-method = "psci"; #cooling-cells = <2>; + cpu-idle-states = <&cpu_pd_wait>; power-domains = <&scmi_perf IMX952_PERF_A55>; power-domain-names = "perf"; i-cache-size = <32768>; @@ -73,6 +88,7 @@ reg = <0x100>; enable-method = "psci"; #cooling-cells = <2>; + cpu-idle-states = <&cpu_pd_wait>; power-domains = <&scmi_perf IMX952_PERF_A55>; power-domain-names = "perf"; i-cache-size = <32768>; @@ -90,6 +106,7 @@ reg = <0x200>; enable-method = "psci"; #cooling-cells = <2>; + cpu-idle-states = <&cpu_pd_wait>; power-domains = <&scmi_perf IMX952_PERF_A55>; power-domain-names = "perf"; i-cache-size = <32768>; @@ -107,6 +124,7 @@ reg = <0x300>; enable-method = "psci"; #cooling-cells = <2>; + cpu-idle-states = <&cpu_pd_wait>; power-domains = <&scmi_perf IMX952_PERF_A55>; power-domain-names = "perf"; i-cache-size = <32768>; -- 2.47.3