# MediaTek MT6397/MT6323 PMIC

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

> Device-tree binding reference for MediaTek MT6397/MT6323 PMIC.

<!-- 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;mfd&#47;mediatek&#44;mt6397&#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;Sen Chu &#60;sen&#46;chu&#64;mediatek&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Macpaul Lin &#60;macpaul&#46;lin&#64;mediatek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">MT6397/MT6323 is a power management system chip.
Please see the sub-modules below for supported features.</p>
<p style="white-space: pre-wrap">MT6397/MT6323 is a multifunction device with the following sub modules:
- Regulators
- RTC
- ADC
- Audio codec
- GPIO
- Clock
- LED
- Keys
- Power controller</p>
<p style="white-space: pre-wrap">It is interfaced to host controller using SPI interface by a proprietary hardware
called PMIC wrapper or pwrap. MT6397/MT6323 PMIC is a child device of pwrap.
See the following for pwrap node definitions:
Documentation/devicetree/bindings/soc/mediatek/mediatek,pwrap.yaml</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**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;mediatek&#44;mt6323&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;mediatek&#44;mt6331&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;mediatek&#44;mt6328&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;mediatek&#44;mt6358&#34;</code></span>, <span id="dt-d29c3f554eb9a606c63a"><code>&#34;mediatek&#44;mt6359&#34;</code></span>, <span id="dt-6abdfa16ccd722b794e6"><code>&#34;mediatek&#44;mt6397&#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**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;mediatek&#44;mt6366&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;mediatek&#44;mt6358&#34;</code></span>

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

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

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

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

### <code>interrupt&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

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

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

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

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-21e85fda10481696d737">[<code>&#47;schemas&#47;rtc&#47;rtc&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-rtc/rtc.md#dt-root>)</span>

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

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

<code>false</code>

Not allowed by this rule.

<div id="dt-5e1a428d0c8369d6022f">
<p style="white-space: pre-wrap">MT6397 Real Time Clock.</p>
</div>

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

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

<a id="dt-5180671437db2d6a53e4"></a>

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

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

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

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-e6e9d59536d6f79b743c"></a> <span id="dt-1ec27269291cb5960a92"><code>&#34;mediatek&#44;mt6323&#45;rtc&#34;</code></span>, <span id="dt-337157114c00ae6bdab8"><code>&#34;mediatek&#44;mt6331&#45;rtc&#34;</code></span>, <span id="dt-30fbe09bd5373ac3f6d5"><code>&#34;mediatek&#44;mt6358&#45;rtc&#34;</code></span>, <span id="dt-d9ad7aa54654635b3afb"><code>&#34;mediatek&#44;mt6397&#45;rtc&#34;</code></span>

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

**Rule 2**

> <a id="dt-517c7323dc870c7dfc1e"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-13785550f44cc4d04389"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-db69bb0cad3fdb155086"></a> <span id="dt-f027c82258adde35a471"><code>&#34;mediatek&#44;mt6366&#45;rtc&#34;</code></span>
>
> <a id="dt-7bfb6ae3156dca279d71"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e5b2b4533f2851c9916d"><code>&#34;mediatek&#44;mt6358&#45;rtc&#34;</code></span>

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

**<code>start&#45;year</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

**Required in this object (<code>required</code>):** <a id="dt-bf4efd93241516227fc2"></a> <span id="dt-81cca930aad3fe911e93"><code>&#34;compatible&#34;</code></span>

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

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

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

<div id="dt-21c242b401be5c67bade">
<p style="white-space: pre-wrap">List of child nodes that specify the regulators.</p>
</div>

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

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

<code>true</code>

Allowed by this rule.

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

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

<a id="dt-314a4ef5aea954cf4b7b"></a>

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

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

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

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-f404a39bf909dd1d5323"></a> <span id="dt-c9a64b5457974df68184"><code>&#34;mediatek&#44;mt6323&#45;regulator&#34;</code></span>, <span id="dt-bdfe18a237059238112f"><code>&#34;mediatek&#44;mt6328&#45;regulator&#34;</code></span>, <span id="dt-d456f4a21ded3f3d1bee"><code>&#34;mediatek&#44;mt6331&#45;regulator&#34;</code></span>, <span id="dt-324f8533d0694405437d"><code>&#34;mediatek&#44;mt6358&#45;regulator&#34;</code></span>, <span id="dt-fe3aed544d586d4d414b"><code>&#34;mediatek&#44;mt6359&#45;regulator&#34;</code></span>, <span id="dt-54b39b36388c0ed6a4a6"><code>&#34;mediatek&#44;mt6397&#45;regulator&#34;</code></span>

<a id="dt-56fde840168df984a2b9"></a>

**Rule 2**

> <a id="dt-314fc007e905c0549847"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-ab26b71ee959db6db721"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-fd485033c1702f7f732e"></a> <span id="dt-a10b7cabd2e881f8def3"><code>&#34;mediatek&#44;mt6366&#45;regulator&#34;</code></span>
>
> <a id="dt-3c5506c5a86d79a04ffe"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-0bf4295947868bf0ba47"><code>&#34;mediatek&#44;mt6358&#45;regulator&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-5fc0c169746e9cf405bc"></a> <span id="dt-fd8fa85ec307fd604078"><code>&#34;compatible&#34;</code></span>

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

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6f5bffb8759de0e91d41">[<code>&#47;schemas&#47;iio&#47;adc&#47;mediatek&#44;mt6359&#45;auxadc&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-iio/adc/mediatek-mt6359-auxadc.md#dt-root>)</span>

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

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

<code>false</code>

Not allowed by this rule.

<a id="dt-037f77ca863f57929bdb"></a>

### <code>audio&#45;codec</code> — not listed as required here

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

<div id="dt-043c653ef01ced47bdc2">
<p style="white-space: pre-wrap">Audio codec support with MT6358 and MT6397.</p>
</div>

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

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

<code>true</code>

Allowed by this rule.

<a id="dt-097ad175e860af75059f"></a>

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

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

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

<a id="dt-60c2205b44a56a492735"></a>

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

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-91b166b2cee37e5aebbc"></a> <span id="dt-870fd36b18a4dd321b18"><code>&#34;mediatek&#44;mt6358&#45;sound&#34;</code></span>, <span id="dt-f55bb87886969bc8ef0e"><code>&#34;mediatek&#44;mt6359&#45;codec&#34;</code></span>, <span id="dt-be4cefe76f6633728797"><code>&#34;mediatek&#44;mt6397&#45;codec&#34;</code></span>

<a id="dt-68fb521cfa7d5978291d"></a>

**Rule 2**

> <a id="dt-7aa079b61a85b23c0d93"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-77fc2882dc97780368c9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-5350eaa66980eeb90970"></a> <span id="dt-4680e6d9201e7fbb5a4e"><code>&#34;mediatek&#44;mt6366&#45;sound&#34;</code></span>
>
> <a id="dt-1af34237869bb870899c"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc70fea2c55595b2f590"><code>&#34;mediatek&#44;mt6358&#45;sound&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-658519677f4fba60d640"></a> <span id="dt-89ff564145258a19f386"><code>&#34;compatible&#34;</code></span>

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

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

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

<a id="dt-27db5255ceb510037c22"></a>

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

<code>false</code>

Not allowed by this rule.

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">This is a clock buffer node for mt6397. However, there are no sub nodes or any public document exposed in public.</p>
</div>

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

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

<a id="dt-780785206ba8eeb04641"></a>

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

**Exact value (<code>const</code>):** <span id="dt-764c6cb302741d807a56"><code>&#34;mediatek&#44;mt6397&#45;clk&#34;</code></span>

<a id="dt-81ae320c31497ce4ac78"></a>

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

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

**Required in this object (<code>required</code>):** <a id="dt-dc4ce997ae9e2cfed75b"></a> <span id="dt-452bea0c88ab67e2a5da"><code>&#34;compatible&#34;</code></span>

<a id="dt-85c9b34b55b27f5ea876"></a>

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

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

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

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

<code>false</code>

Not allowed by this rule.

<div id="dt-7937e84fbfad904a3119">
<p style="white-space: pre-wrap">MT6323 LED controller is subfunction provided by MT6323 PMIC, so the LED
controllers are defined as the subnode of the function node provided by MT6323
PMIC controller that is being defined as one kind of Muti-Function Device (MFD)
using shared bus called PMIC wrapper for each subfunction to access remote
MT6323 PMIC hardware.</p>
<p style="white-space: pre-wrap">Each led is represented as a child node of the mediatek,mt6323-led that
describes the initial behavior for each LED physically and currently only four
LED child nodes can be supported.</p>
</div>

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

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

<a id="dt-394e5a25ebe6c5691c0c"></a>

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

**Allowed values (<code>enum</code>):** <a id="dt-9eb0772b71f70a6b59e6"></a> <span id="dt-e7b9e80af0c0456c2ad7"><code>&#34;mediatek&#44;mt6323&#45;led&#34;</code></span>, <span id="dt-7c45811ea0848183ec65"><code>&#34;mediatek&#44;mt6331&#45;led&#34;</code></span>, <span id="dt-97d6f320159ba02ac25c"><code>&#34;mediatek&#44;mt6332&#45;led&#34;</code></span>

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

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

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

<a id="dt-3509700b2691955e89dd"></a>

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

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

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

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

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

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

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

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

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4fb51462fa3b5791885b">[<code>&#47;schemas&#47;leds&#47;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-6681e65d305cc4c9402b"></a>

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

<code>false</code>

Not allowed by this rule.

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

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

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

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

<div id="dt-0f9b04578b3d3ce9dcb1">
<p style="white-space: pre-wrap">LED channel number (0..3)</p>
</div>

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

**Maximum value (<code>maximum</code>):** <span id="dt-0d913095331cf1d68c1a"><code>3</code></span>

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

**Required in this object (<code>required</code>):** <a id="dt-4e9e5863a8ef41ed46b9"></a> <span id="dt-8408faca5af2edac7919"><code>&#34;compatible&#34;</code></span>, <span id="dt-b9cbc81a83ec315cdf8d"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-f8237ad74fa926b47b02"><code>&#34;&#35;size&#45;cells&#34;</code></span>

<a id="dt-9204c4b81f5405040301"></a>

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-00c9252b46be1c070f64">[<code>&#47;schemas&#47;input&#47;mediatek&#44;pmic&#45;keys&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-input/mediatek-pmic-keys.md#dt-root>)</span>

<a id="dt-93a0255f4eab15b1e928"></a>

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

<code>false</code>

Not allowed by this rule.

<div id="dt-85cabf7b7dbb13e1338f">
<p style="white-space: pre-wrap">Power and Home keys.</p>
</div>

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

### <code>power&#45;controller</code> — not listed as required here

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

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

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

<code>false</code>

Not allowed by this rule.

<div id="dt-8ddb746036e1ae910056">
<p style="white-space: pre-wrap">The power controller which could be found on PMIC is responsible for externally powering off or on the remote MediaTek SoC through the circuit BBPU (baseband power up).</p>
</div>

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

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

<a id="dt-46367cee802b5717685a"></a>

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

**Exact value (<code>const</code>):** <span id="dt-d80517eaa11018a1a0f0"><code>&#34;mediatek&#44;mt6323&#45;pwrc&#34;</code></span>

<a id="dt-3aa3c11b2c4eaf211b02"></a>

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

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

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

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-750f6955378f610b76b5">[<code>&#47;schemas&#47;pinctrl&#47;mediatek&#44;mt65xx&#45;pinctrl&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-pinctrl/mediatek-mt65xx-pinctrl.md#dt-root>)</span>

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

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

<code>false</code>

Not allowed by this rule.

<div id="dt-497ed455b8fd0c26fa30">
<p style="white-space: pre-wrap">Pin controller</p>
</div>

**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;regulators&#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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/leds/common.h&gt;

pmic {
    compatible = "mediatek,mt6323";
    interrupt-parent = &lt;&amp;pio&gt;;
    interrupts = &lt;150 IRQ_TYPE_LEVEL_HIGH&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;

    leds {
        compatible = "mediatek,mt6323-led";
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
    };

    regulators {
        compatible = "mediatek,mt6323-regulator";

        buck_vproc {
            regulator-name = "vproc";
            regulator-min-microvolt = &lt; 700000&gt;;
            regulator-max-microvolt = &lt;1350000&gt;;
            regulator-ramp-delay = &lt;12500&gt;;
            regulator-always-on;
            regulator-boot-on;
        };

        buck_vsys {
            regulator-name = "vsys";
            regulator-min-microvolt = &lt;1400000&gt;;
            regulator-max-microvolt = &lt;2987500&gt;;
            regulator-ramp-delay = &lt;25000&gt;;
            regulator-always-on;
            regulator-boot-on;
        };

        buck_vpa {
            regulator-name = "vpa";
            regulator-min-microvolt = &lt; 500000&gt;;
            regulator-max-microvolt = &lt;3650000&gt;;
        };

        ldo_vtcxo {
            regulator-name = "vtcxo";
            regulator-min-microvolt = &lt;2800000&gt;;
            regulator-max-microvolt = &lt;2800000&gt;;
            regulator-enable-ramp-delay = &lt;90&gt;;
            regulator-always-on;
            regulator-boot-on;
        };

        ldo_vcn28 {
            regulator-name = "vcn28";
            regulator-min-microvolt = &lt;2800000&gt;;
            regulator-max-microvolt = &lt;2800000&gt;;
            regulator-enable-ramp-delay = &lt;185&gt;;
        };

        ldo_vcn33_bt {
            regulator-name = "vcn33_bt";
            regulator-min-microvolt = &lt;3300000&gt;;
            regulator-max-microvolt = &lt;3600000&gt;;
            regulator-enable-ramp-delay = &lt;185&gt;;
        };

        ldo_vcn33_wifi {
            regulator-name = "vcn33_wifi";
            regulator-min-microvolt = &lt;3300000&gt;;
            regulator-max-microvolt = &lt;3600000&gt;;
            regulator-enable-ramp-delay = &lt;185&gt;;
        };

        ldo_va {
            regulator-name = "va";
            regulator-min-microvolt = &lt;2800000&gt;;
            regulator-max-microvolt = &lt;2800000&gt;;
            regulator-enable-ramp-delay = &lt;216&gt;;
            regulator-always-on;
            regulator-boot-on;
        };

        ldo_vcama {
            regulator-name = "vcama";
            regulator-min-microvolt = &lt;1500000&gt;;
            regulator-max-microvolt = &lt;2800000&gt;;
            regulator-enable-ramp-delay = &lt;216&gt;;
        };

        ldo_vio28 {
            regulator-name = "vio28";
            regulator-min-microvolt = &lt;2800000&gt;;
            regulator-max-microvolt = &lt;2800000&gt;;
            regulator-enable-ramp-delay = &lt;216&gt;;
            regulator-always-on;
            regulator-boot-on;
        };

        ldo_vusb {
            regulator-name = "vusb";
            regulator-min-microvolt = &lt;3300000&gt;;
            regulator-max-microvolt = &lt;3300000&gt;;
            regulator-enable-ramp-delay = &lt;216&gt;;
            regulator-boot-on;
        };

        ldo_vmc {
            regulator-name = "vmc";
            regulator-min-microvolt = &lt;1800000&gt;;
            regulator-max-microvolt = &lt;3300000&gt;;
            regulator-enable-ramp-delay = &lt;36&gt;;
            regulator-boot-on;
        };

        ldo_vmch {
            regulator-name = "vmch";
            regulator-min-microvolt = &lt;3000000&gt;;
            regulator-max-microvolt = &lt;3300000&gt;;
            regulator-enable-ramp-delay = &lt;36&gt;;
            regulator-boot-on;
        };

        ldo_vemc3v3 {
            regulator-name = "vemc3v3";
            regulator-min-microvolt = &lt;3000000&gt;;
            regulator-max-microvolt = &lt;3300000&gt;;
            regulator-enable-ramp-delay = &lt;36&gt;;
            regulator-boot-on;
        };

        ldo_vgp1 {
            regulator-name = "vgp1";
            regulator-min-microvolt = &lt;1200000&gt;;
            regulator-max-microvolt = &lt;3300000&gt;;
            regulator-enable-ramp-delay = &lt;216&gt;;
        };

        ldo_vgp2 {
            regulator-name = "vgp2";
            regulator-min-microvolt = &lt;1200000&gt;;
            regulator-max-microvolt = &lt;3000000&gt;;
            regulator-enable-ramp-delay = &lt;216&gt;;
        };

        ldo_vgp3 {
            regulator-name = "vgp3";
            regulator-min-microvolt = &lt;1200000&gt;;
            regulator-max-microvolt = &lt;1800000&gt;;
            regulator-enable-ramp-delay = &lt;216&gt;;
        };

        ldo_vcn18 {
            regulator-name = "vcn18";
            regulator-min-microvolt = &lt;1800000&gt;;
            regulator-max-microvolt = &lt;1800000&gt;;
            regulator-enable-ramp-delay = &lt;216&gt;;
        };

        ldo_vsim1 {
            regulator-name = "vsim1";
            regulator-min-microvolt = &lt;1800000&gt;;
            regulator-max-microvolt = &lt;3000000&gt;;
            regulator-enable-ramp-delay = &lt;216&gt;;
        };

        ldo_vsim2 {
            regulator-name = "vsim2";
            regulator-min-microvolt = &lt;1800000&gt;;
            regulator-max-microvolt = &lt;3000000&gt;;
            regulator-enable-ramp-delay = &lt;216&gt;;
        };

        ldo_vrtc {
            regulator-name = "vrtc";
            regulator-min-microvolt = &lt;2800000&gt;;
            regulator-max-microvolt = &lt;2800000&gt;;
            regulator-always-on;
            regulator-boot-on;
        };

        ldo_vcamaf {
            regulator-name = "vcamaf";
            regulator-min-microvolt = &lt;1200000&gt;;
            regulator-max-microvolt = &lt;3300000&gt;;
            regulator-enable-ramp-delay = &lt;216&gt;;
        };

        ldo_vibr {
            regulator-name = "vibr";
            regulator-min-microvolt = &lt;1200000&gt;;
            regulator-max-microvolt = &lt;3300000&gt;;
            regulator-enable-ramp-delay = &lt;36&gt;;
        };

        ldo_vrf18 {
            regulator-name = "vrf18";
            regulator-min-microvolt = &lt;1825000&gt;;
            regulator-max-microvolt = &lt;1825000&gt;;
            regulator-enable-ramp-delay = &lt;187&gt;;
        };

        ldo_vm {
            regulator-name = "vm";
            regulator-min-microvolt = &lt;1200000&gt;;
            regulator-max-microvolt = &lt;1800000&gt;;
            regulator-enable-ramp-delay = &lt;216&gt;;
            regulator-always-on;
            regulator-boot-on;
        };

        ldo_vio18 {
            regulator-name = "vio18";
            regulator-min-microvolt = &lt;1800000&gt;;
            regulator-max-microvolt = &lt;1800000&gt;;
            regulator-enable-ramp-delay = &lt;216&gt;;
            regulator-always-on;
            regulator-boot-on;
        };

       ldo_vcamd {
            regulator-name = "vcamd";
            regulator-min-microvolt = &lt;1200000&gt;;
            regulator-max-microvolt = &lt;1800000&gt;;
            regulator-enable-ramp-delay = &lt;216&gt;;
        };

        ldo_vcamio {
            regulator-name = "vcamio";
            regulator-min-microvolt = &lt;1800000&gt;;
            regulator-max-microvolt = &lt;1800000&gt;;
            regulator-enable-ramp-delay = &lt;216&gt;;
        };
    };

    keys {
        compatible = "mediatek,mt6323-keys";
        mediatek,long-press-mode = &lt;1&gt;;
        power-off-time-sec = &lt;0&gt;;

        power {
            linux,keycodes = &lt;116&gt;;
            wakeup-source;
        };

        home {
            linux,keycodes = &lt;114&gt;;
        };
    };

    power-controller {
        compatible = "mediatek,mt6323-pwrc";
        #power-domain-cells = &lt;0&gt;;
    };

    rtc {
        compatible = "mediatek,mt6323-rtc";
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/input/input.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

pmic {
    compatible = "mediatek,mt6358";
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;

    audio-codec {
        compatible = "mediatek,mt6358-sound";
        Avdd-supply = &lt;&amp;mt6358_vaud28_reg&gt;;
        mediatek,dmic-mode = &lt;0&gt;;
    };

    regulators {
        compatible = "mediatek,mt6358-regulator";

        buck_vdram1 {
            regulator-name = "vdram1";
            regulator-min-microvolt = &lt;500000&gt;;
            regulator-max-microvolt = &lt;2087500&gt;;
            regulator-ramp-delay = &lt;12500&gt;;
            regulator-enable-ramp-delay = &lt;0&gt;;
            regulator-always-on;
            regulator-allowed-modes = &lt;0 1&gt;;
        };

        // ...

        ldo_vsim2 {
            regulator-name = "vsim2";
            regulator-min-microvolt = &lt;1700000&gt;;
            regulator-max-microvolt = &lt;3100000&gt;;
            regulator-enable-ramp-delay = &lt;540&gt;;
        };
    };

    rtc {
        compatible = "mediatek,mt6358-rtc";
    };

    keys {
        compatible = "mediatek,mt6358-keys";

        power {
            linux,keycodes = &lt;KEY_POWER&gt;;
            wakeup-source;
        };

        home {
            linux,keycodes = &lt;KEY_HOME&gt;;
        };
    };
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

pmic {
    compatible = "mediatek,mt6397";

    interrupt-parent = &lt;&amp;pio&gt;;
    interrupts-extended = &lt;&amp;pio 222 IRQ_TYPE_LEVEL_HIGH&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;

    audio-codec {
        compatible = "mediatek,mt6397-codec";
    };

    clocks {
        compatible = "mediatek,mt6397-clk";
        #clock-cells = &lt;1&gt;;
    };

    pinctrl {
        compatible = "mediatek,mt6397-pinctrl";
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
    };

    regulators {
        compatible = "mediatek,mt6397-regulator";

        buck_vpca15 {
            regulator-name = "vpca15";
            regulator-min-microvolt = &lt; 850000&gt;;
            regulator-max-microvolt = &lt;1350000&gt;;
            regulator-ramp-delay = &lt;12500&gt;;
            regulator-enable-ramp-delay = &lt;200&gt;;
        };

        // ...

        ldo_vibr {
            regulator-name = "vibr";
            regulator-min-microvolt = &lt;1200000&gt;;
            regulator-max-microvolt = &lt;3300000&gt;;
            regulator-enable-ramp-delay = &lt;218&gt;;
        };
    };

    rtc {
        compatible = "mediatek,mt6397-rtc";
    };
};
</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 38:</strong> <span> "mediatek,mt6331" for PMIC MT6331 and MT6332.</span></p>

</details>
