xref: /linux/Documentation/devicetree/bindings/serial/renesas,rsci.yaml (revision bfb9e46b5bff33ebaac49cceb27256caceddeee5)
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,rsci.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Renesas RSCI Serial Communication Interface
8
9maintainers:
10  - Geert Uytterhoeven <geert+renesas@glider.be>
11  - Thierry Bultel <thierry.bultel.yh@bp.renesas.com>
12
13allOf:
14  - $ref: serial.yaml#
15
16properties:
17  compatible:
18    const: renesas,r9a09g077-rsci      # RZ/T2H
19
20  reg:
21    maxItems: 1
22
23  interrupts:
24    items:
25      - description: Error interrupt
26      - description: Receive buffer full interrupt
27      - description: Transmit buffer empty interrupt
28      - description: Transmit end interrupt
29
30  interrupt-names:
31    items:
32      - const: eri
33      - const: rxi
34      - const: txi
35      - const: tei
36
37  clocks:
38    maxItems: 1
39
40  clock-names:
41    const: fck # UART functional clock
42
43  power-domains:
44    maxItems: 1
45
46  uart-has-rtscts: false
47
48required:
49  - compatible
50  - reg
51  - interrupts
52  - clocks
53  - clock-names
54  - power-domains
55
56unevaluatedProperties: false
57
58examples:
59  - |
60    #include <dt-bindings/interrupt-controller/arm-gic.h>
61    #include <dt-bindings/clock/renesas-cpg-mssr.h>
62
63    aliases {
64        serial0 = &sci0;
65    };
66
67    sci0: serial@80005000 {
68        compatible = "renesas,r9a09g077-rsci";
69        reg = <0x80005000 0x400>;
70        interrupts = <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH>,
71                     <GIC_SPI 591 IRQ_TYPE_EDGE_RISING>,
72                     <GIC_SPI 592 IRQ_TYPE_EDGE_RISING>,
73                     <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH>;
74        interrupt-names = "eri", "rxi", "txi", "tei";
75        clocks = <&cpg CPG_MOD 108>;
76        clock-names = "fck";
77        power-domains = <&cpg>;
78    };
79