# Richtek RT5133 PMIC Regulator

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

> Device-tree binding reference for Richtek RT5133 PMIC Regulator.

<!-- 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;regulator&#47;richtek&#44;rt5133&#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;ShihChia Chang &#60;jeff&#95;chang&#64;richtek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The RT5133 is an integrated Power Management IC for portable devices, featuring 8 LDOs and 3 GPOs. It allows programmable output voltages, soft-start times, and protections via I2C. GPO operation depends on LDO1 voltage.</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;richtek&#44;rt5133&#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-0d068058a6f4b36b1505"></a>

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

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

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

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

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

<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-f5d51cae76398cdb9d95"></a>

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

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

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

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

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

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

### <code>richtek&#44;oc&#45;shutdown&#45;all</code> — not listed as required here

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

<div id="dt-f672510a837a6cdf64e0">
<p style="white-space: pre-wrap">Controls the behavior when any LDO (Low Dropout Regulator) enters an Over Current state. If set to true, all LDO channels will be shut down. If set to false, only the affected LDO channel will shut down itself.</p>
</div>

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

### <code>richtek&#44;pgb&#45;shutdown&#45;all</code> — not listed as required here

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

<div id="dt-3cf0d5e933e3dea1adec">
<p style="white-space: pre-wrap">Controls the behavior when any LDO enters a Power Good Bad state. If set to true, all LDO channels will be shut down. If set to false, only the affected LDO channel will shut down itself.</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-8e4e67ed0dd0ed4ae33a"></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-6b7569181c1f9f065c34"></a>

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

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

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

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

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

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

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

<code>false</code>

Not allowed by this rule.

<div id="dt-167643b371a98a555207">
<p style="white-space: pre-wrap">Properties for the base regulator, which is the top-level supply for LDO1 to LDO6. It functions merely as an on/off switch rather than regulating voltages. If none of LDO1 to LDO6 are in use, switching off the base will reduce the quiescent current.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-98ac17d831e43f5e52dd"></a> <span id="dt-dba78f27130564343003"><code>&#34;regulator&#45;name&#34;</code></span>

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

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

<a id="dt-9b5daf2ee4f441fa8067"></a>

**<code>&#94;ldo&#40;&#91;1&#45;6&#93;&#41;&#36;</code> — name matches this regular expression**

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

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

<a id="dt-03765efea592a23330a2"></a>

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

<code>false</code>

Not allowed by this rule.

<div id="dt-a013ec6303ab731711b0">
<p style="white-space: pre-wrap">Properties for single LDO regulator</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-66e2854caf853b924dd5"></a> <span id="dt-7440db93f011dd171d24"><code>&#34;regulator&#45;name&#34;</code></span>

<a id="dt-1dc630f270d793a5fefc"></a>

**<code>&#94;ldo&#40;&#91;7&#45;8&#93;&#41;&#36;</code> — name matches this regular expression**

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

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

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

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

<code>false</code>

Not allowed by this rule.

<div id="dt-439aa9ab43f4bf3ba7dd">
<p style="white-space: pre-wrap">Properties for single LDO regulator</p>
</div>

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

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

<a id="dt-26f483002d91e636683d"></a>

**<code>vin&#45;supply</code> — required here**

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

**Required in this object (<code>required</code>):** <a id="dt-4e1b4d90b19894694843"></a> <span id="dt-ff0937910e404f59b7a2"><code>&#34;regulator&#45;name&#34;</code></span>, <span id="dt-f4b3c3ab29efef089186"><code>&#34;vin&#45;supply&#34;</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#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/irq.h&gt;
#include &lt;dt-bindings/gpio/gpio.h&gt;
i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  pmic@18 {
    compatible = "richtek,rt5133";
    reg = &lt;0x18&gt;;
    wakeup-source;
    interrupts-extended = &lt;&amp;gpio 0 IRQ_TYPE_EDGE_FALLING&gt;;
    enable-gpios = &lt;&amp;gpio 2 GPIO_ACTIVE_HIGH&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    richtek,oc-shutdown-all;
    richtek,pgb-shutdown-all;
    regulators {
      base {
        regulator-name = "base";
      };
      pvin78: ldo1 {
        regulator-name = "ldo1";
        regulator-min-microvolt = &lt;1800000&gt;;
        regulator-max-microvolt = &lt;3199998&gt;;
        regulator-active-discharge = &lt;1&gt;;
      };
      ldo2 {
        regulator-name = "ldo2";
        regulator-min-microvolt = &lt;1800000&gt;;
        regulator-max-microvolt = &lt;3200000&gt;;
        regulator-active-discharge = &lt;1&gt;;
      };
      ldo3 {
        regulator-name = "ldo3";
        regulator-min-microvolt = &lt;1700000&gt;;
        regulator-max-microvolt = &lt;3000000&gt;;
        regulator-active-discharge = &lt;1&gt;;
      };
      ldo4 {
        regulator-name = "ldo4";
        regulator-min-microvolt = &lt;1700000&gt;;
        regulator-max-microvolt = &lt;3000000&gt;;
        regulator-active-discharge = &lt;1&gt;;
      };
      ldo5 {
        regulator-name = "ldo5";
        regulator-min-microvolt = &lt;1700000&gt;;
        regulator-max-microvolt = &lt;3000000&gt;;
        regulator-active-discharge = &lt;1&gt;;
      };
      ldo6 {
        regulator-name = "ldo6";
        regulator-min-microvolt = &lt;1700000&gt;;
        regulator-max-microvolt = &lt;3000000&gt;;
        regulator-active-discharge = &lt;1&gt;;
      };
      ldo7 {
        regulator-name = "ldo7";
        regulator-min-microvolt = &lt;900000&gt;;
        regulator-max-microvolt = &lt;1200000&gt;;
        regulator-active-discharge = &lt;1&gt;;
        vin-supply = &lt;&amp;pvin78&gt;;
      };
      ldo8 {
        regulator-name = "ldo8";
        regulator-min-microvolt = &lt;855000&gt;;
        regulator-max-microvolt = &lt;1200000&gt;;
        regulator-active-discharge = &lt;1&gt;;
        vin-supply = &lt;&amp;pvin78&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>
