Skip to content

Commit 2fa689b

Browse files
warasilapmcarlescufi
authored andcommitted
dts: bindings: serial: stm32: restore tx-rx-swap property
As part of a previous refactor, this property was removed from the STM32 USART binding. The driver code to support this feature was not changed. This commit simply adds the property back to the new base .yaml for device trees which used it. Tested on a proprietary board using the STM32U5 on USART1. Signed-off-by: Peter Maxwell Warasila <[email protected]>
1 parent b231415 commit 2fa689b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dts/bindings/serial/st,stm32-uart-base.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ properties:
2525
only TX pin is used afterwards and should be configured.
2626
RX/TX conflicts must be handled on user side.
2727
28+
tx-rx-swap:
29+
type: boolean
30+
required: false
31+
description:
32+
Swap the TX and RX pins. Used in case of a cross wired connection.
33+
2834
tx-invert:
2935
type: boolean
3036
required: false

0 commit comments

Comments
 (0)