Commit 41d455bd authored by Akash Asthana's avatar Akash Asthana Committed by Rob Herring

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: default avatarAkash Asthana <akashast@codeaurora.org>
Reviewed-by: default avatarStephen Boyd <swboyd@chromium.org>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent add953dc
...@@ -67,6 +67,14 @@ properties: ...@@ -67,6 +67,14 @@ properties:
(wired and enabled by pinmux configuration). This depends on both the (wired and enabled by pinmux configuration). This depends on both the
UART hardware and the board wiring. UART hardware and the board wiring.
rx-tx-swap:
type: boolean
description: RX and TX pins are swapped.
cts-rts-swap:
type: boolean
description: CTS and RTS pins are swapped.
if: if:
required: required:
- uart-has-rtscts - uart-has-rtscts
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment