Skip to content

Commit c107859

Browse files
mmahadevan108kartben
authored andcommitted
boards: nxp_rw6xx: Enable RTC counter support for RW6XX.
This is used as wakeup source to wakeup from Power Modes 3 and 4. Signed-off-by: Mahesh Mahadevan <[email protected]>
1 parent 8a3dc68 commit c107859

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

boards/nxp/frdm_rw612/frdm_rw612_common.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@
196196
&os_timer {
197197
status = "okay";
198198
wakeup-source;
199+
deep-sleep-counter = <&rtc_highres>;
199200
};
200201

201202
&systick {
@@ -216,6 +217,12 @@
216217
pinctrl-names = "default";
217218
};
218219

220+
/* RTC is the wakeup source for PM modes 3,4 */
221+
&rtc_highres {
222+
status = "okay";
223+
wakeup-source;
224+
};
225+
219226
&nbu {
220227
status = "okay";
221228
wakeup-source;

boards/nxp/rd_rw612_bga/rd_rw612_bga.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,12 @@ nxp_8080_touch_panel_i2c: &arduino_i2c {
270270
pinctrl-names = "default";
271271
};
272272

273+
/* RTC is the wakeup source for PM modes 3,4 */
274+
&rtc_highres {
275+
status = "okay";
276+
wakeup-source;
277+
};
278+
273279
&pmu {
274280
reset-causes-en = <PMU_RESET_CM33_LOCKUP>,
275281
<PMU_RESET_ITRC>,
@@ -288,6 +294,7 @@ nxp_8080_touch_panel_i2c: &arduino_i2c {
288294
&os_timer {
289295
status = "okay";
290296
wakeup-source;
297+
deep-sleep-counter = <&rtc_highres>;
291298
};
292299

293300
&systick {

0 commit comments

Comments
 (0)