# Renesas R-Mobile System Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Power bindings_

> Device-tree binding reference for Renesas R-Mobile System Controller.

<!-- SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;power&#47;renesas&#44;sysc&#45;rmobile&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Geert Uytterhoeven &#60;geert&#43;renesas&#64;glider&#46;be&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Magnus Damm &#60;magnus&#46;damm&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<pre><code>The R-Mobile System Controller provides the following functions:
  - Boot mode management,
  - Reset generation,
  - Power management.</code></pre>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-cc3709943397035582d2"></a>

#### Array item rules (<code>items</code>)

<a id="dt-fec97e71a4359503ae6e"></a>

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-851ace07a50c83495949"></a> <span id="dt-63b688f2ccd82724cb8f"><code>&#34;renesas&#44;sysc&#45;r8a73a4&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;renesas&#44;sysc&#45;r8a7740&#34;</code></span>, <span id="dt-9802844ed4869452d348"><code>&#34;renesas&#44;sysc&#45;sh73a0&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;renesas&#44;sysc&#45;rmobile&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<a id="dt-b6190d107f3246c9804f"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c90b61e446f8f3080e3c"></a>

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">Normally accessible register block</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">Register block protected by the HPB semaphore</p>
> </div>

<a id="dt-00f7cf564be59db5aaf1"></a>

### <code>pm&#45;domains</code> — required here

**Value type (<code>type</code>):** <span id="dt-da5de35701d3304aa356"><code>&#34;object&#34;</code></span>

<div id="dt-d0740e6ca1f8c251775c">
<p style="white-space: pre-wrap">This node contains a hierarchy of PM domain nodes, which should match the
Power Area Hierarchy in the Power Domain Specifications section of the
device's datasheet.</p>
</div>

<a id="dt-75df28e0e859b0f00abf"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-6bf25aada87fb51515c5"></a>

**<code>&#35;address&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-d84338eb250e6cc2185b"><code>1</code></span>

<a id="dt-8f843fb7cfc9c483e478"></a>

**<code>&#35;size&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-3f496da6e1bfb8243ce0"><code>0</code></span>

<a id="dt-c14cda21faec65356572"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-07fbdf48719cfd9a0d64">[<code>&#35;&#47;&#36;defs&#47;pd&#45;node</code>](<#dt-198577c815e93be46d10>)</span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;pm&#45;domains&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-7fcd144dee0d1b44122a"></a>

## Reusable definitions (<code>&#36;defs</code>)

<a id="dt-198577c815e93be46d10"></a>

### <code>pd&#45;node</code>

**Value type (<code>type</code>):** <span id="dt-d29572df706326ad1ce4"><code>&#34;object&#34;</code></span>

<div id="dt-8433bc671f4967c2d0fb">
<p style="white-space: pre-wrap">PM domain node representing a PM domain.  This node should be named by the real power area name, and thus its name should be unique.</p>
</div>

<a id="dt-51cbd0f59579dfb18650"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-54e637be15f45ef1e973"></a>

**<code>reg</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-39882a339cdfe67e5581"><code>1</code></span>

<div id="dt-51c55460eda38328ec80">
<p style="white-space: pre-wrap">If the PM domain is not always-on, this property must contain the bit index number for the corresponding power area in the various Power Control and Status Registers. If the PM domain is always-on, this property must be omitted.</p>
</div>

<a id="dt-4c9f38b1479119b6f63b"></a>

**<code>&#35;address&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-f855b08d9140e66d843f"><code>1</code></span>

<a id="dt-84ed4e577ae0ca1180a7"></a>

**<code>&#35;size&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-431312b580c901c223b0"><code>0</code></span>

<a id="dt-07756d3f21f4c9f9f8a1"></a>

**<code>&#35;power&#45;domain&#45;cells</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-40d1d9ae60045aaab666"><code>0</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8deada034cacffb448f1"></a> <span id="dt-9344e3b236eb59140012"><code>&#34;&#35;power&#45;domain&#45;cells&#34;</code></span>

<a id="dt-119ff778ad5047d693a2"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d25ba9984ad2c047d7b3">[<code>&#35;&#47;&#36;defs&#47;pd&#45;node</code>](<#dt-198577c815e93be46d10>)</span>

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">// This shows a subset of the r8a7740 PM domain hierarchy, containing the
// C5 "always-on" domain, 2 of its subdomains (A4S and A4SU), and the A3SP
// domain, which is a subdomain of A4S.
sysc: system-controller@e6180000 {
        compatible = "renesas,sysc-r8a7740", "renesas,sysc-rmobile";
        reg = &lt;0xe6180000 0x8000&gt;, &lt;0xe6188000 0x8000&gt;;

        pm-domains {
                pd_c5: c5 {
                        #address-cells = &lt;1&gt;;
                        #size-cells = &lt;0&gt;;
                        #power-domain-cells = &lt;0&gt;;

                        pd_a4s: a4s@10 {
                                reg = &lt;10&gt;;
                                #address-cells = &lt;1&gt;;
                                #size-cells = &lt;0&gt;;
                                #power-domain-cells = &lt;0&gt;;

                                pd_a3sp: a3sp@11 {
                                        reg = &lt;11&gt;;
                                        #power-domain-cells = &lt;0&gt;;
                                };
                        };

                        pd_a4su: a4su@20 {
                                reg = &lt;20&gt;;
                                #power-domain-cells = &lt;0&gt;;
                        };
                };
        };
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 23:</strong> <span> R-Mobile APE6</span></p>

<p id="dt-comment-2"><strong>Line 24:</strong> <span> R-Mobile A1</span></p>

<p id="dt-comment-3"><strong>Line 25:</strong> <span> SH-Mobile AG5</span></p>

<p id="dt-comment-4"><strong>Line 26:</strong> <span> Generic SH/R-Mobile</span></p>

</details>
