From 023209451005ff56267bc5703aa5ef6d61de06ee 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 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dts/common/nordic/nrf54h20.dtsi b/dts/common/nordic/nrf54h20.dtsi index 5087fa44491..815b9db6d34 100644 --- a/dts/common/nordic/nrf54h20.dtsi +++ b/dts/common/nordic/nrf54h20.dtsi @@ -28,7 +28,11 @@ device_type = "cpu"; clocks = <&cpuapp_hsfll>; clock-frequency = ; +<<<<<<< HEAD cpu-power-states = <&idle &s2ram>; +======= + cpu-power-states = <&idle_cache_disabled &s2ram>; +>>>>>>> [nrf fromlist] dts: arm: nordic: Add power states for nRF54H20 }; cpurad: cpu@3 { @@ -37,6 +41,7 @@ device_type = "cpu"; clocks = <&cpurad_hsfll>; clock-frequency = ; + cpu-power-states = <&idle_cache_disabled>; }; cpuppr: cpu@d { @@ -125,12 +130,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";