# ANATOP register

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Soc bindings / imx_

> Device-tree binding reference for ANATOP register.

<!-- 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;soc&#47;imx&#47;fsl&#44;imx&#45;anatop&#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;Shawn Guo &#60;shawnguo&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sascha Hauer &#60;s&#46;hauer&#64;pengutronix&#46;de&#62;&#34;</code></span>

<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;fsl&#44;imx6sl&#45;anatop&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;fsl&#44;imx6sll&#45;anatop&#34;</code></span>, <span id="dt-b7d19de74fd35364d49f"><code>&#34;fsl&#44;imx6sx&#45;anatop&#34;</code></span>, <span id="dt-6cbdeefc52e7132bc62c"><code>&#34;fsl&#44;imx6ul&#45;anatop&#34;</code></span>, <span id="dt-fd88adda17227ca32776"><code>&#34;fsl&#44;imx7d&#45;anatop&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;fsl&#44;imx6q&#45;anatop&#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-6163056df22749f1421a"></a>
>
> **Item 4**
>
> > **Exact value (<code>const</code>):** <span id="dt-7311bfd4c0bd25093f8d"><code>&#34;simple&#45;mfd&#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;fsl&#44;imx6q&#45;anatop&#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-1655c7bc2063a21f60f8"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-7c57653c6bcac024338a"><code>&#34;simple&#45;mfd&#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-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

<a id="dt-985aed94c3a5de8e946a"></a>

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

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

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">Temperature sensor event</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">Brown-out event on either of the support regulators</p>
> </div>

<a id="dt-6825e597892563d56556"></a>

**Item 3**

> <div id="dt-2c85367ad575dfda8b35">
> <p style="white-space: pre-wrap">Brown-out event on either the core, gpu or soc regulators</p>
> </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>2</code></span>

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

### <code>tempmon</code> — not listed as required here

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

<a id="dt-19b7de5116ce2c881134"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-42d4467b110b30b01270">[<code>&#47;schemas&#47;thermal&#47;imx&#45;thermal&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-thermal/imx-thermal.md#dt-root>)</span>

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

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

<a id="dt-80bd44dbe4f60a200274"></a>

### <code>regulator&#45;&#40;&#40;1p1&#41;&#124;&#40;2p5&#41;&#124;&#40;3p0&#41;&#124;&#40;vdd1p0d&#41;&#124;&#40;vdd1p2&#41;&#124;&#40;vddcore&#41;&#124;&#40;vddpcie&#41;&#124;&#40;vddpu&#41;&#124;&#40;vddsoc&#41;&#41;&#36;</code> — name matches this regular expression

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

<a id="dt-1564c78b27bdcfba10f3"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6964c268ee9b5fd0215c">[<code>&#47;schemas&#47;regulator&#47;anatop&#45;regulator&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-regulator/anatop-regulator.md#dt-root>)</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>

<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>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b5c9dbe70762f9ad7bb5"></a> <span id="dt-d017b1b1b5a0bb01c549"><code>&#34;fsl&#44;imx7d&#45;anatop&#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-7787b28725c144fbfc92"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-f83fd3bbdeba05802410"><code>2</code></span>
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-0b56c96a40292905ded0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-c67bbe72af985902ec8f"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-3bc3f9c58c175fd4ea15"><code>3</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-1acbcc4149f500ebfc36"><code>3</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">#include &lt;dt-bindings/clock/imx6ul-clock.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

anatop: anatop@20c8000 {
    compatible = "fsl,imx6ul-anatop", "fsl,imx6q-anatop",
                 "syscon", "simple-mfd";
    reg = &lt;0x020c8000 0x1000&gt;;
    interrupts = &lt;GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH&gt;;

    reg_3p0: regulator-3p0 {
        compatible = "fsl,anatop-regulator";
        regulator-name = "vdd3p0";
        regulator-min-microvolt = &lt;2625000&gt;;
        regulator-max-microvolt = &lt;3400000&gt;;
        anatop-reg-offset = &lt;0x120&gt;;
        anatop-vol-bit-shift = &lt;8&gt;;
        anatop-vol-bit-width = &lt;5&gt;;
        anatop-min-bit-val = &lt;0&gt;;
        anatop-min-voltage = &lt;2625000&gt;;
        anatop-max-voltage = &lt;3400000&gt;;
        anatop-enable-bit = &lt;0&gt;;
    };

    reg_arm: regulator-vddcore {
        compatible = "fsl,anatop-regulator";
        regulator-name = "cpu";
        regulator-min-microvolt = &lt;725000&gt;;
        regulator-max-microvolt = &lt;1450000&gt;;
        regulator-always-on;
        anatop-reg-offset = &lt;0x140&gt;;
        anatop-vol-bit-shift = &lt;0&gt;;
        anatop-vol-bit-width = &lt;5&gt;;
        anatop-delay-reg-offset = &lt;0x170&gt;;
        anatop-delay-bit-shift = &lt;24&gt;;
        anatop-delay-bit-width = &lt;2&gt;;
        anatop-min-bit-val = &lt;1&gt;;
        anatop-min-voltage = &lt;725000&gt;;
        anatop-max-voltage = &lt;1450000&gt;;
    };

    reg_soc: regulator-vddsoc {
        compatible = "fsl,anatop-regulator";
        regulator-name = "vddsoc";
        regulator-min-microvolt = &lt;725000&gt;;
        regulator-max-microvolt = &lt;1450000&gt;;
        regulator-always-on;
        anatop-reg-offset = &lt;0x140&gt;;
        anatop-vol-bit-shift = &lt;18&gt;;
        anatop-vol-bit-width = &lt;5&gt;;
        anatop-delay-reg-offset = &lt;0x170&gt;;
        anatop-delay-bit-shift = &lt;28&gt;;
        anatop-delay-bit-width = &lt;2&gt;;
        anatop-min-bit-val = &lt;1&gt;;
        anatop-min-voltage = &lt;725000&gt;;
        anatop-max-voltage = &lt;1450000&gt;;
    };

    tempmon: tempmon {
        compatible = "fsl,imx6ul-tempmon", "fsl,imx6sx-tempmon";
        interrupt-parent = &lt;&amp;gpc&gt;;
        interrupts = &lt;GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH&gt;;
        fsl,tempmon = &lt;&amp;anatop&gt;;
        nvmem-cells = &lt;&amp;tempmon_calib&gt;, &lt;&amp;tempmon_temp_grade&gt;;
        nvmem-cell-names = "calib", "temp_grade";
        clocks = &lt;&amp;clks IMX6UL_CLK_PLL3_USB_OTG&gt;;
        #thermal-sensor-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>

</details>
