summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/serial/socionext,uniphier-uart.yaml
blob: d490c7c4b967d0ea05ed485f1d0c36db939fbca4 (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
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/serial/socionext,uniphier-uart.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: UniPhier UART controller

maintainers:
  - Masahiro Yamada <yamada.masahiro@socionext.com>

properties:
  compatible:
    const: socionext,uniphier-uart

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    minItems: 1

  auto-flow-control:
    description: enable automatic flow control support.
    $ref: /schemas/types.yaml#/definitions/flag

required:
  - compatible
  - reg
  - interrupts
  - clocks

additionalProperties: false

examples:
  - |
    aliases {
        serial0 = &serial0;
    };

    serial0: serial@54006800 {
        compatible = "socionext,uniphier-uart";
        reg = <0x54006800 0x40>;
        interrupts = <0 33 4>;
        clocks = <&uart_clk>;
    };