From ed625337f3e5b79221d6185f90287e94843728fe Mon Sep 17 00:00:00 2001 From: Adam Kondraciuk Date: Wed, 2 Oct 2024 10:39:56 +0200 Subject: [PATCH] [nrf fromlist] dts: arm: nordic: Add power states for nRF54H20 Add `idle` and `s2ram` power states for nRF54H20 cpuapp and cpurad. Also the substate `idle_cache_disable` added. Upstream PR: https://github.com/zephyrproject-rtos/zephyr/pull/79067 Signed-off-by: Adam Kondraciuk --- dts/common/nordic/nrf54h20.dtsi | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/dts/common/nordic/nrf54h20.dtsi b/dts/common/nordic/nrf54h20.dtsi index ba804886958..e73cf7a189e 100644 --- a/dts/common/nordic/nrf54h20.dtsi +++ b/dts/common/nordic/nrf54h20.dtsi @@ -28,7 +28,7 @@ device_type = "cpu"; clocks = <&cpuapp_hsfll>; clock-frequency = ; - cpu-power-states = <&idle &s2ram>; + cpu-power-states = <&idle_cache_disabled &s2ram>; }; cpurad: cpu@3 { @@ -37,6 +37,7 @@ device_type = "cpu"; clocks = <&cpurad_hsfll>; clock-frequency = ; + cpu-power-states = <&idle_cache_disabled>; }; cpuppr: cpu@d { @@ -125,12 +126,14 @@ }; power-states { - idle: idle { + // substate-id = <0>; is reserved for "idle", cache powered on + // substate-id = <1>; is reserved for "idle-cache-retained" + idle_cache_disabled: idle_cache_disabled { compatible = "zephyr,power-state"; power-state-name = "suspend-to-idle"; + substate-id = <2>; min-residency-us = <100000>; }; - s2ram: s2ram { compatible = "zephyr,power-state"; power-state-name = "suspend-to-ram";