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 <akashast@codeaurora.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
Akash Asthana 2020-05-27 11:57:44 +05:30 committed by Rob Herring
parent add953dc47
commit 41d455bda2

View File

@ -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