# Hisilicon System Reset Controller

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

> Device-tree binding reference for Hisilicon System Reset 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;reset&#47;hisilicon&#44;hi3660&#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;Wei Xu &#60;xuwei5&#64;hisilicon&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Please also refer to reset.txt in this directory for common reset
controller binding usage.
The reset controller registers are part of the system-ctl block on
hi3660 and hi3670 SoCs.</p>
</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-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5deec2612224d8d915da"><code>&#34;hisilicon&#44;hi3660&#45;reset&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;hisilicon&#44;hi3670&#45;reset&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;hisilicon&#44;hi3660&#45;reset&#34;</code></span>

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

### <code>hisi&#44;rst&#45;syscon</code> — not listed as required here

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

<div id="dt-3554c5c1032c569280e2">
<p style="white-space: pre-wrap">phandle of the reset's syscon, use hisilicon,rst-syscon instead</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d04f9eb85f4e751c7129">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

<a id="dt-31998d933b236ba1811b"></a>

### <code>hisilicon&#44;rst&#45;syscon</code> — not listed as required here

<div id="dt-24f5c26665140c492ef1">
<p style="white-space: pre-wrap">phandle of the reset's syscon.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e0509380b6d30e5e6be6">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

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

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

<div id="dt-0c5e21d5853fdd8c84a9">
<pre><code>Specifies the number of cells needed to encode a reset source.
Cell #1 : offset of the reset assert control register from the syscon
          register base
          offset + 4: deassert control register
          offset + 8: status control register
Cell #2 : bit position of the reset in the reset control register</code></pre>
</div>

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

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#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">iomcu_rst_controller {
    compatible = "hisilicon,hi3660-reset";
    hisilicon,rst-syscon = &lt;&amp;iomcu&gt;;
    #reset-cells = &lt;2&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>

</details>
