# RK818 Power Management Integrated Circuit

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

> Device-tree binding reference for RK818 Power Management Integrated Circuit.

<!-- 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;rockchip&#44;rk818&#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;Chris Zhong &#60;zyw&#64;rock&#45;chips&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Zhang Qing &#60;zhangqing&#64;rock&#45;chips&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Rockchip RK818 series PMIC. This device consists of an i2c controlled MFD
that includes regulators, an RTC, and a power button.</p>
</div>

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

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

<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;rockchip&#44;rk818&#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> — required here

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

<a id="dt-7471877b51a93881192b"></a>

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

<div id="dt-6709a835409866cbd3af">
<p style="white-space: pre-wrap">See &lt;dt-bindings/clock/rockchip,rk808.h&gt; for clock IDs.</p>
</div>

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

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

### <code>clock&#45;output&#45;names</code> — not listed as required here

<div id="dt-1944bc0b47114a0d6f2d">
<p style="white-space: pre-wrap">From common clock binding to override the default output clock name.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-48bdbc8ce79b7a10c6b6"><code>2</code></span>

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

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

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

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

<div id="dt-2c98f2437a8e39b0ea56">
<p style="white-space: pre-wrap">Telling whether or not this PMIC is controlling the system power.</p>
</div>

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

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

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

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

### <code>wakeup&#45;source</code> — not listed as required here

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

<div id="dt-bc66149156eb778046f0">
<p style="white-space: pre-wrap">Device can be used as a wakeup source.</p>
</div>

<a id="dt-07d69774f621693adb8b"></a>

### <code>vcc1&#45;supply</code> — not listed as required here

<div id="dt-ddceb9def3b6afe0518d">
<p style="white-space: pre-wrap">The input supply for DCDC_REG1.</p>
</div>

<a id="dt-5975660fb10c0d2aa0f7"></a>

### <code>vcc2&#45;supply</code> — not listed as required here

<div id="dt-37843848c1c2ffd8ef98">
<p style="white-space: pre-wrap">The input supply for DCDC_REG2.</p>
</div>

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

### <code>vcc3&#45;supply</code> — not listed as required here

<div id="dt-a70dcb0bb545246db23d">
<p style="white-space: pre-wrap">The input supply for DCDC_REG3.</p>
</div>

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

### <code>vcc4&#45;supply</code> — not listed as required here

<div id="dt-82e7d78b9041607bf985">
<p style="white-space: pre-wrap">The input supply for DCDC_REG4.</p>
</div>

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

### <code>boost&#45;supply</code> — not listed as required here

<div id="dt-58220e3014b9977cf902">
<p style="white-space: pre-wrap">The input supply for DCDC_BOOST</p>
</div>

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

### <code>vcc6&#45;supply</code> — not listed as required here

<div id="dt-474c340c18a9050be35d">
<p style="white-space: pre-wrap">The input supply for LDO_REG1 and LDO_REG2.</p>
</div>

<a id="dt-19858608569ca605e9b1"></a>

### <code>vcc7&#45;supply</code> — not listed as required here

<div id="dt-c7f53bc973fdda3a167a">
<p style="white-space: pre-wrap">The input supply for LDO_REG3, LDO_REG5, and LDO_REG7.</p>
</div>

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

### <code>vcc8&#45;supply</code> — not listed as required here

<div id="dt-365716cb475e04e68a3a">
<p style="white-space: pre-wrap">The input supply for LDO_REG4, LDO_REG6, and LDO_REG8.</p>
</div>

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

### <code>vcc9&#45;supply</code> — not listed as required here

<div id="dt-569051ce1ae3a373c04f">
<p style="white-space: pre-wrap">The input supply for LDO_REG9 and SWITCH_REG.</p>
</div>

<a id="dt-78ea9f736d3e6cab7ae5"></a>

### <code>vddio&#45;supply</code> — not listed as required here

<div id="dt-ba263ef99f73e8ce56fb">
<p style="white-space: pre-wrap">The input supply for digital IO.</p>
</div>

<a id="dt-4824897a85f04a4382f4"></a>

### <code>h&#95;5v&#45;supply</code> — not listed as required here

<div id="dt-5eb095d79ee093d1c6ce">
<p style="white-space: pre-wrap">The input supply for HDMI_SWITCH.</p>
</div>

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

### <code>usb&#45;supply</code> — not listed as required here

<div id="dt-c8d2904a1969180a4804">
<p style="white-space: pre-wrap">The input supply for OTG_SWITCH.</p>
</div>

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

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

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

<a id="dt-61f1ab18943e36a1a8bc"></a>

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

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

**<code>&#94;&#40;DCDC&#95;REG&#91;1&#45;4&#93;&#124;DCDC&#95;BOOST&#124;LDO&#95;REG&#91;1&#45;9&#93;&#124;SWITCH&#95;REG&#124;HDMI&#95;SWITCH&#124;OTG&#95;SWITCH&#41;&#36;</code> — name matches this regular expression**

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

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

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

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

<code>false</code>

Not allowed by this rule.

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

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;clock&#45;cells&#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/clock/px30-cru.h&gt;
#include &lt;dt-bindings/pinctrl/rockchip.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/gpio/gpio.h&gt;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    rk818: pmic@1c {
        compatible = "rockchip,rk818";
        reg = &lt;0x1c&gt;;
        interrupt-parent = &lt;&amp;gpio0&gt;;
        interrupts = &lt;4 IRQ_TYPE_LEVEL_LOW&gt;;
        pinctrl-names = "default";
        pinctrl-0 = &lt;&amp;pmic_int&gt;;
        rockchip,system-power-controller;
        wakeup-source;
        #clock-cells = &lt;1&gt;;

        vcc1-supply = &lt;&amp;vdd_sys&gt;;
        vcc2-supply = &lt;&amp;vdd_sys&gt;;
        vcc3-supply = &lt;&amp;vdd_sys&gt;;
        vcc4-supply = &lt;&amp;vdd_sys&gt;;
        boost-supply = &lt;&amp;vdd_in_otg_out&gt;;
        vcc6-supply = &lt;&amp;vdd_sys&gt;;
        vcc7-supply = &lt;&amp;vdd_misc_1v8&gt;;
        vcc8-supply = &lt;&amp;vdd_misc_1v8&gt;;
        vcc9-supply = &lt;&amp;vdd_3v3_io&gt;;
        vddio-supply = &lt;&amp;vdd_3v3_io&gt;;

        regulators {
            vdd_log: DCDC_REG1 {
                regulator-name = "vdd_log";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;1100000&gt;;
                regulator-max-microvolt = &lt;1100000&gt;;
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            vdd_gpu: DCDC_REG2 {
                regulator-name = "vdd_gpu";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;800000&gt;;
                regulator-max-microvolt = &lt;1250000&gt;;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = &lt;1000000&gt;;
                };
            };

            vcc_ddr: DCDC_REG3 {
                regulator-name = "vcc_ddr";
                regulator-always-on;
                regulator-boot-on;
                regulator-state-mem {
                    regulator-on-in-suspend;
                };
            };

            vdd_3v3_io: DCDC_REG4 {
                regulator-name = "vdd_3v3_io";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;3300000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = &lt;3300000&gt;;
                };
            };

            vdd_sys: DCDC_BOOST {
                regulator-name = "vdd_sys";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;5000000&gt;;
                regulator-max-microvolt = &lt;5000000&gt;;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = &lt;5000000&gt;;
                };
            };

            vdd_sd: SWITCH_REG {
                regulator-name = "vdd_sd";
                regulator-always-on;
                regulator-boot-on;
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            vdd_eth_2v5: LDO_REG2 {
                regulator-name = "vdd_eth_2v5";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;2500000&gt;;
                regulator-max-microvolt = &lt;2500000&gt;;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = &lt;2500000&gt;;
                };
            };

            vdd_1v0: LDO_REG3 {
                regulator-name = "vdd_1v0";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;1000000&gt;;
                regulator-max-microvolt = &lt;1000000&gt;;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = &lt;1000000&gt;;
                };
            };

            vdd_1v8_lcd_ldo: LDO_REG4 {
                regulator-name = "vdd_1v8_lcd_ldo";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;1800000&gt;;
                regulator-max-microvolt = &lt;1800000&gt;;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = &lt;1800000&gt;;
                };
            };

            vdd_1v0_lcd: LDO_REG6 {
                regulator-name = "vdd_1v0_lcd";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;1000000&gt;;
                regulator-max-microvolt = &lt;1000000&gt;;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = &lt;1000000&gt;;
                };
            };

            vdd_1v8_ldo: LDO_REG7 {
                regulator-name = "vdd_1v8_ldo";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;1800000&gt;;
                regulator-max-microvolt = &lt;1800000&gt;;
                regulator-state-mem {
                    regulator-off-in-suspend;
                    regulator-suspend-microvolt = &lt;1800000&gt;;
                };
            };

            vdd_io_sd: LDO_REG9 {
                regulator-name = "vdd_io_sd";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;1800000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };
        };
    };
};
</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>
