Skip to content

Commit

Permalink
[nrf fromtree] dts: arm: nordic: Add power states for nRF54H20
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
adamkondraciuk committed Nov 28, 2024
1 parent 8f8b18d commit 8997a18
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions dts/common/nordic/nrf54h20.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
device_type = "cpu";
clocks = <&cpuapp_hsfll>;
clock-frequency = <DT_FREQ_M(320)>;
cpu-power-states = <&idle &s2ram>;
cpu-power-states = <&idle_cache_disabled &s2ram>;
};

cpurad: cpu@3 {
Expand All @@ -40,6 +40,7 @@
device_type = "cpu";
clocks = <&cpurad_hsfll>;
clock-frequency = <DT_FREQ_M(256)>;
cpu-power-states = <&idle_cache_disabled>;
};

cpuppr: cpu@d {
Expand Down Expand Up @@ -128,12 +129,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";
Expand Down

0 comments on commit 8997a18

Please sign in to comment.