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,r8a7743-sysc  # RZ/G1M
21      - renesas,r8a7744-sysc  # RZ/G1N
22      - renesas,r8a7745-sysc  # RZ/G1E
23      - renesas,r8a77470-sysc # RZ/G1C
24      - renesas,r8a774a1-sysc # RZ/G2M
25      - renesas,r8a774b1-sysc # RZ/G2N
26      - renesas,r8a774c0-sysc # RZ/G2E
27      - renesas,r8a7779-sysc  # R-Car H1
28      - renesas,r8a7790-sysc  # R-Car H2
29      - renesas,r8a7791-sysc  # R-Car M2-W
30      - renesas,r8a7792-sysc  # R-Car V2H
31      - renesas,r8a7793-sysc  # R-Car M2-N
32      - renesas,r8a7794-sysc  # R-Car E2
33      - renesas,r8a7795-sysc  # R-Car H3
34      - renesas,r8a77961-sysc # R-Car M3-W+
35      - renesas,r8a77965-sysc # R-Car M3-N
36      - renesas,r8a7796-sysc  # R-Car M3-W
37      - renesas,r8a77970-sysc # R-Car V3M
38      - renesas,r8a77980-sysc # R-Car V3H
39      - renesas,r8a77990-sysc # R-Car E3
40      - renesas,r8a77995-sysc # R-Car D3
41
42  reg:
43    maxItems: 1
44
45  '#power-domain-cells':
46    const: 1
47
48required:
49  - compatible
50  - reg
51  - '#power-domain-cells'
52
53additionalProperties: false
54
55examples:
56  - |
57    // System Controller node
58    sysc: system-controller@e6180000 {
59            compatible = "renesas,r8a7791-sysc";
60            reg = <0xe6180000 0x0200>;
61            #power-domain-cells = <1>;
62    };
63
64  - |
65    // Power Domain consumers
66    #include <dt-bindings/power/r8a7791-sysc.h>
67
68    cache-controller-0 {
69            compatible = "cache";
70            power-domains = <&sysc R8A7791_PD_CA15_SCU>;
71            cache-unified;
72            cache-level = <2>;
73    };
74