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, 3 for mark parity and 4 for space parity.
22      Default to none if not specified.
23    enum:
24      - "none"
25      - "odd"
26      - "even"
27      - "mark"
28      - "space"
29    default: "none"
30  stop-bits:
31    type: string
32    description: |
33      Sets the number of stop bits.
34    enum:
35      - "0_5"
36      - "1"
37      - "1_5"
38      - "2"
39  data-bits:
40    type: int
41    description: |
42      Sets the number of data bits.
43    enum:
44      - 5
45      - 6
46      - 7
47      - 8
48      - 9
49