Skip to content

Commit a83331b

Browse files
adamkondraciukjukkar
authored andcommitted
[nrf fromtree] 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. Signed-off-by: Adam Kondraciuk <[email protected]> (cherry picked from commit e786c1f) (cherry picked from commit 126e66e)
1 parent 899a506 commit a83331b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

dts/common/nordic/nrf54h20.dtsi

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
device_type = "cpu";
3232
clocks = <&cpuapp_hsfll>;
3333
clock-frequency = <DT_FREQ_M(320)>;
34-
cpu-power-states = <&idle &s2ram>;
34+
cpu-power-states = <&idle_cache_disabled &s2ram>;
3535
};
3636

3737
cpurad: cpu@3 {
@@ -40,6 +40,7 @@
4040
device_type = "cpu";
4141
clocks = <&cpurad_hsfll>;
4242
clock-frequency = <DT_FREQ_M(256)>;
43+
cpu-power-states = <&idle_cache_disabled>;
4344
};
4445

4546
cpuppr: cpu@d {
@@ -128,12 +129,14 @@
128129
};
129130

130131
power-states {
131-
idle: idle {
132+
// substate-id = <0>; is reserved for "idle", cache powered on
133+
// substate-id = <1>; is reserved for "idle-cache-retained"
134+
idle_cache_disabled: idle_cache_disabled {
132135
compatible = "zephyr,power-state";
133136
power-state-name = "suspend-to-idle";
137+
substate-id = <2>;
134138
min-residency-us = <100000>;
135139
};
136-
137140
s2ram: s2ram {
138141
compatible = "zephyr,power-state";
139142
power-state-name = "suspend-to-ram";

0 commit comments

Comments
 (0)