# Freescale i.MX7ULP IOMUX Controller

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

> Device-tree binding reference for Freescale i.MX7ULP IOMUX 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;fsl&#44;imx7ulp&#45;iomuxc1&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">i.MX 7ULP has three IOMUXC instances: IOMUXC0 for M4 ports, IOMUXC1 for A7
ports and IOMUXC DDR for DDR interface.</p>
<p style="white-space: pre-wrap">Note: This binding doc is only for the IOMUXC1 support in A7 Domain and it
only supports generic pin config.</p>
<p style="white-space: pre-wrap">Please refer to fsl,imx-pinctrl.txt in this directory for common binding
part and usage.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Frank Li &#60;Frank&#46;Li&#64;nxp&#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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;fsl&#44;imx7ulp&#45;iomuxc1&#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-167ee70d44c4fc4662e7"></a>

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

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

<div id="dt-d911c18801d9b4b8ea12">
<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>

<a id="dt-38d566ac64305a5398e6"></a>

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

<a id="dt-35056c7b21fa98bd8bfd"></a>

**<code>fsl&#44;pins</code> — required here**

<div id="dt-8a2081d26f72e9dca554">
<p style="white-space: pre-wrap">Each entry consists of 5 integers which represents the mux and config setting for one pin. The first 4 integers &lt;mux_conf_reg input_reg mux_mode input_val&gt; are specified using a PIN_FUNC_ID macro, which can be found in imx7ulp-pinfunc.h in the device tree source folder. The last integer CONFIG is the pad setting value like pull-up on this pin.
Please refer to i.MX7ULP Reference Manual for detailed CONFIG settings.</p>
</div>

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

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

**Array item rules (<code>items</code>)**

> <a id="dt-268de68a98769774f580"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-0bb5a80f53abaecb69a2"></a>
>
> **Item 1**
>
> > <div id="dt-273abfabe9fe89ae145a">
> > <p style="white-space: pre-wrap">"mux_conf_reg" indicates the offset of mux register.</p>
> > </div>
>
> <a id="dt-bc5cfc0d78fc9add83fd"></a>
>
> **Item 2**
>
> > <div id="dt-56c98e4124c8830a4182">
> > <p style="white-space: pre-wrap">"input_reg" indicates the offset of select input register.</p>
> > </div>
>
> <a id="dt-ac26f46ee99e9afade56"></a>
>
> **Item 3**
>
> > <div id="dt-7e5a80794aa4bdaf5a5f">
> > <p style="white-space: pre-wrap">"mux_mode" indicates the mux value to be applied.</p>
> > </div>
>
> <a id="dt-1746170e074ff402dc03"></a>
>
> **Item 4**
>
> > <div id="dt-5e5ac9bed6de90301685">
> > <p style="white-space: pre-wrap">"input_val" indicates the select input value to be applied.</p>
> > </div>
>
> <a id="dt-e43018f710267fd4a7b8"></a>
>
> **Item 5**
>
> > <div id="dt-e335cb7b899b66e98e24">
> > <pre><code>CONFIG bits definition:
> >   PAD_CTL_OBE           (1 &lt;&lt; 17)
> >   PAD_CTL_IBE           (1 &lt;&lt; 16)
> >   PAD_CTL_LK            (1 &lt;&lt; 16)
> >   PAD_CTL_DSE_HI        (1 &lt;&lt; 6)
> >   PAD_CTL_DSE_STD       (0 &lt;&lt; 6)
> >   PAD_CTL_ODE           (1 &lt;&lt; 5)
> >   PAD_CTL_PUSH_PULL     (0 &lt;&lt; 5)
> >   PAD_CTL_SRE_SLOW      (1 &lt;&lt; 2)
> >   PAD_CTL_SRE_STD       (0 &lt;&lt; 2)
> >   PAD_CTL_PE            (1 &lt;&lt; 0)</code></pre>
> > </div>

**Required in this object (<code>required</code>):** <a id="dt-421e642aea8e611d6a58"></a> <span id="dt-5411719ffe4aa34346f4"><code>&#34;fsl&#44;pins&#34;</code></span>

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

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</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>

<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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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@40ac0000 {
    compatible = "fsl,imx7ulp-iomuxc1";
    reg = &lt;0x40ac0000 0x1000&gt;;

    lpuart4grp {
        fsl,pins = &lt;
            0x000c 0x0248 0x4 0x1 0x1
            0x0008 0x024c 0x4 0x1 0x1
        &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>
