Skip to content

Commit 956ad83

Browse files
committed
dts: arm: ti: cc23x0: Add power management support
Add support for PM to cc23x0 SoC. Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com> Signed-off-by: Julien Panis <jpanis@baylibre.com>
1 parent de5068b commit 956ad83

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

dts/arm/ti/cc23x0.dtsi

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,31 @@
2222
compatible = "arm,cortex-m0+";
2323
clock-frequency = <DT_FREQ_M(48)>;
2424
reg = <0>;
25+
cpu-power-states = <&state0 &state1 &state2>;
26+
};
27+
28+
power-states {
29+
state0: state0 {
30+
compatible = "zephyr,power-state";
31+
power-state-name = "runtime-idle";
32+
min-residency-us = <315>;
33+
};
34+
35+
state1: state1 {
36+
compatible = "zephyr,power-state";
37+
power-state-name = "standby";
38+
min-residency-us = <315>;
39+
exit-latency-us = <185>;
40+
};
41+
42+
/* PM_STATE_SOFT_OFF can be entered only by calling pm_state_force */
43+
state2: state2 {
44+
compatible = "zephyr,power-state";
45+
power-state-name = "soft-off";
46+
min-residency-us = <0>;
47+
exit-latency-us = <0>;
48+
status = "disabled";
49+
};
2550
};
2651
};
2752

0 commit comments

Comments
 (0)