From 41d455bda234a30e2948196d87ba03260f1d776d Mon Sep 17 00:00:00 2001 From: Akash Asthana Date: Wed, 27 May 2020 11:57:44 +0530 Subject: [PATCH] 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 Reviewed-by: Stephen Boyd Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/serial/serial.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/serial.yaml b/Documentation/devicetree/bindings/serial/serial.yaml index 53204d90d0c74..8645d0e526b40 100644 --- a/Documentation/devicetree/bindings/serial/serial.yaml +++ b/Documentation/devicetree/bindings/serial/serial.yaml @@ -67,6 +67,14 @@ properties: (wired and enabled by pinmux configuration). This depends on both the 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: required: - uart-has-rtscts -- 2.30.2