Skip to content

Commit 41d455b

Browse files
Akash Asthanarobherring
authored andcommitted
dt-bindings: serial: Add binding for UART pin swap
Add documentation to support RX-TX & CTS-RTS GPIO pin swap in HW. Signed-off-by: Akash Asthana <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Signed-off-by: Rob Herring <[email protected]>
1 parent add953d commit 41d455b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Documentation/devicetree/bindings/serial/serial.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,14 @@ properties:
6767
(wired and enabled by pinmux configuration). This depends on both the
6868
UART hardware and the board wiring.
6969

70+
rx-tx-swap:
71+
type: boolean
72+
description: RX and TX pins are swapped.
73+
74+
cts-rts-swap:
75+
type: boolean
76+
description: CTS and RTS pins are swapped.
77+
7078
if:
7179
required:
7280
- uart-has-rtscts

0 commit comments

Comments
 (0)