zephyr/dts/bindings/serial/zephyr,native-tty-uart.yaml
Marko Sagadin 54cbf45c74 drivers: uart: add support for serial ports on native posix
Add support for communication with serial ports on native POSIX platform
via UART driver API. Serial port driver supports polling API,
configuration of the serial ports used via devicetree and command line
options, and runtime configuration with `uart_configure`.
Multiple instances of the driver are supported.
Example use and configuration is also demonstrated in the
`samples/drivers/uart/native_tty` sample.

Closes: #56586

Signed-off-by: Marko Sagadin <marko.sagadin42@gmail.com>
2023-06-21 09:27:22 +02:00

41 lines
746 B
YAML

description: Native TTY UART
include: uart-controller.yaml
compatible: "zephyr,native-tty-uart"
bus: uart
properties:
serial-port:
type: string
description: |
Full path to the serial port device, such as "/dev/ttyUSB0" or
"/dev/ttyACM0".
current-speed:
description: |
Initial baud rate setting for UART. Only a fixed set of baud rates are
selectable on these devices.
enum:
- 1200
- 1800
- 2400
- 4800
- 9600
- 19200
- 38400
- 57600
- 115200
- 230400
- 460800
- 500000
- 576000
- 921600
- 1000000
- 1152000
- 1500000
- 2000000
- 2500000
- 3000000
- 3500000
- 4000000