File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 22
22
compatible = "arm,cortex-m0+";
23
23
clock-frequency = <DT_FREQ_M(48)>;
24
24
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
+ };
25
50
};
26
51
};
27
52
You can’t perform that action at this time.
0 commit comments