Skip to content

Commit 41339e2

Browse files
ttmutcfriedt
authored andcommitted
tests: subsys: pm: Use WUT as idle timer for MAX32655 boards
Use Wake-Up Timer which has a higher resolution than RTC as the sleep timer for MAX32655 boards. Signed-off-by: Tahsin Mutlugun <[email protected]>
1 parent bc94ca4 commit 41339e2

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
/*
2-
* Copyright (c) 2024 Analog Devices, Inc.
2+
* Copyright (c) 2024-2025 Analog Devices, Inc.
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

77
/ {
88
chosen {
9-
zephyr,cortex-m-idle-timer = &rtc_counter;
9+
zephyr,cortex-m-idle-timer = &counter_wut0;
1010
};
1111
};
1212

13-
&rtc_counter {
13+
&wut0 {
1414
status = "okay";
1515
wakeup-source;
16+
counter_wut0: counter {
17+
status = "okay";
18+
};
1619
};
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
/*
2-
* Copyright (c) 2024 Analog Devices, Inc.
2+
* Copyright (c) 2024-2025 Analog Devices, Inc.
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

77
/ {
88
chosen {
9-
zephyr,cortex-m-idle-timer = &rtc_counter;
9+
zephyr,cortex-m-idle-timer = &counter_wut0;
1010
};
1111
};
1212

13-
&rtc_counter {
13+
&wut0 {
1414
status = "okay";
1515
wakeup-source;
16+
counter_wut0: counter {
17+
status = "okay";
18+
};
1619
};

0 commit comments

Comments
 (0)