Skip to content

Commit a6c7061

Browse files
[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: zephyrproject-rtos/zephyr#79067 Signed-off-by: Adam Kondraciuk <[email protected]>
1 parent 05be12f commit a6c7061

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

dts/common/nordic/nrf54h20.dtsi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
device_type = "cpu";
2929
clocks = <&cpuapp_hsfll>;
3030
clock-frequency = <DT_FREQ_M(320)>;
31+
cpu-power-states = <&idle &idle_cache_disabled &s2ram>;
3132
};
3233

3334
cpurad: cpu@3 {
@@ -36,6 +37,7 @@
3637
device_type = "cpu";
3738
clocks = <&cpurad_hsfll>;
3839
clock-frequency = <DT_FREQ_M(256)>;
40+
cpu-power-states = <&idle &idle_cache_disabled>;
3941
};
4042

4143
cpuppr: cpu@d {
@@ -72,6 +74,22 @@
7274
nordic,tasks-mask = <0xfffffff0>;
7375
};
7476
};
77+
78+
power-states {
79+
// substate-id = <0>; is reserved for "idle", cache powered on
80+
// substate-id = <1>; is reserved for "idle-cache-retained"
81+
idle_cache_disabled: idle_cache_disabled {
82+
compatible = "zephyr,power-state";
83+
power-state-name = "suspend-to-idle";
84+
substate-id = <2>;
85+
min-residency-us = <100000>;
86+
};
87+
s2ram: s2ram {
88+
compatible = "zephyr,power-state";
89+
power-state-name = "suspend-to-ram";
90+
min-residency-us = <800000>;
91+
};
92+
};
7593
};
7694

7795
reserved-memory {

0 commit comments

Comments
 (0)