File tree Expand file tree Collapse file tree 3 files changed +75
-3
lines changed Expand file tree Collapse file tree 3 files changed +75
-3
lines changed Original file line number Diff line number Diff line change 16
16
#address-cells = <1>;
17
17
#size-cells = <0>;
18
18
19
- cpu@0 {
19
+ cpu0: cpu@0 {
20
20
device_type = "cpu";
21
21
compatible = "arm,cortex-m33";
22
+ cpu-power-states = <&wait &stop &suspend>;
22
23
reg = <0>;
23
24
clock-frequency = <DT_FREQ_M(333)>;
24
25
30
31
reg = <0xe000ed90 0x40>;
31
32
};
32
33
};
34
+
35
+ power-states {
36
+ wait: power-state-wait {
37
+ compatible = "zephyr,power-state";
38
+ power-state-name = "runtime-idle";
39
+ min-residency-us = <100>;
40
+ exit-latency-us = <50>;
41
+ };
42
+
43
+ stop: power-state-stop {
44
+ compatible = "zephyr,power-state";
45
+ power-state-name = "suspend-to-idle";
46
+ min-residency-us = <1000>;
47
+ exit-latency-us = <200>;
48
+ };
49
+
50
+ suspend: power-state-suspend {
51
+ compatible = "zephyr,power-state";
52
+ power-state-name = "standby";
53
+ min-residency-us = <5000>;
54
+ exit-latency-us = <1000>;
55
+ };
56
+ };
33
57
};
34
58
35
59
reserved-memory {
Original file line number Diff line number Diff line change 15
15
#address-cells = <1>;
16
16
#size-cells = <0>;
17
17
18
- cpu@0 {
18
+ cpu0: cpu@0 {
19
19
device_type = "cpu";
20
20
compatible = "arm,cortex-m7";
21
21
reg = <0>;
22
22
clock-frequency = <DT_FREQ_M(800)>;
23
+ cpu-power-states = <&wait &stop &suspend>;
23
24
24
25
#address-cells = <1>;
25
26
#size-cells = <1>;
30
31
reg = <0xe000ed90 0x40>;
31
32
};
32
33
};
34
+
35
+ power-states {
36
+ wait: power-state-wait {
37
+ compatible = "zephyr,power-state";
38
+ power-state-name = "runtime-idle";
39
+ min-residency-us = <100>;
40
+ exit-latency-us = <50>;
41
+ };
42
+
43
+ stop: power-state-stop {
44
+ compatible = "zephyr,power-state";
45
+ power-state-name = "suspend-to-idle";
46
+ min-residency-us = <1000>;
47
+ exit-latency-us = <200>;
48
+ };
49
+
50
+ suspend: power-state-suspend {
51
+ compatible = "zephyr,power-state";
52
+ power-state-name = "standby";
53
+ min-residency-us = <5000>;
54
+ exit-latency-us = <1000>;
55
+ };
56
+ };
33
57
};
34
58
35
59
reserved-memory {
Original file line number Diff line number Diff line change 15
15
#address-cells = <1>;
16
16
#size-cells = <0>;
17
17
18
- cpu@0 {
18
+ cpu0: cpu@0 {
19
19
device_type = "cpu";
20
20
compatible = "arm,cortex-m7";
21
21
reg = <0>;
22
22
clock-frequency = <DT_FREQ_M(800)>;
23
+ cpu-power-states = <&wait &stop &suspend>;
23
24
24
25
#address-cells = <1>;
25
26
#size-cells = <1>;
30
31
reg = <0xe000ed90 0x40>;
31
32
};
32
33
};
34
+
35
+ power-states {
36
+ wait: power-state-wait {
37
+ compatible = "zephyr,power-state";
38
+ power-state-name = "runtime-idle";
39
+ min-residency-us = <100>;
40
+ exit-latency-us = <50>;
41
+ };
42
+
43
+ stop: power-state-stop {
44
+ compatible = "zephyr,power-state";
45
+ power-state-name = "suspend-to-idle";
46
+ min-residency-us = <1000>;
47
+ exit-latency-us = <200>;
48
+ };
49
+
50
+ suspend: power-state-suspend {
51
+ compatible = "zephyr,power-state";
52
+ power-state-name = "standby";
53
+ min-residency-us = <5000>;
54
+ exit-latency-us = <1000>;
55
+ };
56
+ };
33
57
};
34
58
35
59
reserved-memory {
You can’t perform that action at this time.
0 commit comments