summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/serial/socionext,milbeaut-usio-uart.yaml
blob: 34a997ca2e116b6f6c79137b57d9746964af94fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/serial/socionext,milbeaut-usio-uart.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Socionext Milbeaut UART controller

maintainers:
  - Sugaya Taichi <sugaya.taichi@socionext.com>

allOf:
  - $ref: /schemas/serial/serial.yaml#

properties:
  compatible:
    const: socionext,milbeaut-usio-uart

  reg:
    maxItems: 1

  interrupts:
    items:
      - description: RX interrupt specifier
      - description: TX interrupt specifier

  interrupt-names:
    items:
      - const: rx
      - const: tx

  clocks:
    maxItems: 1

  auto-flow-control:
    description: Enable automatic flow control.
    type: boolean

required:
  - compatible
  - reg
  - interrupts
  - interrupt-names

unevaluatedProperties: false

examples:
  - |
    serial@1e700010 {
        compatible = "socionext,milbeaut-usio-uart";
        reg = <0x1e700010 0x10>;
        interrupts = <0 141 0x4>, <0 149 0x4>;
        interrupt-names = "rx", "tx";
        clocks = <&clk 2>;
        auto-flow-control;
    };