zephyr/dts/bindings/serial/uart-controller.yaml
Luc Viala 7105875ff4 driver/uart: add enum parity element on devicetree bindings
It helps configurations of the parity mode for uart interfaces

Signed-off-by: Luc Viala <lviala@zaack.io>
2021-06-11 08:53:10 -05:00

32 lines
763 B
YAML

# Common fields for UART controllers
include: base.yaml
bus: uart
properties:
clock-frequency:
type: int
required: false
description: Clock frequency information for UART operation
current-speed:
type: int
required: false
description: Initial baud rate setting for UART
label:
required: true
hw-flow-control:
type: boolean
required: false
description: Set to enable RTS/CTS flow control at boot time
parity:
required: false
type: string
description: |
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.
enum:
- "none"
- "odd"
- "even"