1/* 2 * Copyright 2025 NXP 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6/ { 7 power-states { 8 state0: state0 { 9 compatible = "zephyr,power-state"; 10 power-state-name = "runtime-idle"; 11 min-residency-us = <10000>; 12 exit-latency-us = <100>; 13 }; 14 15 state1: state1 { 16 compatible = "zephyr,power-state"; 17 power-state-name = "suspend-to-idle"; 18 min-residency-us = <50000>; 19 exit-latency-us = <500>; 20 }; 21 22 state2: state2 { 23 compatible = "zephyr,power-state"; 24 power-state-name = "standby"; 25 min-residency-us = <100000>; 26 exit-latency-us = <1000>; 27 }; 28 }; 29 30 test_soc_state_domain: test_soc_state_domain { 31 compatible = "power-domain-soc-state-change"; 32 status = "okay"; 33 onoff-power-states = <&state1 &state2>; 34 #power-domain-cells = <0>; 35 }; 36 37 test_dev_soc_state_change: test_dev_soc_state_change { 38 compatible = "test-device-pm"; 39 status = "okay"; 40 power-domains = <&test_soc_state_domain>; 41 }; 42}; 43 44&cpu0 { 45 cpu-power-states = <&state0 &state1 &state2>; 46}; 47