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,r8a78000-mdlc.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Renesas R-Car X5H Module Controller 8 9maintainers: 10 - Geert Uytterhoeven <geert+renesas@glider.be> 11 12description: 13 Each instance of the R-Car X5H Module Controller (MODULE CONTROL) provides 14 Power Gating for up to 64 Power Domains, and Module Standby and Reset for up 15 to 256 modules in the Power Domain of each Module hierarchy. 16 17properties: 18 compatible: 19 const: renesas,r8a78000-mdlc 20 21 reg: 22 maxItems: 1 23 24 '#power-domain-cells': 25 description: | 26 - The first power domain specifier cell is the power domain part, and 27 must be either the Module Power Domain Gating (MPDG) register index 28 (0x00-0x3f) from the datasheet, for power domains which are backed by 29 MPDG bits and which can be controlled in that manner, or a Power 30 Domain number, as defined in 31 <dt-bindings/power/renesas,r8a78000-mdlc.h>, for power domains which 32 are always on, and for which there are no MPDG bits to control them. 33 34 - The second power domain specifier cell is the module standby part, and 35 must be the module number (0x00-0xff), composed of the Module System 36 Reset (MSRES) register index in the high nibble, and the Module Reset 37 Destination bitfield index in the low nibble. 38 const: 2 39 40 '#reset-cells': 41 description: 42 The single reset specifier cell must be the module number (0x00-0xff), 43 and thus identical to the second power domain specifier cell. 44 const: 1 45 46required: 47 - compatible 48 - reg 49 - '#power-domain-cells' 50 - '#reset-cells' 51 52additionalProperties: false 53 54examples: 55 - | 56 system-controller@c3060000 { 57 compatible = "renesas,r8a78000-mdlc"; 58 reg = <0xc3060000 0x1000>; 59 #power-domain-cells = <2>; 60 #reset-cells = <1>; 61 }; 62