# Generic Pin Configuration Node

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

> Device-tree binding reference for Generic Pin Configuration Node.

<!-- SPDX-License-Identifier: GPL-2.0-only -->


<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;pincfg&#45;node&#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;Linus Walleij &#60;linusw&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Many data items that are represented in a pin configuration node are common and generic. Pin control bindings should use the properties defined below where they are applicable; not all of these properties are relevant or useful for all hardware or binding structures. Each individual binding document should state which of these generic properties, if any, are used, and the structure of the DT nodes that contain these properties.</p>
</div>

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

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

<a id="dt-604b19261183e55bf254"></a>

### <code>bias&#45;disable</code> — not listed as required here

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

<div id="dt-39389e9d28afe10ea9b3">
<p style="white-space: pre-wrap">disable any pin bias</p>
</div>

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

### <code>bias&#45;high&#45;impedance</code> — not listed as required here

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

<div id="dt-74ee88d965a4b9fc25fa">
<p style="white-space: pre-wrap">high impedance mode ("third-state", "floating")</p>
</div>

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

### <code>bias&#45;bus&#45;hold</code> — not listed as required here

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

<div id="dt-8224a1f74207f2878f72">
<p style="white-space: pre-wrap">latch weakly</p>
</div>

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

### <code>bias&#45;pull&#45;up</code> — not listed as required here

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

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

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

**Rule 1**

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

<a id="dt-8589ea1ef59a12893fb3"></a>

**Rule 2**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bc2861a9afdbb0b035ec">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-12bbebb92ea0c8fe97cf">
<p style="white-space: pre-wrap">pull up the pin. Takes as optional argument on hardware supporting it the pull strength in Ohm.</p>
</div>

<a id="dt-7507f2b9902be976e8e0"></a>

### <code>bias&#45;pull&#45;down</code> — not listed as required here

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

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

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

**Rule 1**

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

<a id="dt-99f72c426098a8a4f0cd"></a>

**Rule 2**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ae745f04c6c1537aff74">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-4f3fb938a7ac209e35c6">
<p style="white-space: pre-wrap">pull down the pin. Takes as optional argument on hardware supporting it the pull strength in Ohm.</p>
</div>

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

### <code>bias&#45;pull&#45;pin&#45;default</code> — not listed as required here

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

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

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

**Rule 1**

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

<a id="dt-0a8306e0b9d5091d2918"></a>

**Rule 2**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-25e427db37e02c6352de">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-79a7226a6ce1341100d7">
<p style="white-space: pre-wrap">use pin-default pull state. Takes as optional argument on hardware supporting it the pull strength in Ohm.</p>
</div>

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

### <code>drive&#45;push&#45;pull</code> — not listed as required here

<a id="dt-0bf4cdcf6032e88465af"></a>

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

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

**Rule 1**

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

<a id="dt-542f2ba7d29a14050818"></a>

**Rule 2**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d12de0f36a069c00c911">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>
>
> **Allowed values (<code>enum</code>):** <a id="dt-697eff26ddd664dc4744"></a> <span id="dt-9bd89a2cdcf6d9edfe07"><code>0</code></span>, <span id="dt-aabf76ba08736504584d"><code>1</code></span>
>
> **Deprecated (<code>deprecated</code>):** <span id="dt-e42b24527be978c2a297"><code>true</code></span>

<div id="dt-a1fe60613cf430de6a86">
<p style="white-space: pre-wrap">drive actively high and low</p>
</div>

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

### <code>drive&#45;open&#45;drain</code> — not listed as required here

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

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

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

**Rule 1**

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

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

**Rule 2**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6d8b3b75d876f0bf7f97">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>
>
> **Exact value (<code>const</code>):** <span id="dt-e760381f126c06fcb9ee"><code>1</code></span>
>
> **Deprecated (<code>deprecated</code>):** <span id="dt-eeb8a7aa36469cfde53b"><code>true</code></span>

<div id="dt-82b424370ad6c5b2e023">
<p style="white-space: pre-wrap">drive with open drain</p>
</div>

<a id="dt-195df643cb038438b549"></a>

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

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

<div id="dt-abb4199069472bf293c4">
<p style="white-space: pre-wrap">drive with open source</p>
</div>

<a id="dt-14d457358eeaba0b3531"></a>

### <code>drive&#45;strength</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a2c3bc482c2949eadd85">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-af9c86f676744334d0ed">
<p style="white-space: pre-wrap">sink or source at most X mA</p>
</div>

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

### <code>drive&#45;strength&#45;microamp</code> — not listed as required here

<div id="dt-8708a2fbc5a37c3f8b2d">
<p style="white-space: pre-wrap">sink or source at most X uA</p>
</div>

<a id="dt-72178a6481507a3ee182"></a>

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

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

<div id="dt-7a4aa153164ba0527bf9">
<p style="white-space: pre-wrap">enable input on pin (no effect on output, such as enabling an input buffer)</p>
</div>

<a id="dt-84d5ddc970005d92fa58"></a>

### <code>input&#45;disable</code> — not listed as required here

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

<div id="dt-94314b6f079e4ccd2897">
<p style="white-space: pre-wrap">disable input on pin (no effect on output, such as disabling an input buffer)</p>
</div>

<a id="dt-152bf033ab3a22e7f7e5"></a>

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

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

<div id="dt-b4497d9a39fb06cdaf3d">
<p style="white-space: pre-wrap">enable schmitt-trigger mode</p>
</div>

<a id="dt-89d9260523661fb46c0b"></a>

### <code>input&#45;schmitt&#45;disable</code> — not listed as required here

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

<div id="dt-84afb2e323e636c217e0">
<p style="white-space: pre-wrap">disable schmitt-trigger mode</p>
</div>

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

### <code>input&#45;schmitt&#45;microvolt</code> — not listed as required here

<div id="dt-4f535877843daa7ad423">
<p style="white-space: pre-wrap">threshold strength for schmitt-trigger</p>
</div>

<a id="dt-728cd3388d41fee7f68f"></a>

### <code>input&#45;debounce</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-51708f159525bfdb868f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-03a03f95a666fe4b033c>)</span>

<div id="dt-74dd16178a095d104f51">
<p style="white-space: pre-wrap">Takes the debounce time in usec as argument or 0 to disable debouncing</p>
</div>

<a id="dt-60343d9d8636ada7a6f2"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-14f5c00e3ec55e853dad">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-678e1258f17e8eb91b79">
<p style="white-space: pre-wrap">select between different power supplies</p>
</div>

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

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

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

<div id="dt-3ccd5c675ba787d253f5">
<p style="white-space: pre-wrap">enable low power mode</p>
</div>

<a id="dt-155029c98b4374c0758a"></a>

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

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

<div id="dt-65c84f777b33081c4bd0">
<p style="white-space: pre-wrap">disable low power mode</p>
</div>

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

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

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

<div id="dt-2c4e6150ad1bdf5dceb8">
<p style="white-space: pre-wrap">disable output on a pin (such as disable an output buffer)</p>
</div>

<a id="dt-9609043aa07f037f00dc"></a>

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

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

<div id="dt-420b2841e33ad4d61085">
<p style="white-space: pre-wrap">enable output on a pin without actively driving it (such as enabling an output buffer)</p>
</div>

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

### <code>output&#45;impedance&#45;ohms</code> — not listed as required here

<div id="dt-236c218bdcf9250e39eb">
<p style="white-space: pre-wrap">set the output impedance of a pin to at most X ohms</p>
</div>

<a id="dt-55b844525a9b399b0281"></a>

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

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

<div id="dt-6d627dfdc3a497b6ce6c">
<p style="white-space: pre-wrap">set the pin to output mode with low level</p>
</div>

<a id="dt-83ed58bcbfa4a0b30c67"></a>

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

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

<div id="dt-f5d30a45f8cbeeb288e2">
<p style="white-space: pre-wrap">set the pin to output mode with high level</p>
</div>

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

### <code>sleep&#45;hardware&#45;state</code> — not listed as required here

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

<div id="dt-136ac42ce4af8900095c">
<p style="white-space: pre-wrap">indicate this is sleep related state which will be programmed into the registers for the sleep state.</p>
</div>

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

### <code>slew&#45;rate</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3d18f6a63a810200d488">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-430d362fa630b8b478b1">
<p style="white-space: pre-wrap">set the slew rate</p>
</div>

<a id="dt-97e6c8e10f5849f6fd73"></a>

### <code>skew&#45;delay</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a645f87297e64e1e050e">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-baf2e759bdd085516b61">
<p style="white-space: pre-wrap">this affects the expected clock skew on input pins and the delay before latching a value to an output pin. Typically indicates how many double-inverters are used to delay the signal.</p>
</div>

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

### <code>skew&#45;delay&#45;input&#45;ps</code> — not listed as required here

<div id="dt-bb013029b21282a4c75f">
<p style="white-space: pre-wrap">this affects the expected clock skew in ps on an input pin.</p>
</div>

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

### <code>skew&#45;delay&#45;output&#45;ps</code> — not listed as required here

<div id="dt-48dff91926b645dc841a">
<p style="white-space: pre-wrap">this affects the expected delay in ps before latching a value to an output pin.</p>
</div>

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> **Required in this object (<code>required</code>):** <a id="dt-14e52113574fb38ea542"></a> <span id="dt-29f94e3578414110598d"><code>&#34;skew&#45;delay&#34;</code></span>

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> <a id="dt-d3da345ec82b9041251c"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-12341426310a1c969478"></a>
>
> #### <code>skew&#45;delay&#45;input&#45;ps</code> — not listed as required here
>
> <code>false</code> — Not permitted by this property rule.
>
> <a id="dt-46113ce3fa5ff1a6d65c"></a>
>
> #### <code>skew&#45;delay&#45;output&#45;ps</code> — not listed as required here
>
> <code>false</code> — Not permitted by this property rule.

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

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

<code>true</code>

Allowed by this rule.

## 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</span></p>

<p id="dt-comment-1"><strong>Line 66:</strong> <span> No known cases of 0</span></p>

</details>
