From 4046807afc95cb856f202f40f84d13086d0bfa23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20G=C5=82=C4=85b?= Date: Fri, 27 Sep 2024 11:04:36 +0200 Subject: [PATCH] [nrf fromlist] dts: arm: nordic: Define power states for nrf54h20/cpuapp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add definition of low power states 'idle' and 's2ram' for nrf54h20/cpuapp. Upstream PR: https://github.com/zephyrproject-rtos/zephyr/pull/79098 Signed-off-by: Sebastian Głąb --- dts/common/nordic/nrf54h20.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/dts/common/nordic/nrf54h20.dtsi b/dts/common/nordic/nrf54h20.dtsi index 370b560bc0b..2643504b65a 100644 --- a/dts/common/nordic/nrf54h20.dtsi +++ b/dts/common/nordic/nrf54h20.dtsi @@ -28,6 +28,7 @@ device_type = "cpu"; clocks = <&cpuapp_hsfll>; clock-frequency = ; + cpu-power-states = <&idle &s2ram>; }; cpurad: cpu@3 { @@ -72,6 +73,20 @@ nordic,tasks-mask = <0xfffffff0>; }; }; + + power-states { + idle: idle { + compatible = "zephyr,power-state"; + power-state-name = "suspend-to-idle"; + min-residency-us = <100000>; + }; + + s2ram: s2ram { + compatible = "zephyr,power-state"; + power-state-name = "suspend-to-ram"; + min-residency-us = <800000>; + }; + }; }; reserved-memory {