Skip to content

Commit 90c590a

Browse files
dts: arm: nxp: rw6xx_common.dtsi: use default power domain
Update board to use default power domain for the "peripheral" domain, which when resumed prevents SoC from entering suspend and standby states as these power down peripherals. Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
1 parent f0a2392 commit 90c590a

File tree

1 file changed

+31
-37
lines changed

1 file changed

+31
-37
lines changed

dts/arm/nxp/nxp_rw6xx_common.dtsi

Lines changed: 31 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@
8383
ranges = <0x0 0x443C0000 DT_SIZE_K(140)>;
8484
};
8585

86-
power_mode3_domain: power_mode3_domain {
87-
compatible = "power-domain-soc-state-change";
88-
onoff-power-states = <&standby>;
86+
peripheral_domain: peripheral-domain {
87+
compatible = "power-domain";
8988
#power-domain-cells = <0>;
89+
zephyr,disabling-power-states = <&suspend &standby>;
9090
};
9191
};
9292

@@ -194,7 +194,7 @@
194194
reg = <0x14000 0x1000>;
195195
status = "okay";
196196
interrupts = <123 0>;
197-
power-domains = <&power_mode3_domain>;
197+
power-domains = <&peripheral_domain>;
198198
};
199199

200200
wwdt: watchdog@e000 {
@@ -217,7 +217,7 @@
217217
#gpio-cells = <2>;
218218
reg = <0>;
219219
int-source = "pint";
220-
power-domains = <&power_mode3_domain>;
220+
power-domains = <&peripheral_domain>;
221221
};
222222

223223
hsgpio1: gpio@1 {
@@ -226,7 +226,7 @@
226226
#gpio-cells = <2>;
227227
reg = <1>;
228228
int-source = "pint";
229-
power-domains = <&power_mode3_domain>;
229+
power-domains = <&peripheral_domain>;
230230
};
231231
};
232232

@@ -236,7 +236,7 @@
236236
interrupts = <50 1>;
237237
interrupt-names = "usb_otg";
238238
num-bidir-endpoints = <8>;
239-
power-domains = <&power_mode3_domain>;
239+
power-domains = <&peripheral_domain>;
240240
status = "disabled";
241241
};
242242

@@ -248,8 +248,7 @@
248248
resets = <&rstctl1 NXP_SYSCON_RESET(0, 8)>;
249249
dmas = <&dma0 0>, <&dma0 1>;
250250
dma-names = "rx", "tx";
251-
zephyr,disabling-power-states = <&suspend &standby>;
252-
power-domains = <&power_mode3_domain>;
251+
power-domains = <&peripheral_domain>;
253252
status = "disabled";
254253
};
255254

@@ -261,8 +260,7 @@
261260
resets = <&rstctl1 NXP_SYSCON_RESET(0, 9)>;
262261
dmas = <&dma0 2>, <&dma0 3>;
263262
dma-names = "rx", "tx";
264-
zephyr,disabling-power-states = <&suspend &standby>;
265-
power-domains = <&power_mode3_domain>;
263+
power-domains = <&peripheral_domain>;
266264
status = "disabled";
267265
};
268266

@@ -274,8 +272,7 @@
274272
resets = <&rstctl1 NXP_SYSCON_RESET(0, 10)>;
275273
dmas = <&dma0 4>, <&dma0 5>;
276274
dma-names = "rx", "tx";
277-
zephyr,disabling-power-states = <&suspend &standby>;
278-
power-domains = <&power_mode3_domain>;
275+
power-domains = <&peripheral_domain>;
279276
status = "disabled";
280277
};
281278

@@ -287,8 +284,7 @@
287284
resets = <&rstctl1 NXP_SYSCON_RESET(0, 11)>;
288285
dmas = <&dma0 6>, <&dma0 7>;
289286
dma-names = "rx", "tx";
290-
zephyr,disabling-power-states = <&suspend &standby>;
291-
power-domains = <&power_mode3_domain>;
287+
power-domains = <&peripheral_domain>;
292288
status = "disabled";
293289
};
294290

@@ -300,8 +296,7 @@
300296
resets = <&rstctl1 NXP_SYSCON_RESET(0, 22)>;
301297
dmas = <&dma0 26>, <&dma0 27>;
302298
dma-names = "rx", "tx";
303-
zephyr,disabling-power-states = <&suspend &standby>;
304-
power-domains = <&power_mode3_domain>;
299+
power-domains = <&peripheral_domain>;
305300
status = "disabled";
306301
};
307302

@@ -333,7 +328,7 @@
333328
compatible = "nxp,wifi";
334329
/* first index is the imu interrupt, the second is the wakeup done interrupt */
335330
interrupts = <72 2>, <64 2>;
336-
power-domains = <&power_mode3_domain>;
331+
power-domains = <&peripheral_domain>;
337332
};
338333

339334
dma0: dma-controller@104000 {
@@ -343,7 +338,7 @@
343338
status = "disabled";
344339
#dma-cells = <1>;
345340
dma-channels = <33>;
346-
power-domains = <&power_mode3_domain>;
341+
power-domains = <&peripheral_domain>;
347342
};
348343

349344
lcdic: lcdic@128000 {
@@ -355,8 +350,7 @@
355350
#size-cells = <0>;
356351
clocks = <&clkctl1 MCUX_LCDIC_CLK>;
357352
dmas = <&dma0 0>;
358-
zephyr,disabling-power-states = <&suspend &standby>;
359-
power-domains = <&power_mode3_domain>;
353+
power-domains = <&peripheral_domain>;
360354
};
361355

362356
rtc: rtc@30000 {
@@ -380,7 +374,7 @@
380374
mode = <0>;
381375
input = <0>;
382376
prescale = <0>;
383-
power-domains = <&power_mode3_domain>;
377+
power-domains = <&peripheral_domain>;
384378
};
385379

386380
ctimer1: ctimer@29000 {
@@ -393,7 +387,7 @@
393387
mode = <0>;
394388
input = <0>;
395389
prescale = <0>;
396-
power-domains = <&power_mode3_domain>;
390+
power-domains = <&peripheral_domain>;
397391
};
398392

399393
ctimer2: ctimer@2a000 {
@@ -406,7 +400,7 @@
406400
mode = <0>;
407401
input = <0>;
408402
prescale = <0>;
409-
power-domains = <&power_mode3_domain>;
403+
power-domains = <&peripheral_domain>;
410404
};
411405

412406
ctimer3: ctimer@2b000 {
@@ -419,7 +413,7 @@
419413
mode = <0>;
420414
input = <0>;
421415
prescale = <0>;
422-
power-domains = <&power_mode3_domain>;
416+
power-domains = <&peripheral_domain>;
423417
};
424418

425419
sctimer: pwm@146000 {
@@ -430,7 +424,7 @@
430424
status = "disabled";
431425
prescaler = <8>;
432426
#pwm-cells = <3>;
433-
power-domains = <&power_mode3_domain>;
427+
power-domains = <&peripheral_domain>;
434428
};
435429

436430
mrt0: mrt@2d000 {
@@ -443,7 +437,7 @@
443437
resets = <&rstctl1 NXP_SYSCON_RESET(2, 8)>;
444438
#address-cells = <1>;
445439
#size-cells = <0>;
446-
power-domains = <&power_mode3_domain>;
440+
power-domains = <&peripheral_domain>;
447441

448442
mrt0_channel0: mrt0_channel@0 {
449443
compatible = "nxp,mrt-channel";
@@ -477,7 +471,7 @@
477471
resets = <&rstctl0 NXP_SYSCON_RESET(2, 26)>;
478472
#address-cells = <1>;
479473
#size-cells = <0>;
480-
power-domains = <&power_mode3_domain>;
474+
power-domains = <&peripheral_domain>;
481475

482476
mrt1_channel0: mrt1_channel@0 {
483477
compatible = "nxp,mrt-channel";
@@ -509,7 +503,7 @@
509503
interrupts = <25 0>;
510504
status = "disabled";
511505
clocks = <&clkctl1 MCUX_DMIC_CLK>;
512-
power-domains = <&power_mode3_domain>;
506+
power-domains = <&peripheral_domain>;
513507

514508
pdmc0: dmic-channel@0 {
515509
reg = <0>;
@@ -547,7 +541,7 @@
547541
interrupts = <112 0>;
548542
status = "disabled";
549543
#io-channel-cells = <1>;
550-
power-domains = <&power_mode3_domain>;
544+
power-domains = <&peripheral_domain>;
551545
};
552546

553547
adc1: gau_adc1@38100 {
@@ -556,7 +550,7 @@
556550
interrupts = <111 0>;
557551
status = "disabled";
558552
#io-channel-cells = <1>;
559-
power-domains = <&power_mode3_domain>;
553+
power-domains = <&peripheral_domain>;
560554
};
561555

562556
dac0: dac@38200 {
@@ -565,7 +559,7 @@
565559
interrupts = <108 0>;
566560
status = "disabled";
567561
#io-channel-cells = <0>;
568-
power-domains = <&power_mode3_domain>;
562+
power-domains = <&peripheral_domain>;
569563
};
570564
};
571565

@@ -584,14 +578,14 @@
584578

585579
hci: hci_ble {
586580
compatible = "nxp,hci-ble";
587-
power-domains = <&power_mode3_domain>;
581+
power-domains = <&peripheral_domain>;
588582
};
589583

590584
hdlc_rcp_if: hdlc_rcp_if {
591585
compatible = "nxp,hdlc-rcp-if";
592586
interrupts = <90 2>, <82 2>;
593587
interrupt-names = "hdlc_rcp_if_int", "wakeup_int";
594-
power-domains = <&power_mode3_domain>;
588+
power-domains = <&peripheral_domain>;
595589
};
596590

597591
enet: enet@138000 {
@@ -605,21 +599,21 @@
605599
nxp,mdio = <&enet_mdio>;
606600
nxp,ptp-clock = <&enet_ptp_clock>;
607601
status = "disabled";
608-
power-domains = <&power_mode3_domain>;
602+
power-domains = <&peripheral_domain>;
609603
};
610604
enet_mdio: mdio {
611605
compatible = "nxp,enet-mdio";
612606
status = "disabled";
613607
#address-cells = <1>;
614608
#size-cells = <0>;
615-
power-domains = <&power_mode3_domain>;
609+
power-domains = <&peripheral_domain>;
616610
};
617611
enet_ptp_clock: ptp-clock {
618612
compatible = "nxp,enet-ptp-clock";
619613
interrupts = <116 0>;
620614
status = "disabled";
621615
clocks = <&clkctl1 MCUX_ENET_PLL>;
622-
power-domains = <&power_mode3_domain>;
616+
power-domains = <&peripheral_domain>;
623617
};
624618
};
625619
};

0 commit comments

Comments
 (0)