1/* 2 * Copyright (c) 2021 Nordic Semiconductor ASA 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6/ { 7 cpus { 8 cpu1: cpu@1 { 9 compatible = "zephyr,native-posix-cpu"; 10 reg = <1>; 11 cpu-power-states = <&state2>; 12 }; 13 }; 14 15 power-states { 16 state0: state0 { 17 compatible = "zephyr,power-state"; 18 power-state-name = "runtime-idle"; 19 min-residency-us = <100000>; 20 exit-latency-us = <10000>; 21 substate-id = <1>; 22 }; 23 24 state1: state1 { 25 compatible = "zephyr,power-state"; 26 power-state-name = "suspend-to-ram"; 27 min-residency-us = <1000000>; 28 exit-latency-us = <100000>; 29 substate-id = <10>; 30 }; 31 32 state2: state2 { 33 compatible = "zephyr,power-state"; 34 power-state-name = "suspend-to-ram"; 35 min-residency-us = <500000>; 36 exit-latency-us = <50000>; 37 substate-id = <100>; 38 }; 39 }; 40}; 41 42&cpu0 { 43 cpu-power-states = <&state0 &state1>; 44}; 45