zephyr/samples/subsys/pm/latency/boards/native_sim.overlay

32 lines
715 B
Plaintext
Raw Normal View History

/*
* Copyright (c) 2022 Nordic Semiconductor ASA
* SPDX-License-Identifier: Apache-2.0
*/
/ {
power-states {
runtime_idle: runtime-idle {
compatible = "zephyr,power-state";
power-state-name = "runtime-idle";
min-residency-us = <1000000>;
exit-latency-us = <10000>;
};
suspend_to_idle: suspend-to-idle {
compatible = "zephyr,power-state";
power-state-name = "suspend-to-idle";
min-residency-us = <1100000>;
exit-latency-us = <20000>;
};
standby: standby {
compatible = "zephyr,power-state";
power-state-name = "standby";
min-residency-us = <1200000>;
exit-latency-us = <30000>;
};
};
};
&cpu0 {
cpu-power-states = <&runtime_idle &suspend_to_idle &standby>;
};