Skip to content

Commit ea7f01b

Browse files
ttmutcfriedt
authored andcommitted
tests: subsys: pm: Use LPTIMER as idle timer for MAX78002EVKIT board
Replace RTC with LPTIMER as the latter has a better time resolution. Signed-off-by: Tahsin Mutlugun <[email protected]>
1 parent 41339e2 commit ea7f01b

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed
Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
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 = &counter0;
1010
};
1111
};
1212

13-
&rtc_counter {
13+
&clk_ertco {
1414
status = "okay";
15+
};
16+
17+
&lptimer0 {
18+
status = "okay";
19+
clock-source = <ADI_MAX32_PRPH_CLK_SRC_ERTCO>;
1520
wakeup-source;
21+
counter0: counter {
22+
status = "okay";
23+
};
1624
};

0 commit comments

Comments
 (0)