zephyr/tests/subsys/pm/policy_api/app.overlay
Alberto Escolar Piedras a8b44fd1d1 dts: zephyr,native-posix-cpu changed to zephyr,native-sim-cpu
The old binding remains until 4.4 but is deprecated.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-03-12 02:27:36 +01:00

45 lines
857 B
Plaintext

/*
* Copyright (c) 2021 Nordic Semiconductor ASA
* SPDX-License-Identifier: Apache-2.0
*/
/ {
cpus {
cpu1: cpu@1 {
compatible = "zephyr,native-sim-cpu";
reg = <1>;
cpu-power-states = <&state2>;
};
};
power-states {
state0: state0 {
compatible = "zephyr,power-state";
power-state-name = "runtime-idle";
min-residency-us = <100000>;
exit-latency-us = <10000>;
substate-id = <1>;
};
state1: state1 {
compatible = "zephyr,power-state";
power-state-name = "suspend-to-ram";
min-residency-us = <1000000>;
exit-latency-us = <100000>;
substate-id = <10>;
};
state2: state2 {
compatible = "zephyr,power-state";
power-state-name = "suspend-to-ram";
min-residency-us = <500000>;
exit-latency-us = <50000>;
substate-id = <100>;
};
};
};
&cpu0 {
cpu-power-states = <&state0 &state1>;
};