# Marvell AP806 pin controller

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

> Device-tree binding reference for Marvell AP806 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;marvell&#44;ap806&#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;Gregory Clement &#60;gregory&#46;clement&#64;bootlin&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Miquel Raynal &#60;miquel&#46;raynal&#64;bootlin&#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;marvell&#44;ap806&#45;pinctrl&#34;</code></span>

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

### <code>reg</code> — not listed as 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>

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

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

<a id="dt-59ab7e0385b4545f8323"></a>

**<code>marvell&#44;function</code> — not listed as required here**

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

<div id="dt-821a83b3ee58ec51d9cc">
<p style="white-space: pre-wrap">Indicates the function to select.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-7fb16284a76d1d990b5e"></a> <span id="dt-ed7932156cf6b738d0aa"><code>&#34;gpio&#34;</code></span>, <span id="dt-63756e1335a8634bd0ee"><code>&#34;i2c0&#34;</code></span>, <span id="dt-bea87c3f0f8155cbea7d"><code>&#34;sdio&#34;</code></span>, <span id="dt-d9837f3de73443fed249"><code>&#34;spi0&#34;</code></span>, <span id="dt-2827c3b5f441987c356a"><code>&#34;uart0&#34;</code></span>, <span id="dt-56d8bbea9baceb2ffad5"><code>&#34;uart1&#34;</code></span>

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

**<code>marvell&#44;pins</code> — not listed as required here**

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

<div id="dt-17bf63532a0557fb7917">
<p style="white-space: pre-wrap">Array of MPP pins to be used for the given function.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-b7a978807e0ca09ae459"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-44e0c8301ea5ca769b2d"><code>20</code></span>

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

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

> **Allowed values (<code>enum</code>):** <a id="dt-1391b2a0bdb7d78c351f"></a> <span id="dt-6de72e3d21b07d8c8c60"><code>&#34;mpp0&#34;</code></span>, <span id="dt-b1c87bcb71dbba191779"><code>&#34;mpp1&#34;</code></span>, <span id="dt-cc5b8e8da51bffb52556"><code>&#34;mpp2&#34;</code></span>, <span id="dt-d80fe4cf36ea58b300ec"><code>&#34;mpp3&#34;</code></span>, <span id="dt-0a53451d62a0146b3335"><code>&#34;mpp4&#34;</code></span>, <span id="dt-6c0100dffceb40488f4e"><code>&#34;mpp5&#34;</code></span>, <span id="dt-846fa0bdadf506522a20"><code>&#34;mpp6&#34;</code></span>, <span id="dt-9361f9b63539f960710a"><code>&#34;mpp7&#34;</code></span>, <span id="dt-c0b8b5f6a1badf806eb2"><code>&#34;mpp8&#34;</code></span>, <span id="dt-c2214a4716b4ae4a700d"><code>&#34;mpp9&#34;</code></span>, <span id="dt-fa8b568d0da640dbd5d0"><code>&#34;mpp10&#34;</code></span>, <span id="dt-7f6dc7d319d6dfe26274"><code>&#34;mpp11&#34;</code></span>, <span id="dt-3dbeb7892014a181e423"><code>&#34;mpp12&#34;</code></span>, <span id="dt-0dbef8d66e7e07fcd772"><code>&#34;mpp13&#34;</code></span>, <span id="dt-09d992d92f729425cf3f"><code>&#34;mpp14&#34;</code></span>, <span id="dt-87c76eba9a434e5bce66"><code>&#34;mpp15&#34;</code></span>, <span id="dt-680035a1ed09579c906f"><code>&#34;mpp16&#34;</code></span>, <span id="dt-ff6d4809819209a51114"><code>&#34;mpp17&#34;</code></span>, <span id="dt-15bd94954a0902cc9e53"><code>&#34;mpp18&#34;</code></span>, <span id="dt-8c2907db9ac58c6bfade"><code>&#34;mpp19&#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>

**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-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 {
    compatible = "marvell,ap806-pinctrl";

    uart0_pins: uart0-pins {
        marvell,pins = "mpp11", "mpp19";
        marvell,function = "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>

</details>
