Define the power state needed in the test in DT. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
26 lines
361 B
Plaintext
26 lines
361 B
Plaintext
/*
|
|
* Copyright (c) 2021 Intel Corporation.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
/ {
|
|
cpus {
|
|
power-states {
|
|
state0: state0 {
|
|
compatible = "zephyr,power-state";
|
|
power-state-name = "suspend-to-ram";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&gpio0 {
|
|
compatible = "zephyr,gpio-emul";
|
|
gpio-controller;
|
|
wakeup-source;
|
|
};
|
|
|
|
&cpu0 {
|
|
cpu-power-states = <&state0>;
|
|
};
|