diff --git a/tests/subsys/pm/power_mgmt_soc/boards/max78002evkit_max78002_m4.conf b/tests/subsys/pm/power_mgmt_soc/boards/max78002evkit_max78002_m4.conf new file mode 100644 index 00000000000..f4b735eb385 --- /dev/null +++ b/tests/subsys/pm/power_mgmt_soc/boards/max78002evkit_max78002_m4.conf @@ -0,0 +1,6 @@ +# Copyright (c) 2024 Analog Devices, Inc. +# +# SPDX-License-Identifier: Apache-2.0 +# + +CONFIG_COUNTER=y diff --git a/tests/subsys/pm/power_mgmt_soc/boards/max78002evkit_max78002_m4.overlay b/tests/subsys/pm/power_mgmt_soc/boards/max78002evkit_max78002_m4.overlay new file mode 100644 index 00000000000..ff73704412a --- /dev/null +++ b/tests/subsys/pm/power_mgmt_soc/boards/max78002evkit_max78002_m4.overlay @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2024 Analog Devices, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + chosen { + zephyr,cortex-m-idle-timer = &rtc_counter; + }; +}; + +&rtc_counter { + status = "okay"; + wakeup-source; +};