Skip to content

Commit daa18df

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 daa18df

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

dts/common/nordic/nrf54h20.dtsi

Lines changed: 23 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,27 @@
7274
nordic,tasks-mask = <0xfffffff0>;
7375
};
7476
};
77+
78+
power-states {
79+
idle: idle {
80+
compatible = "zephyr,power-state";
81+
power-state-name = "suspend-to-idle";
82+
substate-id = <0>;
83+
min-residency-us = <0>;
84+
};
85+
// substate-id = <1>; is reserved for "idle-cache-retained"
86+
idle_cache_disabled: idle_cache_disabled {
87+
compatible = "zephyr,power-state";
88+
power-state-name = "suspend-to-idle";
89+
substate-id = <2>;
90+
min-residency-us = <100000>;
91+
};
92+
s2ram: s2ram {
93+
compatible = "zephyr,power-state";
94+
power-state-name = "suspend-to-ram";
95+
min-residency-us = <800000>;
96+
};
97+
};
7598
};
7699

77100
reserved-memory {

0 commit comments

Comments
 (0)