# Microchip AT91 SAMA5D2 SHDWC Shutdown Controller

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

> Device-tree binding reference for Microchip AT91 SAMA5D2 SHDWC Shutdown 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;reset&#47;atmel&#44;sama5d2&#45;shdwc&#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;Claudiu Beznea &#60;claudiu&#46;beznea&#64;microchip&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Microchip AT91 SHDWC shutdown controller controls the power supplies VDDIO
and VDDCORE and the wake-up detection on debounced input lines.</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**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;microchip&#44;sama7d65&#45;shdwc&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;microchip&#44;sama7g5&#45;shdwc&#34;</code></span>
>
> <a id="dt-8aea0680b70f72ffdfb0"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-a8216d5f954c632b59e8"><code>&#34;syscon&#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;microchip&#44;sama7g5&#45;shdwc&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;syscon&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> **Allowed values (<code>enum</code>):** <a id="dt-9fc3f5081af7fe32b794"></a> <span id="dt-264517b00ca7c7f3c30f"><code>&#34;atmel&#44;sama5d2&#45;shdwc&#34;</code></span>, <span id="dt-78ff4d043ca24550ed33"><code>&#34;microchip&#44;sam9x60&#45;shdwc&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> <a id="dt-a1b1c435b08c85ff96c7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4758c8f9c99bfa28b10c"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-4c3894ced8f7125f7050"><code>&#34;microchip&#44;sam9x7&#45;shdwc&#34;</code></span>
>
> <a id="dt-c99d921c49bf15e79633"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-9e0f2ef968dd632f09b7"><code>&#34;microchip&#44;sam9x60&#45;shdwc&#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>

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

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

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

<a id="dt-2efe70314a961a652abe"></a>

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

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

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

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

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

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

### <code>debounce&#45;delay&#45;us</code> — not listed as required here

<div id="dt-b6fcde448f646321e63a">
<p style="white-space: pre-wrap">Minimum wake-up inputs debouncer period in microseconds. It is usually a board-related property.</p>
</div>

<a id="dt-177be2f97b6136d9fc32"></a>

### <code>atmel&#44;wakeup&#45;rtc&#45;timer</code> — not listed as required here

<div id="dt-6197b0c431e7271fe959">
<p style="white-space: pre-wrap">enable real-time clock wake-up</p>
</div>

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

<a id="dt-58c17e722c3c287e1ae2"></a>

### <code>atmel&#44;wakeup&#45;rtt&#45;timer</code> — not listed as required here

<div id="dt-e377b2f53759f81feec0">
<p style="white-space: pre-wrap">enable real-time timer wake-up</p>
</div>

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

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

## Properties matching a name pattern (<code>patternProperties</code>)

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

### <code>&#94;input&#64;&#91;0&#45;15&#93;&#36;</code> — name matches this regular expression

<div id="dt-e3e60226efd11b772f1b">
<p style="white-space: pre-wrap">Wake-up input nodes. These are usually described in the "board" part of the Device Tree. Note also that input 0 is linked to the wake-up pin and is frequently used.</p>
</div>

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

<a id="dt-6694ae3e010c4ea616af"></a>

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

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

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

<div id="dt-e07690939dafe903b53c">
<p style="white-space: pre-wrap">contains the wake-up input index</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-7ec83b097e9d15dfad3b"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-4cc136fedd902f5629c3"><code>15</code></span>

<a id="dt-467653a0a7979d859e48"></a>

**<code>atmel&#44;wakeup&#45;active&#45;high</code> — not listed as required here**

<div id="dt-d4e49f1512a0d082ba4a">
<p style="white-space: pre-wrap">The corresponding wake-up input described by the child forces the wake-up of the core power supply on a high level. The default is to be active low.</p>
</div>

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

**Required in this object (<code>required</code>):** <a id="dt-73983e69089b8ef8501a"></a> <span id="dt-cff6ea59271b1db20d37"><code>&#34;reg&#34;</code></span>

<a id="dt-397a4b54eb72d39acb34"></a>

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

<code>false</code>

Not allowed by this rule.

**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;clocks&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;atmel&#44;sama5d2&#45;shdwc&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-01f563305919e17da09b"></a>
> >
> > **<code>atmel&#44;wakeup&#45;rtt&#45;timer</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<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">shdwc: poweroff@f8048010 {
    compatible = "atmel,sama5d2-shdwc";
    reg = &lt;0xf8048010 0x10&gt;;
    clocks = &lt;&amp;clk32k&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    atmel,wakeup-rtc-timer;
    debounce-delay-us = &lt;976&gt;;

    input@0 {
        reg = &lt;0&gt;;
    };

    input@1 {
        reg = &lt;1&gt;;
        atmel,wakeup-active-high;
    };
};
</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>
