zephyr,native-tty-uart

Vendor: Zephyr-specific binding

Description

These nodes are “uart” bus nodes.

Native TTY UART

Properties

Properties not inherited from the base binding file.

Name

Type

Details

serial-port

string

Full path to the serial port device, such as "/dev/ttyUSB0" or
"/dev/ttyACM0".

current-speed

int

Initial baud rate setting for UART. Only a fixed set of baud rates are
selectable on these devices.

Legal values: 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400, 460800, 500000, 576000, 921600, 1000000, 1152000, 1500000, 2000000, 2500000, 3000000, 3500000, 4000000

clock-frequency

int

Clock frequency information for UART operation

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