Skip to content

Commit 409bd99

Browse files
committed
dts: bindings: serial: nrfx_uarte: Add pin-retention property
Add property to nrfx_uarte which indicates that pins must be retained for the given instance when it is disabled. Add that property to uart120 instances as those always require that since pins are routed through CTRLSEL. For other instances there are exceptions when CTRLSEL is used (see the specification). Signed-off-by: Krzysztof Chruściński <[email protected]>
1 parent 5842b0a commit 409bd99

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

dts/bindings/serial/nordic,nrf-uarte.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,9 @@ properties:
1414
type: boolean
1515
description: |
1616
UARTE has RX frame timeout HW feature.
17+
pin-retention:
18+
type: boolean
19+
description: |
20+
UARTE pin states must be retained when peripheral is disabled.
21+
It is required when CTRLSEL is used to route UARTE pins. It is always the
22+
case for fast peripheral and in special cases for slow peripherals.

dts/common/nordic/nrf54h20.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -669,6 +669,7 @@
669669
power-domains = <&gpd NRF_GPD_FAST_ACTIVE1>;
670670
endtx-stoptx-supported;
671671
frame-timeout-supported;
672+
pin-retention;
672673
};
673674

674675
spi121: spi@8e7000 {

dts/common/nordic/nrf9280.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@
508508
interrupts = <230 NRF_DEFAULT_IRQ_PRIORITY>;
509509
endtx-stoptx-supported;
510510
frame-timeout-supported;
511+
pin-retention;
511512
};
512513

513514
spi121: spi@8e7000 {

0 commit comments

Comments
 (0)