nxp,lpuart

Vendor: NXP Semiconductors

Note

An implementation of a driver matching this compatible is available in drivers/serial/uart_mcux_lpuart.c.

Description

These nodes are “uart” bus nodes.

NXP LPUART

Properties

Properties not inherited from the base binding file.

Name

Type

Details

nxp,loopback

boolean

Enable loopback mode on LPUART peripheral. When present, RX pin is
disconnected, and transmitter output is internally connected to
the receiver input.

single-wire

boolean

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.

nxp,rs485-mode

boolean

Set to enable RTS signal, which can be used to enable the driver
of an external RS-485 transceiver. Note hw-flow-control should be
set to false.

nxp,rs485-de-active-low

boolean

RTS polarity at RS485 mode.

clock-frequency

int

Clock frequency information for UART operation

current-speed

int

Initial baud rate setting for UART

hw-flow-control

boolean

Set to enable RTS/CTS flow control at boot time

parity

string

Configures the parity of the adapter. Enumeration id 0 for none, 1 for odd
and 2 for even parity. Default to none if not specified.

Legal values: 'none', 'odd', 'even'

stop-bits

string

Sets the number of stop bits.

Legal values: '0_5', '1', '1_5', '2'

data-bits

int

Sets the number of data bits.

Legal values: 5, 6, 7, 8, 9

tx-invert

boolean

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

boolean

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.

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.