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
45  reg:
46    maxItems: 1
47
48  '#power-domain-cells':
49    const: 1
50
51required:
52  - compatible
53  - reg
54  - '#power-domain-cells'
55
56additionalProperties: false
57
58examples:
59  - |
60    // System Controller node
61    sysc: system-controller@e6180000 {
62            compatible = "renesas,r8a7791-sysc";
63            reg = <0xe6180000 0x0200>;
64            #power-domain-cells = <1>;
65    };
66
67  - |
68    // Power Domain consumers
69    #include <dt-bindings/power/r8a7791-sysc.h>
70
71    cache-controller-0 {
72            compatible = "cache";
73            power-domains = <&sysc R8A7791_PD_CA15_SCU>;
74            cache-unified;
75            cache-level = <2>;
76    };
77