The latest development version of this page may be more current than this released 3.7.0 version.

zephyr,uart-emul

Vendor: Zephyr-specific binding

Description

These nodes are “uart” bus nodes.

UART Emulator

Properties

Properties not inherited from the base binding file.

Name

Type

Details

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-fifo-size

int

Size of the virtual UART TX FIFO

Default value: 256

rx-fifo-size

int

Size of the virtual UART RX FIFO

Default value: 256

loopback

boolean

Connects TX to RX internally creating a loop back connection. Useful
for testing.

latch-buffer-size

int

Size of the virtual UART latch buffer.

Default value: 1