diff options
| author | Peng Fan <peng.fan@nxp.com> | 2026-01-11 20:40:07 +0800 |
|---|---|---|
| committer | Shawn Guo <shawnguo@kernel.org> | 2026-01-18 09:55:27 +0800 |
| commit | 730f6b28cb877fdc75bb13bd4d82c270e3bcd3cd (patch) | |
| tree | 8af3504414c9b562db320f1a0ef8e8fe7d54a29e /arch | |
| parent | 5eb7405db99b171494f9aa3d37e2985ae74ee37f (diff) | |
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 <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm64/boot/dts/freescale/imx952.dtsi | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx952.dtsi b/arch/arm64/boot/dts/freescale/imx952.dtsi index 33bde271d394..91fe4916ac04 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 <dt-bindings/dma/fsl-edma.h> @@ -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>; |
