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
57examples:
58  - |
59    aliases {
60            serial0 = &sci0;
61    };
62
63    sci0: serial@ffff78 {
64            compatible = "renesas,sci";
65            reg = <0xffff78 8>;
66            interrupts = <88 0>, <89 0>, <90 0>, <91 0>;
67            clocks = <&fclk>;
68            clock-names = "fck";
69    };
70