# Intel Lightning Mountain SoC pinmux & GPIO controller

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

> Device-tree binding reference for Intel Lightning Mountain SoC pinmux & GPIO 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;intel&#44;lgm&#45;io&#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;Rahul Tanwar &#60;rahul&#46;tanwar&#64;linux&#46;intel&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Pinmux &amp; GPIO controller controls pin multiplexing &amp; configuration including
GPIO function selection &amp; GPIO attributes configuration.</p>
</div>

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

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

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

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;intel&#44;lgm&#45;io&#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-e92215bd3c2f5373b164"></a>

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

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

### <code>&#45;pins&#36;</code> — name matches this regular expression

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

<div id="dt-d0f0a177b390ac94f08f">
<p style="white-space: pre-wrap">Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties.</p>
</div>

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

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

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

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

**<code>function</code> — required here**

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

<a id="dt-9030448f3599b1b6996e"></a>

**<code>groups</code> — required here**

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

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

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

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

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

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

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

<a id="dt-cf50c44035a980a98c4e"></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-1393a97b2895bd98f294"></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-c18f23d1cbf5e5146c12"></a>

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

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

<a id="dt-03aa6fb1b47e875e2e5a"></a>

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

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

<a id="dt-742b42f7200d80a8c11a"></a>

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

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

<a id="dt-19c810a323e862fa59f7"></a>

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

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

**Required in this object (<code>required</code>):** <a id="dt-4d6b758afb351ac15201"></a> <span id="dt-4e7a6c8aa526cfc124a2"><code>&#34;function&#34;</code></span>, <span id="dt-81f0f2d362e66a97bff0"><code>&#34;groups&#34;</code></span>

<a id="dt-9069dcc32114c9a4bdd9"></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-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>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#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">pinctrl: pinctrl@e2880000 {
    compatible = "intel,lgm-io";
    reg = &lt;0xe2880000 0x100000&gt;;

    uart0-pins {
         pins = &lt;64&gt;, /* UART_RX0 */
                &lt;65&gt;; /* UART_TX0 */
         function = "CONSOLE_UART0";
         pinmux = &lt;1&gt;,
                  &lt;1&gt;;
         groups = "CONSOLE_UART0";
      };
};
</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>

<p id="dt-comment-1"><strong>Line 23:</strong> <span> Client device subnode's properties</span></p>

<p id="dt-comment-2"><strong>Line 60:</strong> <span> Pinmux controller node</span></p>

</details>
