zephyr/dts/bindings/serial/altr,uart.yaml
Yishai Jaffe 0df6736bb9 drivers: serial: define default values for basic options
Defined default values for baudrate, parity, stop bits, and data bits.
This removes complexity and obfuscation from the code.

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2025-01-15 19:04:56 +01:00

30 lines
664 B
YAML

description: Altera UART
compatible: "altr,uart"
include: uart-controller.yaml
properties:
reg:
required: true
description: Base address of the uart controller.
current-speed:
required: true
description: Default baudrate of the uart controller.
stop-bits:
description: |
Sets the number of stop bits. Defaults to standard of 1 if not specified.
default: "1"
data-bits:
description: |
Sets the number of data bits. Defaults to standard of 8 if not specified.
default: 8
fixed-baudrate:
type: boolean
description: |
Baud rate cannot be changed by software (Divisor register is not writable)