xref: /linux/Documentation/devicetree/bindings/serial/cirrus,ep7209-uart.yaml (revision e7e86d7697c6ed1dbbde18d7185c35b6967945ed)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/serial/cirrus,ep7209-uart.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Cirrus Logic CLPS711X Universal Asynchronous Receiver/Transmitter (UART)
8
9maintainers:
10  - Alexander Shiyan <shc_work@mail.ru>
11
12allOf:
13  - $ref: /schemas/serial/serial.yaml#
14
15properties:
16  compatible:
17    const: cirrus,ep7209-uart
18
19  reg:
20    maxItems: 1
21
22  interrupts:
23    items:
24      - description: UART TX interrupt
25      - description: UART RX interrupt
26
27  clocks:
28    maxItems: 1
29
30  syscon:
31    description: Phandle to SYSCON node, which contains UART control bits.
32    $ref: /schemas/types.yaml#/definitions/phandle
33
34required:
35  - compatible
36  - reg
37  - interrupts
38  - clocks
39  - syscon
40
41unevaluatedProperties: false
42
43examples:
44  - |
45    #include <dt-bindings/gpio/gpio.h>
46
47    serial@80000480 {
48        compatible = "cirrus,ep7209-uart";
49        reg = <0x80000480 0x80>;
50        interrupts = <12>, <13>;
51        clocks = <&clks 11>;
52        syscon = <&syscon1>;
53        cts-gpios = <&sysgpio 0 GPIO_ACTIVE_LOW>;
54        dsr-gpios = <&sysgpio 1 GPIO_ACTIVE_LOW>;
55        dcd-gpios = <&sysgpio 2 GPIO_ACTIVE_LOW>;
56    };
57