xref: /freebsd/sys/contrib/device-tree/Bindings/power/renesas,rzg2l-sysc.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: "http://devicetree.org/schemas/power/renesas,rzg2l-sysc.yaml#"
5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7title: Renesas RZ/{G2L,V2L} System Controller (SYSC)
8
9maintainers:
10  - Geert Uytterhoeven <geert+renesas@glider.be>
11
12description:
13  The RZ/{G2L,V2L} System Controller (SYSC) performs system control of the LSI
14  and supports following functions,
15  - External terminal state capture function
16  - 34-bit address space access function
17  - Low power consumption control
18  - WDT stop control
19
20properties:
21  compatible:
22    enum:
23      - renesas,r9a07g044-sysc # RZ/G2{L,LC}
24      - renesas,r9a07g054-sysc # RZ/V2L
25
26  reg:
27    maxItems: 1
28
29  interrupts:
30    items:
31      - description: CA55/CM33 Sleep/Software Standby Mode request interrupt
32      - description: CA55 Software Standby Mode release request interrupt
33      - description: CM33 Software Standby Mode release request interrupt
34      - description: CA55 ACE Asynchronous Bridge Master/Slave interface deny request interrupt
35
36  interrupt-names:
37    items:
38      - const: lpm_int
39      - const: ca55stbydone_int
40      - const: cm33stbyr_int
41      - const: ca55_deny
42
43required:
44  - compatible
45  - reg
46  - interrupts
47  - interrupt-names
48
49additionalProperties: false
50
51examples:
52  - |
53    #include <dt-bindings/interrupt-controller/arm-gic.h>
54
55    sysc: system-controller@11020000 {
56            compatible = "renesas,r9a07g044-sysc";
57            reg = <0x11020000 0x10000>;
58            interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
59                         <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
60                         <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
61                         <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
62            interrupt-names = "lpm_int", "ca55stbydone_int", "cm33stbyr_int",
63                              "ca55_deny";
64    };
65