# UniPhier SoCs pin controller

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

> Device-tree binding reference for UniPhier SoCs pin controller.

<!-- 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;pinctrl&#47;socionext&#44;uniphier&#45;pinctrl&#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;Masahiro Yamada &#60;yamada&#46;masahiro&#64;socionext&#46;com&#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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;socionext&#44;uniphier&#45;ld4&#45;pinctrl&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;socionext&#44;uniphier&#45;pro4&#45;pinctrl&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;socionext&#44;uniphier&#45;sld8&#45;pinctrl&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;socionext&#44;uniphier&#45;pro5&#45;pinctrl&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;socionext&#44;uniphier&#45;pxs2&#45;pinctrl&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;socionext&#44;uniphier&#45;ld6b&#45;pinctrl&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;socionext&#44;uniphier&#45;ld11&#45;pinctrl&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;socionext&#44;uniphier&#45;ld20&#45;pinctrl&#34;</code></span>, <span id="dt-07feb33463d5c114ab05"><code>&#34;socionext&#44;uniphier&#45;pxs3&#45;pinctrl&#34;</code></span>, <span id="dt-1e634b71c3167df349bb"><code>&#34;socionext&#44;uniphier&#45;nx1&#45;pinctrl&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

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

> **Value type (<code>type</code>):** <span id="dt-3363ef09170715607dca"><code>&#34;object&#34;</code></span>
>
> <a id="dt-d678a21716e72d50bf67"></a>
>
> ### All of these rules must match (<code>allOf</code>)
>
> <a id="dt-63b52706c531228fb09b"></a>
>
> #### Rule 1
>
> > **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4ff4b4f6812780cb2b39">[<code>pincfg&#45;node&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-pinctrl/pincfg-node.md#dt-root>)</span>
>
> <a id="dt-f9736caecc060f9989d0"></a>
>
> #### Rule 2
>
> > **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1a3f8752de2d454fbe95">[<code>pinmux&#45;node&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-pinctrl/pinmux-node.md#dt-root>)</span>
>
> <a id="dt-861dafa8815d383f13cb"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-0e66c950927664d4a329"></a>
>
> #### <code>function</code> — not listed as required here
>
> <code>true</code> — No constraints added by this property rule.
>
> <a id="dt-6430254e1622e47d90b6"></a>
>
> #### <code>groups</code> — not listed as required here
>
> <code>true</code> — No constraints added by this property rule.
>
> <a id="dt-c8a37f8fa6da20763601"></a>
>
> #### <code>pins</code> — not listed as required here
>
> <code>true</code> — No constraints added by this property rule.
>
> <a id="dt-4fd7ffdbb7d0e284a77e"></a>
>
> #### <code>bias&#45;pull&#45;up</code> — not listed as required here
>
> <code>true</code> — No constraints added by this property rule.
>
> <a id="dt-ffb9f21c80438f33344e"></a>
>
> #### <code>bias&#45;pull&#45;down</code> — not listed as required here
>
> <code>true</code> — No constraints added by this property rule.
>
> <a id="dt-b7e350d9b847e1e3e893"></a>
>
> #### <code>bias&#45;pull&#45;pin&#45;default</code> — not listed as required here
>
> <code>true</code> — No constraints added by this property rule.
>
> <a id="dt-db84d72e37e1245443be"></a>
>
> #### <code>drive&#45;strength</code> — not listed as required here
>
> <code>true</code> — No constraints added by this property rule.
>
> <a id="dt-08c3741aee8aef47098b"></a>
>
> ### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)
>
> > **Value type (<code>type</code>):** <span id="dt-4ef52cd01f2da705470a"><code>&#34;object&#34;</code></span>
> >
> > <a id="dt-5d2d8bd059ed66da25cd"></a>
> >
> > #### All of these rules must match (<code>allOf</code>)
> >
> > <a id="dt-7086c08e27fe343cda22"></a>
> >
> > **Rule 1**
> >
> > > **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8b05f546b6a978ecc72a">[<code>pincfg&#45;node&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-pinctrl/pincfg-node.md#dt-root>)</span>
> >
> > <a id="dt-ae462b2add4d48013272"></a>
> >
> > **Rule 2**
> >
> > > **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b7cdd18b3f44dafed627">[<code>pinmux&#45;node&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-pinctrl/pinmux-node.md#dt-root>)</span>
> >
> > <a id="dt-1110e86fb3a57f5926d7"></a>
> >
> > #### Properties and child nodes (<code>properties</code>)
> >
> > <a id="dt-c1542a9fd288dad8374c"></a>
> >
> > **<code>function</code> — not listed as required here**
> >
> > <code>true</code> — No constraints added by this property rule.
> >
> > <a id="dt-e73577a8aff88bd9d2c3"></a>
> >
> > **<code>groups</code> — not listed as required here**
> >
> > <code>true</code> — No constraints added by this property rule.
> >
> > <a id="dt-77242e901531c24c39d0"></a>
> >
> > **<code>pins</code> — not listed as required here**
> >
> > <code>true</code> — No constraints added by this property rule.
> >
> > <a id="dt-7a2305fdff38f5cf9aac"></a>
> >
> > **<code>bias&#45;pull&#45;up</code> — not listed as required here**
> >
> > <code>true</code> — No constraints added by this property rule.
> >
> > <a id="dt-cbf027410a65bf778f8b"></a>
> >
> > **<code>bias&#45;pull&#45;down</code> — not listed as required here**
> >
> > <code>true</code> — No constraints added by this property rule.
> >
> > <a id="dt-4581303ea2157d495c87"></a>
> >
> > **<code>bias&#45;pull&#45;pin&#45;default</code> — not listed as required here**
> >
> > <code>true</code> — No constraints added by this property rule.
> >
> > <a id="dt-f93b2ff23547e859e865"></a>
> >
> > **<code>drive&#45;strength</code> — not listed as required here**
> >
> > <code>true</code> — No constraints added by this property rule.
> >
> > <a id="dt-2ecdd43dab919850da37"></a>
> >
> > #### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)
> >
> > <code>false</code>
> >
> > Not allowed by this rule.

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>pinctrl&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-pinctrl/pinctrl.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>

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

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">// The UniPhier pinctrl should be a subnode of a "syscon" compatible node.

pinctrl {
    compatible = "socionext,uniphier-ld20-pinctrl";

    pinctrl_ether_rgmii: ether-rgmii {
        groups = "ether_rgmii";
        function = "ether_rgmii";

        tx {
            pins = "RGMII_TXCLK", "RGMII_TXD0", "RGMII_TXD1",
                   "RGMII_TXD2", "RGMII_TXD3", "RGMII_TXCTL";
            drive-strength = &lt;9&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>
