boards: lora_e5_dev_board: add power states config
Add the power state configs so that the board can be used with suspend to idle out of the box. This is the same config as the one in nucleo_wl55jc. Signed-off-by: Fabio Baltieri <fabio.baltieri@gmail.com>
This commit is contained in:
parent
d0377d30e3
commit
a85b5f5fe2
1 changed files with 29 additions and 0 deletions
|
@ -75,6 +75,35 @@
|
|||
regulator-boot-on;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
power-states {
|
||||
stop0: state0 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <1>;
|
||||
min-residency-us = <100>;
|
||||
};
|
||||
stop1: state1 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <2>;
|
||||
min-residency-us = <500>;
|
||||
};
|
||||
stop2: state2 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <3>;
|
||||
min-residency-us = <900>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&cpu0 {
|
||||
cpu-power-states = <&stop0 &stop1 &stop2>;
|
||||
};
|
||||
|
||||
&lptim1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&clk_msi {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue