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,rcar-sysc.yaml#"
5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7title: Renesas R-Car and RZ/G System Controller
8
9maintainers:
10  - Geert Uytterhoeven <geert+renesas@glider.be>
11  - Magnus Damm <magnus.damm@gmail.com>
12
13description:
14  The R-Car (RZ/G) System Controller provides power management for the CPU
15  cores and various coprocessors.
16
17properties:
18  compatible:
19    enum:
20      - renesas,r8a7742-sysc  # RZ/G1H
21      - renesas,r8a7743-sysc  # RZ/G1M
22      - renesas,r8a7744-sysc  # RZ/G1N
23      - renesas,r8a7745-sysc  # RZ/G1E
24      - renesas,r8a77470-sysc # RZ/G1C
25      - renesas,r8a774a1-sysc # RZ/G2M
26      - renesas,r8a774b1-sysc # RZ/G2N
27      - renesas,r8a774c0-sysc # RZ/G2E
28      - renesas,r8a774e1-sysc # RZ/G2H
29      - renesas,r8a7779-sysc  # R-Car H1
30      - renesas,r8a7790-sysc  # R-Car H2
31      - renesas,r8a7791-sysc  # R-Car M2-W
32      - renesas,r8a7792-sysc  # R-Car V2H
33      - renesas,r8a7793-sysc  # R-Car M2-N
34      - renesas,r8a7794-sysc  # R-Car E2
35      - renesas,r8a7795-sysc  # R-Car H3
36      - renesas,r8a77961-sysc # R-Car M3-W+
37      - renesas,r8a77965-sysc # R-Car M3-N
38      - renesas,r8a7796-sysc  # R-Car M3-W
39      - renesas,r8a77970-sysc # R-Car V3M
40      - renesas,r8a77980-sysc # R-Car V3H
41      - renesas,r8a77990-sysc # R-Car E3
42      - renesas,r8a77995-sysc # R-Car D3
43      - renesas,r8a779a0-sysc # R-Car V3U
44      - renesas,r8a779f0-sysc # R-Car S4-8
45
46  reg:
47    maxItems: 1
48
49  '#power-domain-cells':
50    const: 1
51
52required:
53  - compatible
54  - reg
55  - '#power-domain-cells'
56
57additionalProperties: false
58
59examples:
60  - |
61    // System Controller node
62    sysc: system-controller@e6180000 {
63            compatible = "renesas,r8a7791-sysc";
64            reg = <0xe6180000 0x0200>;
65            #power-domain-cells = <1>;
66    };
67
68  - |
69    // Power Domain consumers
70    #include <dt-bindings/power/r8a7791-sysc.h>
71
72    cache-controller-0 {
73            compatible = "cache";
74            power-domains = <&sysc R8A7791_PD_CA15_SCU>;
75            cache-unified;
76            cache-level = <2>;
77    };
78