Skip to content

Commit d3d23be

Browse files
gautierg-stpdgendt
authored andcommitted
dts: arm: stm32wba: add standby mode to device tree
Add standby mode to device tree Signed-off-by: Guillaume Gautier <[email protected]>
1 parent 67c56a4 commit d3d23be

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

dts/arm/st/wba/stm32wba.dtsi

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
chosen {
2323
zephyr,entropy = &rng;
2424
zephyr,flash-controller = &flash;
25+
st,lptim-stdby-timer = &rtc;
2526
};
2627

2728
cpus {
@@ -32,7 +33,7 @@
3233
device_type = "cpu";
3334
compatible = "arm,cortex-m33";
3435
reg = <0>;
35-
cpu-power-states = <&stop0 &stop1>;
36+
cpu-power-states = <&stop0 &stop1 &standby>;
3637
#address-cells = <1>;
3738
#size-cells = <1>;
3839

@@ -55,6 +56,13 @@
5556
substate-id = <2>;
5657
min-residency-us = <500>;
5758
};
59+
standby: state2 {
60+
compatible = "zephyr,power-state";
61+
power-state-name = "suspend-to-ram";
62+
substate-id = <1>;
63+
min-residency-us = <1000>;
64+
exit-latency-us = <50>;
65+
};
5866
};
5967
};
6068

0 commit comments

Comments
 (0)