# Allwinner A31 Peripheral Reset Controller

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

> Device-tree binding reference for Allwinner A31 Peripheral Reset Controller.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;reset&#47;allwinner&#44;sun6i&#45;a31&#45;clock&#45;reset&#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;Chen&#45;Yu Tsai &#60;wens&#64;csie&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Maxime Ripard &#60;mripard&#64;kernel&#46;org&#62;&#34;</code></span>

**Deprecated (<code>deprecated</code>):** <span id="dt-a3c8d6bcd87de16bde6b"><code>true</code></span>

<a id="dt-865ef19e891fb9fe7b15"></a>

## Automatic schema selection (<code>select</code>)

> <a id="dt-54d143fae2406295c883"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-e3400bab629503b08322"></a>
>
> #### <code>compatible</code> — required here
>
> <a id="dt-2ae4f0f9580bb5b2e406"></a>
>
> **Rule for matching array elements (<code>contains</code>)**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-ce9b069a8031ff280c23"></a> <span id="dt-e79f31d4eec3cf736314"><code>&#34;allwinner&#44;sun6i&#45;a31&#45;ahb1&#45;reset&#34;</code></span>, <span id="dt-b228f13d1a3291d89dd4"><code>&#34;allwinner&#44;sun6i&#45;a31&#45;clock&#45;reset&#34;</code></span>
>
> **Required in this object (<code>required</code>):** <a id="dt-c7b135d3aebb6d627788"></a> <span id="dt-7b7a89ef483af1198868"><code>&#34;compatible&#34;</code></span>, <span id="dt-3cf089ce77936cb48714"><code>&#34;reg&#34;</code></span>

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

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

<a id="dt-02c38475362b738e226b"></a>

### <code>&#35;reset&#45;cells</code> — required here

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

<div id="dt-0c5e21d5853fdd8c84a9">
<p style="white-space: pre-wrap">This additional argument passed to that reset controller is the offset of the bit controlling this particular reset line in the register.</p>
</div>

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;allwinner&#44;sun6i&#45;a31&#45;ahb1&#45;reset&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;allwinner&#44;sun6i&#45;a31&#45;clock&#45;reset&#34;</code></span>

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

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

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

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;reset&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#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-1a130cabaa8a47b058bf"></a>

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">ahb1_rst: reset@1c202c0 {
    #reset-cells = &lt;1&gt;;
    compatible = "allwinner,sun6i-a31-ahb1-reset";
    reg = &lt;0x01c202c0 0xc&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">apbs_rst: reset@80014b0 {
    #reset-cells = &lt;1&gt;;
    compatible = "allwinner,sun6i-a31-clock-reset";
    reg = &lt;0x080014b0 0x4&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</span></p>

<p id="dt-comment-1"><strong>Line 23:</strong> <span> The PRCM on the A31 and A23 will have the reg property missing,</span></p>

<p id="dt-comment-2"><strong>Line 24:</strong> <span> since it's set at the upper level node, and will be validated by</span></p>

<p id="dt-comment-3"><strong>Line 25:</strong> <span> PRCM's schema. Make sure we only validate standalone nodes.</span></p>

</details>
