1# Common fields for UART controllers
2
3include: base.yaml
4
5bus: uart
6
7properties:
8  clock-frequency:
9    type: int
10    description: Clock frequency information for UART operation
11  current-speed:
12    type: int
13    description: Initial baud rate setting for UART
14  hw-flow-control:
15    type: boolean
16    description: Set to enable RTS/CTS flow control at boot time
17  parity:
18    type: string
19    description: |
20      Configures the parity of the adapter. Enumeration id 0 for none, 1 for odd
21      and 2 for even parity. Default to none if not specified.
22    enum:
23      - "none"
24      - "odd"
25      - "even"
26  stop-bits:
27    type: string
28    description: |
29      Sets the number of stop bits.
30    enum:
31      - "0_5"
32      - "1"
33      - "1_5"
34      - "2"
35  data-bits:
36    type: int
37    description: |
38      Sets the number of data bits.
39    enum:
40      - 5
41      - 6
42      - 7
43      - 8
44      - 9
45