File Index
Files and directories
Sign in
FILE

renesas,rsci.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/serial/renesas,rsci.yaml YAML
 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  - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
12
13allOf:
14  - $ref: serial.yaml#
15
16properties:
17  compatible:
18    oneOf:
19      - items:
20          - const: renesas,r9a09g087-rsci # RZ/N2H
21          - const: renesas,r9a09g077-rsci # RZ/T2H
22
23      - items:
24          - const: renesas,r9a09g077-rsci # RZ/T2H
25
26  reg:
27    maxItems: 1
28
29  interrupts:
30    items:
31      - description: Error interrupt
32      - description: Receive buffer full interrupt
33      - description: Transmit buffer empty interrupt
34      - description: Transmit end interrupt
35
36  interrupt-names:
37    items:
38      - const: eri
39      - const: rxi
40      - const: txi
41      - const: tei
42
43  clocks:
44    minItems: 2
45    maxItems: 3
46
47  clock-names:
48    minItems: 2
49    items:
50      - const: operation
51      - const: bus
52      - const: sck # optional external clock input
53
54  power-domains:
55    maxItems: 1
56
57required:
58  - compatible
59  - reg
60  - interrupts
61  - clocks
62  - clock-names
63  - power-domains
64
65unevaluatedProperties: false
66
67examples:
68  - |
69    #include <dt-bindings/interrupt-controller/arm-gic.h>
70    #include <dt-bindings/clock/renesas-cpg-mssr.h>
71
72    sci0: serial@80005000 {
73        compatible = "renesas,r9a09g077-rsci";
74        reg = <0x80005000 0x400>;
75        interrupts = <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH>,
76                     <GIC_SPI 591 IRQ_TYPE_EDGE_RISING>,
77                     <GIC_SPI 592 IRQ_TYPE_EDGE_RISING>,
78                     <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH>;
79        interrupt-names = "eri", "rxi", "txi", "tei";
80        clocks = <&cpg CPG_MOD 8>, <&cpg CPG_CORE 13>;
81        clock-names = "operation", "bus";
82        power-domains = <&cpg>;
83    };
~/ Read-only file preview.