]> www.infradead.org Git - users/hch/misc.git/commitdiff
dt-bindings: serial: Add binding for UART pin swap
authorAkash Asthana <akashast@codeaurora.org>
Wed, 27 May 2020 06:27:44 +0000 (11:57 +0530)
committerRob Herring <robh@kernel.org>
Fri, 29 May 2020 21:30:55 +0000 (15:30 -0600)
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>
Documentation/devicetree/bindings/serial/serial.yaml

index 53204d90d0c74ebd5a89eef6e9f8ca8897ee43b7..8645d0e526b4001c868774dc3c2172baa00ab525 100644 (file)
@@ -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