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