Skip to content

Commit 731fbf1

Browse files
committed
dts: mcxw7x: Add Power Management support
Add support for power management states Signed-off-by: Mahesh Mahadevan <[email protected]>
1 parent 8f60b74 commit 731fbf1

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

dts/arm/nxp/nxp_mcxw7x_common.dtsi

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
cpu0: cpu@0 {
3333
compatible = "arm,cortex-m33f";
3434
reg = <0>;
35+
cpu-power-states = <&sleep &sleep_optimized &deep_sleep>;
3536
#address-cells = <1>;
3637
#size-cells = <1>;
3738

@@ -40,6 +41,28 @@
4041
reg = <0xe000ed90 0x40>;
4142
};
4243
};
44+
45+
power-states {
46+
sleep: sleep {
47+
compatible = "zephyr,power-state";
48+
power-state-name = "runtime-idle";
49+
min-residency-us = <100>;
50+
exit-latency-us = <0>;
51+
};
52+
sleep_optimized: sleep-optimized {
53+
compatible = "zephyr,power-state";
54+
power-state-name = "suspend-to-idle";
55+
substate-id = <0>;
56+
min-residency-us = <500>;
57+
exit-latency-us = <10>;
58+
};
59+
deep_sleep: deep-sleep {
60+
compatible = "zephyr,power-state";
61+
power-state-name = "standby";
62+
min-residency-us = <1000>;
63+
exit-latency-us = <11>;
64+
};
65+
};
4366
};
4467

4568
soc {

0 commit comments

Comments
 (0)