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

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
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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