xref: /freebsd/sys/contrib/device-tree/Bindings/serial/renesas,sci.yaml (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: "http://devicetree.org/schemas/serial/renesas,sci.yaml#"
5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7title: Renesas Serial Communication Interface
8
9maintainers:
10  - Geert Uytterhoeven <geert+renesas@glider.be>
11
12allOf:
13  - $ref: serial.yaml#
14
15properties:
16  compatible:
17    const: renesas,sci
18
19  reg:
20    maxItems: 1
21
22  interrupts:
23    items:
24      - description: Error interrupt
25      - description: Receive buffer full interrupt
26      - description: Transmit buffer empty interrupt
27      - description: Transmit end interrupt
28
29  interrupt-names:
30    items:
31      - const: eri
32      - const: rxi
33      - const: txi
34      - const: tei
35
36  clocks:
37    minItems: 1
38    maxItems: 2
39
40  clock-names:
41    minItems: 1
42    maxItems: 2
43    items:
44      enum:
45        - fck # UART functional clock
46        - sck # optional external clock input
47
48  uart-has-rtscts: false
49
50required:
51  - compatible
52  - reg
53  - interrupts
54  - clocks
55  - clock-names
56
57unevaluatedProperties: false
58
59examples:
60  - |
61    aliases {
62            serial0 = &sci0;
63    };
64
65    sci0: serial@ffff78 {
66            compatible = "renesas,sci";
67            reg = <0xffff78 8>;
68            interrupts = <88 0>, <89 0>, <90 0>, <91 0>;
69            clocks = <&fclk>;
70            clock-names = "fck";
71    };
72