# RK808 Power Management Integrated Circuit

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

> Device-tree binding reference for RK808 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;rk808&#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 RK808 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;rk808&#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-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 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 SWITCH_REG1.</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_REG4 and LDO_REG5.</p>
</div>

<a id="dt-0404f3d48b6b6da0f3e8"></a>

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

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

<a id="dt-0942c473ee9dfb529610"></a>

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

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

<a id="dt-7c389a9f172b43db5f17"></a>

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

<div id="dt-fe8e0e3a59d82838423a">
<p style="white-space: pre-wrap">The input supply for SWITCH_REG2.</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-8c4588713d7f918a2444"></a>

### <code>dvs&#45;gpios</code> — not listed as required here

<div id="dt-552d4148fdd1982965c5">
<p style="white-space: pre-wrap">buck1/2 can be controlled by gpio dvs, this is GPIO specifiers for
2 host gpio's used for dvs. The format of the gpio specifier
depends in the gpio controller. If DVS GPIOs aren't present,
voltage changes will happen very quickly with no slow ramp time.</p>
</div>

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

<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-6cb7297e32bf32ae4ebe"></a>

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2e4f23c88751573d1c8a">[<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-0fca496e1b71fdd9a972"></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/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;;

    rk808: pmic@1b {
        compatible = "rockchip,rk808";
        clock-output-names = "xin32k", "rk808-clkout2";
        interrupt-parent = &lt;&amp;gpio0&gt;;
        interrupts = &lt;4 IRQ_TYPE_LEVEL_LOW&gt;;
        pinctrl-names = "default";
        pinctrl-0 = &lt;&amp;pmic_int &amp;dvs_1 &amp;dvs_2&gt;;
        dvs-gpios = &lt;&amp;gpio7 11 GPIO_ACTIVE_HIGH&gt;,
            &lt;&amp;gpio7 15 GPIO_ACTIVE_HIGH&gt;;
        reg = &lt;0x1b&gt;;
        rockchip,system-power-controller;
        wakeup-source;
        #clock-cells = &lt;1&gt;;

        vcc8-supply = &lt;&amp;vcc_18&gt;;
        vcc9-supply = &lt;&amp;vcc_io&gt;;
        vcc10-supply = &lt;&amp;vcc_io&gt;;
        vcc12-supply = &lt;&amp;vcc_io&gt;;
        vddio-supply = &lt;&amp;vccio_pmu&gt;;

        regulators {
            vdd_cpu: DCDC_REG1 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;750000&gt;;
                regulator-max-microvolt = &lt;1300000&gt;;
                regulator-name = "vdd_arm";
            };

            vdd_gpu: DCDC_REG2 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;850000&gt;;
                regulator-max-microvolt = &lt;1250000&gt;;
                regulator-name = "vdd_gpu";
            };

            vcc_ddr: DCDC_REG3 {
                regulator-always-on;
                regulator-boot-on;
                regulator-name = "vcc_ddr";
            };

            vcc_io: DCDC_REG4 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;3300000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
                regulator-name = "vcc_io";
            };

            vccio_pmu: LDO_REG1 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;3300000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
                regulator-name = "vccio_pmu";
            };

            vcc_tp: LDO_REG2 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;3300000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
                regulator-name = "vcc_tp";
            };

            vdd_10: LDO_REG3 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;1000000&gt;;
                regulator-max-microvolt = &lt;1000000&gt;;
                regulator-name = "vdd_10";
            };

            vcc18_lcd: LDO_REG4 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;1800000&gt;;
                regulator-max-microvolt = &lt;1800000&gt;;
                regulator-name = "vcc18_lcd";
            };

            vccio_sd: LDO_REG5 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;1800000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
                regulator-name = "vccio_sd";
            };

            vdd10_lcd: LDO_REG6 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;1000000&gt;;
                regulator-max-microvolt = &lt;1000000&gt;;
                regulator-name = "vdd10_lcd";
            };

            vcc_18: LDO_REG7 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;1800000&gt;;
                regulator-max-microvolt = &lt;1800000&gt;;
                regulator-name = "vcc_18";
            };

            vcca_codec: LDO_REG8 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = &lt;3300000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
                regulator-name = "vcca_codec";
            };

            vcc_wl: SWITCH_REG1 {
                regulator-always-on;
                regulator-boot-on;
                regulator-name = "vcc_wl";
            };

            vcc_lcd: SWITCH_REG2 {
                regulator-always-on;
                regulator-boot-on;
                regulator-name = "vcc_lcd";
            };
        };
    };
};
</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>
