drivers: serial: mcux lpuart add (tx/rx)invert and single wire

Adds device tree definitions to enable tx/rx invert and singlewire modes

Signed-off-by: Peter van der Perk <peter.vanderperk@nxp.com>
This commit is contained in:
Peter van der Perk 2024-04-12 13:37:58 +02:00 committed by Anas Nashif
commit 7adc4b689b
2 changed files with 51 additions and 0 deletions

View file

@ -15,6 +15,26 @@ properties:
disconnected, and transmitter output is internally connected to
the receiver input.
single-wire:
type: boolean
description: |
Enable the single wire half-duplex communication.
Using this mode, TX and RX lines are internally connected and
only TX pin is used afterwards and should be configured.
RX/TX conflicts must be handled on user side.
tx-invert:
type: boolean
description: |
Invert the binary logic of tx pin. When enabled, physical logic levels are inverted and
we use 1=Low, 0=High instead of 1=High, 0=Low.
rx-invert:
type: boolean
description: |
Invert the binary logic of rx pin. When enabled, physical logic levels are inverted and
we use 1=Low, 0=High instead of 1=High, 0=Low.
nxp,rs485-mode:
type: boolean
description: |