# Gpio bindings

---

# Abilis TB10x GPIO controller

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

> Device-tree binding reference for Abilis TB10x 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;gpio&#47;abilis&#44;tb10x&#45;gpio&#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;Christian Ruppert &#60;christian&#46;ruppert&#64;abilis&#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;abilis&#44;tb10x&#45;gpio&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;ranges</code> — not listed as required here

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

<a id="dt-0131ecccae07718fe228"></a>

### <code>gpio&#45;ranges&#45;group&#45;names</code> — not listed as required here

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

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

### <code>interrupt&#45;controller</code> — not listed as required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>1</code></span>

<div id="dt-0cc2c51365b6879fba3b">
<p style="white-space: pre-wrap">Interrupts are triggered on both edges</p>
</div>

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

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-1245cfff9edaffa9e926"></a>

### <code>abilis&#44;ngpio</code> — required here

<div id="dt-3b2583f2bd07ec87190e">
<p style="white-space: pre-wrap">Number of GPIO pins this driver controls</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-20288d7ba1bb762afdc7">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;abilis&#44;ngpio&#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">gpio@ff140000 {
    compatible = "abilis,tb10x-gpio";
    interrupt-controller;
    #interrupt-cells = &lt;1&gt;;
    interrupts = &lt;27 2&gt;;
    reg = &lt;0xff140000 0x1000&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    abilis,ngpio = &lt;3&gt;;
    gpio-ranges = &lt;&amp;iomux 0 0 0&gt;;
    gpio-ranges-group-names = "gpioa_pins";
};
</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>

---

# DS4520 I2C GPIO expander

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

> Device-tree binding reference for DS4520 I2C GPIO expander.

<!-- 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;gpio&#47;adi&#44;ds4520&#45;gpio&#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;Okan Sahin &#60;okan&#46;sahin&#64;analog&#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;adi&#44;ds4520&#45;gpio&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

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

**Minimum value (<code>minimum</code>):** <span id="dt-4ef4898ec8b764d69b54"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-36d4cd2652ecdcb61809"><code>9</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;ngpios&#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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    gpio@50 {
        compatible = "adi,ds4520-gpio";
        reg = &lt;0x50&gt;;
        ngpios = &lt;9&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&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>

---

# Airoha EN7523 GPIO controller

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

> Device-tree binding reference for Airoha EN7523 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;gpio&#47;airoha&#44;en7523&#45;gpio&#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;John Crispin &#60;john&#64;phrozen&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Airoha's GPIO controller on their ARM EN7523 SoCs consists of two banks of 32
GPIOs.</p>
</div>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;gpio&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;&#34;</code></span>

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

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-aaadfb6b044cada8472e"><code>&#34;airoha&#44;en7523&#45;gpio&#34;</code></span>

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

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">The first tuple points to the input register.
The second and third tuple point to the direction registers
The fourth tuple points to the output register</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>4</code></span>

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property 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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#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">gpio0: gpio@1fbf0200 {
    compatible = "airoha,en7523-gpio";
    reg = &lt;0x1fbf0204 0x4&gt;,
          &lt;0x1fbf0200 0x4&gt;,
          &lt;0x1fbf0220 0x4&gt;,
          &lt;0x1fbf0214 0x4&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
};

gpio1: gpio@1fbf0270 {
    compatible = "airoha,en7523-gpio";
    reg = &lt;0x1fbf0270 0x4&gt;,
          &lt;0x1fbf0260 0x4&gt;,
          &lt;0x1fbf0264 0x4&gt;,
          &lt;0x1fbf0278 0x4&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&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>

---

# Altera GPIO controller

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

> Device-tree binding reference for Altera 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;gpio&#47;altr&#45;pio&#45;1&#46;0&#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;Dinh Nguyen &#60;dinguyen&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Marek Vasut &#60;marex&#64;denx&#46;de&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Mathieu Malaterre &#60;malat&#64;debian&#46;org&#62;&#34;</code></span>, <span id="dt-3a197c22bf020420f520"><code>&#34;Tien Hock Loh &#60;thloh&#64;altera&#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;altr&#44;pio&#45;1&#46;0&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<div id="dt-70b20397c3c73794f833">
<p style="white-space: pre-wrap">First cell is the GPIO offset number. Second cell is reserved and currently unused.</p>
</div>

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

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

### <code>interrupt&#45;controller</code> — required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-914150e43ddb8b8c2dc3"></a>

### <code>altr&#44;ngpio</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c6b621ba5d0d72709e7c">[<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-68bbc9ca72405dba1d18">
<p style="white-space: pre-wrap">Width of the GPIO bank.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-bf249026438f017fe738"><code>32</code></span>

<a id="dt-12f4d7bb84abcd7ce023"></a>

### <code>altr&#44;interrupt&#45;type</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-05256347c33a511938e5">[<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-e7158300b4a8db367b27">
<p style="white-space: pre-wrap">Specifies the interrupt trigger type synthesized by hardware. Values defined in &lt;dt-bindings/interrupt-controller/irq.h&gt;.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-209b0476c817d333bd33"></a> <span id="dt-bfe006cea89f998b97d9"><code>1</code></span>, <span id="dt-4f7357a74c078e04c065"><code>2</code></span>, <span id="dt-6983339c7cd804627b00"><code>3</code></span>, <span id="dt-5696fad65158249140f7"><code>4</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupts&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;interrupt&#45;cells&#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">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

gpio@ff200000 {
    compatible = "altr,pio-1.0";
    reg = &lt;0xff200000 0x10&gt;;
    interrupts = &lt;45 4&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    altr,ngpio = &lt;32&gt;;
    altr,interrupt-type = &lt;IRQ_TYPE_EDGE_RISING&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>

---

# APM X-Gene Standby GPIO controller

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

> Device-tree binding reference for APM X-Gene Standby 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;apm&#44;xgene&#45;gpio&#45;sb&#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;Khuong Dinh &#60;khuong&#64;os&#46;amperecomputing&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<pre><code>This is a gpio controller in the standby domain. It also supports interrupt in
some particular pins which are sourced to its parent interrupt controller
as diagram below:
                              +-----------------+
                              | X-Gene standby  |
                              | GPIO controller +------ GPIO_0
  +------------+              |                 | ...
  | Parent IRQ | EXT_INT_0    |                 +------ GPIO_8/EXT_INT_0
  | controller | (SPI40)      |                 | ...
  | (GICv2)    +--------------+                 +------ GPIO_[N+8]/EXT_INT_N
  |            |   ...        |                 |
  |            | EXT_INT_N    |                 +------ GPIO_[N+9]
  |            | (SPI[40 + N])|                 | ...
  |            +--------------+                 +------ GPIO_MAX
  +------------+              +-----------------+</code></pre>
</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;apm&#44;xgene&#45;gpio&#45;sb&#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-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

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

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">List of interrupt specifiers for EXT_INT_0 through EXT_INT_N. The first entry must correspond to EXT_INT_0.</p>
</div>

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<div id="dt-0cc2c51365b6879fba3b">
<p style="white-space: pre-wrap">First cell selects EXT_INT_N (0-N), second cell specifies flags</p>
</div>

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

### <code>interrupt&#45;controller</code> — required here

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

<a id="dt-1433b4d4b2afa3481d7a"></a>

### <code>apm&#44;nr&#45;gpios</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7c360d8259ab54bb1800">[<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-a3aade7caddaac47e3fa">
<p style="white-space: pre-wrap">Number of GPIO pins</p>
</div>

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

### <code>apm&#44;nr&#45;irqs</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a2bb3206d6aca96a5032">[<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-8f70e191c6ee79004b94">
<p style="white-space: pre-wrap">Number of interrupt pins</p>
</div>

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

### <code>apm&#44;irq&#45;start</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3ed68fbe28cbb88697da">[<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-c3eeace4eb2c2cdc9416">
<p style="white-space: pre-wrap">Lowest GPIO pin supporting interrupts</p>
</div>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupts&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;interrupt&#45;controller&#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">gpio@17001000 {
    compatible = "apm,xgene-gpio-sb";
    reg = &lt;0x17001000 0x400&gt;;
    #gpio-cells = &lt;2&gt;;
    gpio-controller;
    interrupts = &lt;0x0 0x28 0x1&gt;,
                 &lt;0x0 0x29 0x1&gt;,
                 &lt;0x0 0x2a 0x1&gt;,
                 &lt;0x0 0x2b 0x1&gt;,
                 &lt;0x0 0x2c 0x1&gt;,
                 &lt;0x0 0x2d 0x1&gt;;
    #interrupt-cells = &lt;2&gt;;
    interrupt-controller;
    apm,nr-gpios = &lt;22&gt;;
    apm,nr-irqs = &lt;6&gt;;
    apm,irq-start = &lt;8&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>

---

# Apple Mac System Management Controller GPIO

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

> Device-tree binding reference for Apple Mac System Management Controller GPIO.

<!-- 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;gpio&#47;apple&#44;smc&#45;gpio&#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;Sven Peter &#60;sven&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Apple Mac System Management Controller GPIO block.</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;apple&#44;smc&#45;gpio&#34;</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></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;gpio&#45;controller&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;gpio&#45;cells&#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.

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

---

# Aspeed GPIO controller

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

> Device-tree binding reference for Aspeed GPIO controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;gpio&#47;aspeed&#44;ast2400&#45;gpio&#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;Andrew Jeffery &#60;andrew&#64;codeconstruct&#46;com&#46;au&#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;aspeed&#44;ast2400&#45;gpio&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;aspeed&#44;ast2500&#45;gpio&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;aspeed&#44;ast2600&#45;gpio&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;aspeed&#44;ast2700&#45;gpio&#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-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">The clock to use for debounce timings</p>
</div>

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

### <code>gpio&#45;controller</code> — required here

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

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7da1f39f1fcedec6860"><code>232</code></span>

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

### <code>gpio&#45;ranges</code> — not listed as required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

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

### <code>interrupt&#45;controller</code> — required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

### <code>ngpios</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-4ef4898ec8b764d69b54"><code>12</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-36d4cd2652ecdcb61809"><code>232</code></span>

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

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

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

### <code>&#45;hog&#40;&#45;&#91;0&#45;9&#93;&#43;&#41;&#63;&#36;</code> — name matches this regular expression

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

**Required in this object (<code>required</code>):** <a id="dt-a92c0f727772988db0f5"></a> <span id="dt-c6df4cd0db27b8ac7f8b"><code>&#34;gpio&#45;hog&#34;</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>

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

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

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;aspeed&#44;ast2400&#45;gpio&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-ab2d6fc66cef201f6737"></a>
> >
> > **<code>gpio&#45;line&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-a00189271572885c2730"><code>220</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-248aae939463298b05d3"><code>220</code></span>
> >
> > <a id="dt-978effa8d448745bb39e"></a>
> >
> > **<code>ngpios</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-d5e6031c956dd3ef3c2f"><code>220</code></span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;aspeed&#44;ast2500&#45;gpio&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e2577cf7d36fb43d840f"></a>
> >
> > **<code>gpio&#45;line&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-3c146fa8caba23f923d3"><code>232</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-ec7cfe14718540a86fd4"><code>232</code></span>
> >
> > <a id="dt-64778c8fb63a9990f0e3"></a>
> >
> > **<code>ngpios</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-591b6239a564cf054d1b"><code>232</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;aspeed&#44;ast2600&#45;gpio&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-6df6b5e1e70165c92ac8"></a>
> >
> > **<code>gpio&#45;line&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-fa7dad55c458d9eb9568"><code>36</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-98c3ccdc54db4b90061f"><code>208</code></span>
> >
> > <a id="dt-d525369536b7238d0f84"></a>
> >
> > **<code>ngpios</code> — required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-d7173dd2b19b40f3a3cd"></a> <span id="dt-db176887ad0f322af83c"><code>36</code></span>, <span id="dt-fa4dbf815c287f5221fa"><code>208</code></span>
> >
> > **Required in this object (<code>required</code>):** <a id="dt-caec4da91c2837148d80"></a> <span id="dt-aa785038ee05bfb1e067"><code>&#34;ngpios&#34;</code></span>

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

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-5c56c46a4e287cf52ece"><code>&#34;aspeed&#44;ast2700&#45;gpio&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-0c3c259e5c123f733ee8"></a>
> >
> > **<code>gpio&#45;line&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-d7eeda1ced05ba1af649"><code>12</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-29a4e90129e494db35f2"><code>216</code></span>
> >
> > <a id="dt-f6338f64c93e819d7bc9"></a>
> >
> > **<code>ngpios</code> — required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-ef58c2ea618c15d0c4ba"></a> <span id="dt-166eec7a20f24e0aabac"><code>12</code></span>, <span id="dt-2b1f28c0cb98cf80e239"><code>216</code></span>
> >
> > **Required in this object (<code>required</code>):** <a id="dt-e8e2f7d7ecdebb81c712"></a> <span id="dt-1a51fa9eec7d4fe91130"><code>&#34;ngpios&#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">gpio@1e780000 {
    compatible = "aspeed,ast2400-gpio";
    reg = &lt;0x1e780000 0x1000&gt;;
    interrupts = &lt;20&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">gpio: gpio@1e780000 {
    compatible = "aspeed,ast2500-gpio";
    reg = &lt;0x1e780000 0x200&gt;;
    interrupts = &lt;20&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    gpio-ranges = &lt;&amp;pinctrl 0 0 232&gt;;
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">#include &lt;dt-bindings/clock/ast2600-clock.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
gpio0: gpio@1e780000 {
    compatible = "aspeed,ast2600-gpio";
    reg = &lt;0x1e780000 0x400&gt;;
    clocks = &lt;&amp;syscon ASPEED_CLK_APB2&gt;;
    interrupts = &lt;GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
    #gpio-cells = &lt;2&gt;;
    gpio-controller;
    gpio-ranges = &lt;&amp;pinctrl 0 0 208&gt;;
    ngpios = &lt;208&gt;;
};
gpio1: gpio@1e780800 {
    compatible = "aspeed,ast2600-gpio";
    reg = &lt;0x1e780800 0x800&gt;;
    clocks = &lt;&amp;syscon ASPEED_CLK_APB1&gt;;
    interrupts = &lt;GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    gpio-ranges = &lt;&amp;pinctrl 0 208 36&gt;;
    ngpios = &lt;36&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 OR BSD-2-Clause)</span></p>

</details>

---

# Aspeed SGPIO controller

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

> Device-tree binding reference for Aspeed SGPIO 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;gpio&#47;aspeed&#44;sgpio&#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;Andrew Jeffery &#60;andrew&#64;aj&#46;id&#46;au&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This SGPIO controller is for ASPEED AST2400, AST2500, AST2600 and AST2700 SoC, AST2700 have two sgpio master both with 256 pins, AST2600 have two sgpio master one with 128 pins another one with 80 pins, AST2500/AST2400 have one sgpio master with 80 pins. Each of the Serial GPIO pins can be programmed to support the following options - Support interrupt option for each input port and various interrupt sensitivity option (level-high, level-low, edge-high, edge-low) - Support reset tolerance option for each output port - Directly connected to APB bus and its shift clock is from APB bus clock divided by a programmable value. - Co-work with external signal-chained TTL components (74LV165/74LV595)</p>
</div>

<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;aspeed&#44;ast2400&#45;sgpio&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;aspeed&#44;ast2500&#45;sgpio&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;aspeed&#44;ast2600&#45;sgpiom&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;aspeed&#44;ast2700&#45;sgpiom&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

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

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7da1f39f1fcedec6860"><code>256</code></span>

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

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

### <code>interrupt&#45;controller</code> — required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

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

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

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

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

### <code>bus&#45;frequency</code> — required here

<code>true</code> — No constraints added by this property 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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupts&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;ngpios&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;clocks&#34;</code></span>, <span id="dt-1a79af41bdb7f37c802f"><code>&#34;bus&#45;frequency&#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">#include &lt;dt-bindings/clock/aspeed-clock.h&gt;
sgpio: sgpio@1e780200 {
    #gpio-cells = &lt;2&gt;;
    compatible = "aspeed,ast2500-sgpio";
    gpio-controller;
    interrupts = &lt;40&gt;;
    reg = &lt;0x1e780200 0x0100&gt;;
    clocks = &lt;&amp;syscon ASPEED_CLK_APB&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
    ngpios = &lt;80&gt;;
    bus-frequency = &lt;12000000&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>

<p id="dt-comment-1"><strong>Line 38:</strong> <span> Each SGPIO is represented as a pair of input and output GPIOs</span></p>

</details>

---

# Microchip GPIO controller (PIO)

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

> Device-tree binding reference for Microchip GPIO controller (PIO).

<!-- 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;gpio&#47;atmel&#44;at91rm9200&#45;gpio&#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;Manikandan Muralidharan &#60;manikandan&#46;m&#64;microchip&#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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;atmel&#44;at91sam9x5&#45;gpio&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;microchip&#44;sam9x60&#45;gpio&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;atmel&#44;at91rm9200&#45;gpio&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;microchip&#44;sam9x7&#45;gpio&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;microchip&#44;sam9x60&#45;gpio&#34;</code></span>
>
> <a id="dt-1655c7bc2063a21f60f8"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-7c57653c6bcac024338a"><code>&#34;atmel&#44;at91rm9200&#45;gpio&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-b4cf31a5f463012e1429"><code>&#34;atmel&#44;at91rm9200&#45;gpio&#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-c2de09e7f7fd211b679d"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

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

### <code>interrupt&#45;controller</code> — required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-76b02d2c42db46d319f4"></a>

### <code>&#35;gpio&#45;lines</code> — not listed as required here

<div id="dt-d9f4005ea6a5296076cf">
<p style="white-space: pre-wrap">Number of gpio, 32 by default if absent</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-855311021cc3ff702d4c"><code>1</code></span>

**Default value (<code>default</code>):** <span id="dt-5e0bec734c6167edd6e9"><code>32</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;clocks&#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">#include &lt;dt-bindings/clock/at91.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

gpio@fffff400 {
    compatible = "atmel,at91rm9200-gpio";
    reg = &lt;0xfffff400 0x200&gt;;
    interrupts = &lt;2 IRQ_TYPE_LEVEL_HIGH 1&gt;;
    #gpio-cells = &lt;2&gt;;
    gpio-controller;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
    clocks = &lt;&amp;pmc PMC_TYPE_PERIPHERAL 2&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>

---

# Blaize BLZP1600 GPIO controller

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

> Device-tree binding reference for Blaize BLZP1600 GPIO controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;gpio&#47;blaize&#44;blzp1600&#45;gpio&#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">Blaize BLZP1600 GPIO controller is an implementation of the VeriSilicon APB GPIO v0.2 IP block. It has 32 ports each of which are intended to be represented as child nodes with the generic GPIO-controller properties as described in this binding's file.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Nikolaos Pasaloukos &#60;nikolaos&#46;pasaloukos&#64;blaize&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;James Cowgill &#60;james&#46;cowgill&#64;blaize&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Matt Redfearn &#60;matt&#46;redfearn&#64;blaize&#46;com&#62;&#34;</code></span>, <span id="dt-3a197c22bf020420f520"><code>&#34;Neil Jones &#60;neil&#46;jones&#64;blaize&#46;com&#62;&#34;</code></span>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;gpio&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;&#34;</code></span>

<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;blaize&#44;blzp1600&#45;gpio&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>ngpios</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-79a2457790814f19e7f7"><code>32</code></span>

**Minimum value (<code>minimum</code>):** <span id="dt-4ef4898ec8b764d69b54"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-36d4cd2652ecdcb61809"><code>32</code></span>

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

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

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

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

### <code>interrupt&#45;controller</code> — not listed as required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>

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

## Property dependencies (<code>dependencies</code>)

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

### <code>interrupt&#45;controller</code> — applies when this property is present

Also requires: <span id="dt-f73d6262bfa47fb7a0bc"><code>&#34;interrupts&#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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

gpio: gpio@4c0000 {
  compatible = "blaize,blzp1600-gpio";
  reg = &lt;0x004c0000 0x1000&gt;;
  gpio-controller;
  #gpio-cells = &lt;2&gt;;
  ngpios = &lt;32&gt;;
  interrupt-controller;
  #interrupt-cells = &lt;2&gt;;
  interrupts = &lt;GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH&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 OR BSD-2-Clause)</span></p>

</details>

---

# Broadcom BCM63xx GPIO controller

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

> Device-tree binding reference for Broadcom BCM63xx 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;gpio&#47;brcm&#44;bcm63xx&#45;gpio&#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;Álvaro Fernández Rojas &#60;noltari&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Jonas Gorski &#60;jonas&#46;gorski&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Bindings for Broadcom's BCM63xx memory-mapped GPIO controllers.</p>
<p style="white-space: pre-wrap">These bindings can be used on any BCM63xx SoC. However, BCM6338 and BCM6345
are the only ones which don't need a pinctrl driver.</p>
<p style="white-space: pre-wrap">BCM6338 have 8-bit data and dirout registers, where GPIO state can be read
and/or written, and the direction changed from input to output.
BCM6318, BCM6328, BCM6358, BCM6362, BCM6368 and BCM63268 have 32-bit data
and dirout registers, where GPIO state can be read and/or written, and the
direction changed from input to output.</p>
</div>

<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;brcm&#44;bcm6318&#45;gpio&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;brcm&#44;bcm6328&#45;gpio&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;brcm&#44;bcm6358&#45;gpio&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;brcm&#44;bcm6362&#45;gpio&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;brcm&#44;bcm6368&#45;gpio&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;brcm&#44;bcm63268&#45;gpio&#34;</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;ranges</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74b20707a956c3d42e77"><code>1</code></span>

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

### <code>native&#45;endian</code> — not listed as required here

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

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>2</code></span>

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

### <code>reg&#45;names</code> — required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;dirout&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;dat&#34;</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;gpio&#45;cells&#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">gpio@0 {
  compatible = "brcm,bcm63268-gpio";
  reg-names = "dirout", "dat";
  reg = &lt;0x0 0x8&gt;, &lt;0x8 0x8&gt;;

  gpio-controller;
  gpio-ranges = &lt;&amp;pinctrl 0 0 52&gt;;
  #gpio-cells = &lt;2&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>

---

# Broadcom STB "UPG GIO" GPIO controller

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

> Device-tree binding reference for Broadcom STB "UPG GIO" 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;gpio&#47;brcm&#44;brcmstb&#45;gpio&#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">The controller's registers are organized as sets of eight 32-bit registers with each set controlling a bank of up to 32 pins.  A single interrupt is shared for all of the banks handled by the controller.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Doug Berger &#60;opendmb&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Florian Fainelli &#60;f&#46;fainelli&#64;gmail&#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

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

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

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

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-851ace07a50c83495949"></a> <span id="dt-63b688f2ccd82724cb8f"><code>&#34;brcm&#44;bcm7445&#45;gpio&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;brcm&#44;brcmstb&#45;gpio&#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>

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">Define the base and range of the I/O address space containing the brcmstb GPIO controller registers</p>
</div>

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<div id="dt-70b20397c3c73794f833">
<p style="white-space: pre-wrap">The first cell is the pin number (within the controller's pin space), and the second is used for the following: bit[0]: polarity (0 for active-high, 1 for active-low)</p>
</div>

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

### <code>gpio&#45;controller</code> — required here

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

<a id="dt-856be15cd60bcbe65cb2"></a>

### <code>brcm&#44;gpio&#45;bank&#45;widths</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7718625bf37e05ca34c4">[<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-579b6b0adec1e5d36f7b">
<p style="white-space: pre-wrap">Number of GPIO lines for each bank.  Number of elements must correspond to number of banks suggested by the 'reg' property.</p>
</div>

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

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The interrupt shared by all GPIO lines for this controller.</p>
</div>

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<div id="dt-0cc2c51365b6879fba3b">
<pre><code>The first cell is the GPIO number, the second should specify
flags.  The following subset of flags is supported:
- bits[3:0] trigger type and level flags
  1 = low-to-high edge triggered
  2 = high-to-low edge triggered
  4 = active high level-sensitive
  8 = active low level-sensitive
Valid combinations are 1, 2, 3, 4, 8.</code></pre>
</div>

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

### <code>interrupt&#45;controller</code> — not listed as required here

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

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

### <code>gpio&#45;ranges</code> — not listed as required here

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

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7da1f39f1fcedec6860"><code>128</code></span>

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

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

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

<div id="dt-bc66149156eb778046f0">
<p style="white-space: pre-wrap">GPIOs for this controller can be used as a wakeup source</p>
</div>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;brcm&#44;gpio&#45;bank&#45;widths&#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">upg_gio: gpio@f040a700 {
    #gpio-cells = &lt;2&gt;;
    #interrupt-cells = &lt;2&gt;;
    compatible = "brcm,bcm7445-gpio", "brcm,brcmstb-gpio";
    gpio-controller;
    interrupt-controller;
    reg = &lt;0xf040a700 0x80&gt;;
    interrupt-parent = &lt;&amp;irq0_intc&gt;;
    interrupts = &lt;0x6&gt;;
    brcm,gpio-bank-widths = &lt;32 32 32 24&gt;;
    gpio-ranges = &lt;&amp;pinctrl 0 0 120&gt;;
};

upg_gio_aon: gpio@f04172c0 {
    #gpio-cells = &lt;2&gt;;
    #interrupt-cells = &lt;2&gt;;
    compatible = "brcm,bcm7445-gpio", "brcm,brcmstb-gpio";
    gpio-controller;
    interrupt-controller;
    reg = &lt;0xf04172c0 0x40&gt;;
    interrupt-parent = &lt;&amp;irq0_aon_intc&gt;;
    interrupts = &lt;0x6&gt;;
    wakeup-source;
    brcm,gpio-bank-widths = &lt;18 4&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>

---

# Broadcom Kona family GPIO controller

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

> Device-tree binding reference for Broadcom Kona family 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;gpio&#47;brcm&#44;kona&#45;gpio&#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">The Broadcom GPIO Controller IP can be configured prior to synthesis to support up to 8 banks of 32 GPIOs where each bank has its own IRQ. The GPIO controller only supports edge, not level, triggering of interrupts.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Ray Jui &#60;rjui&#64;broadcom&#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

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

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

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

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-851ace07a50c83495949"></a> <span id="dt-63b688f2ccd82724cb8f"><code>&#34;brcm&#44;bcm11351&#45;gpio&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;brcm&#44;bcm21664&#45;gpio&#34;</code></span>, <span id="dt-9802844ed4869452d348"><code>&#34;brcm&#44;bcm23550&#45;gpio&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;brcm&#44;kona&#45;gpio&#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-c2de09e7f7fd211b679d"></a>

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>4</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>6</code></span>

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The interrupt outputs from the controller. There is one GPIO interrupt per GPIO bank. The number of interrupts listed depends on the number of GPIO banks on the SoC. The interrupts must be ordered by bank, starting with bank 0. There is always a 1:1 mapping between banks and IRQs.</p>
</div>

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

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

### <code>interrupt&#45;controller</code> — required here

<code>true</code> — No constraints added by this property 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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;interrupt&#45;controller&#34;</code></span>

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

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

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;brcm&#44;bcm11351&#45;gpio&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-7787b28725c144fbfc92"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-434103e5dab0dc9821c6"><code>6</code></span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;brcm&#44;bcm21664&#45;gpio&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;brcm&#44;bcm23550&#45;gpio&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-46e318450db8639361ba"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-5826f726e17db7a38ebe"><code>4</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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

gpio@35003000 {
    compatible = "brcm,bcm11351-gpio", "brcm,kona-gpio";
    reg = &lt;0x35003000 0x800&gt;;
    interrupts = &lt;GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH&gt;;
    #gpio-cells = &lt;2&gt;;
    #interrupt-cells = &lt;2&gt;;
    gpio-controller;
    interrupt-controller;
};
</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>

---

# Broadcom XGS iProc GPIO controller

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

> Device-tree binding reference for Broadcom XGS iProc GPIO controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;gpio&#47;brcm&#44;xgs&#45;iproc&#45;gpio&#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;Chris Packham &#60;chris&#46;packham&#64;alliedtelesis&#46;co&#46;nz&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This controller is the Chip Common A GPIO present on a number of Broadcom
switch ASICs with integrated SoCs.</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;brcm&#44;iproc&#45;gpio&#45;cca&#34;</code></span>

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

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

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

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

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">the I/O address containing the GPIO controller registers.</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">the I/O address containing the Chip Common A interrupt registers.</p>
> </div>

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

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>ngpios</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-4ef4898ec8b764d69b54"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-36d4cd2652ecdcb61809"><code>32</code></span>

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

### <code>interrupt&#45;controller</code> — not listed as required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#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-3d235861b18e278e9c09"></a>

## Property dependencies (<code>dependencies</code>)

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

### <code>interrupt&#45;controller</code> — applies when this property is present

Also requires: <span id="dt-f73d6262bfa47fb7a0bc"><code>&#34;interrupts&#34;</code></span>

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
gpio@18000060 {
    compatible = "brcm,iproc-gpio-cca";
    #gpio-cells = &lt;2&gt;;
    reg = &lt;0x18000060 0x50&gt;,
          &lt;0x18000000 0x50&gt;;
    ngpios = &lt;12&gt;;
    gpio-controller;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
    interrupts = &lt;GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH&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 OR BSD-2-Clause)</span></p>

</details>

---

# Cavium Octeon 3860 GPIO controller

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

> Device-tree binding reference for Cavium Octeon 3860 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;cavium&#44;octeon&#45;3860&#45;gpio&#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;Bartosz Golaszewski &#60;brgl&#64;bgdev&#46;pl&#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;cavium&#44;octeon&#45;3860&#45;gpio&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>interrupt&#45;controller</code> — required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>16</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;interrupts&#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">bus {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;

    gpio@1070000000800 {
        compatible = "cavium,octeon-3860-gpio";
        reg = &lt;0x10700 0x00000800 0x0 0x100&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;2&gt;;
        /* The GPIO pin connect to 16 consecutive CUI bits */
        interrupts = &lt;0 16&gt;, &lt;0 17&gt;, &lt;0 18&gt;, &lt;0 19&gt;,
                    &lt;0 20&gt;, &lt;0 21&gt;, &lt;0 22&gt;, &lt;0 23&gt;,
                    &lt;0 24&gt;, &lt;0 25&gt;, &lt;0 26&gt;, &lt;0 27&gt;,
                    &lt;0 28&gt;, &lt;0 29&gt;, &lt;0 30&gt;, &lt;0 31&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>

---

# Cadence GPIO Controller

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

> Device-tree binding reference for Cadence GPIO Controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;gpio&#47;cdns&#44;gpio&#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;Jan Kotas &#60;jank&#64;cadence&#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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;cdns&#44;gpio&#45;r1p02&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;axiado&#44;ax3000&#45;gpio&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;cdns&#44;gpio&#45;r1p02&#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-4e9a371963ac013ad39d"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

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

### <code>ngpios</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-4ef4898ec8b764d69b54"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-36d4cd2652ecdcb61809"><code>32</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<div id="dt-70b20397c3c73794f833">
<pre><code>- First cell is the GPIO line number.
- Second cell is flags as defined in &lt;dt-bindings/gpio/gpio.h&gt;,
  only GPIO_ACTIVE_HIGH and GPIO_ACTIVE_LOW supported.</code></pre>
</div>

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

### <code>interrupt&#45;controller</code> — not listed as required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<div id="dt-0cc2c51365b6879fba3b">
<pre><code>- First cell is the GPIO line number used as IRQ.
- Second cell is the trigger type, as defined in
  &lt;dt-bindings/interrupt-controller/irq.h&gt;.</code></pre>
</div>

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

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>

<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;interrupt&#45;controller&#34;</code></span>

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

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

> **Required in this object (<code>required</code>):** <a id="dt-824165741bab07e919e7"></a> <span id="dt-0be16f81402541b26aff"><code>&#34;interrupts&#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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
gpio0: gpio-controller@fd060000 {
    compatible = "cdns,gpio-r1p02";
    reg = &lt;0xfd060000 0x1000&gt;;
    clocks = &lt;&amp;gpio_clk&gt;;

    interrupt-parent = &lt;&amp;gic&gt;;
    interrupts = &lt;GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH&gt;;

    gpio-controller;
    #gpio-cells = &lt;2&gt;;

    interrupt-controller;
    #interrupt-cells = &lt;2&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 OR BSD-2-Clause)</span></p>

</details>

---

# ARM Cirrus Logic CLPS711X SYSFLG1 MCTRL GPIOs

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

> Device-tree binding reference for ARM Cirrus Logic CLPS711X SYSFLG1 MCTRL GPIOs.

<!-- 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;gpio&#47;cirrus&#44;clps711x&#45;mctrl&#45;gpio&#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;Alexander Shiyan &#60;shc&#95;work&#64;mail&#46;ru&#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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5deec2612224d8d915da"><code>&#34;cirrus&#44;ep7312&#45;mctrl&#45;gpio&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;cirrus&#44;ep7209&#45;mctrl&#45;gpio&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;cirrus&#44;ep7209&#45;mctrl&#45;gpio&#34;</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#44;syscon&#45;dev</code> — not listed as required here

<div id="dt-51c7aa9529447566e619">
<p style="white-space: pre-wrap">Phandle and offset of device's specific registers within the syscon state control registers</p>
</div>

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

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

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

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

**Item 1**

> <a id="dt-58ac359f4fa2b9a7944f"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-15c7eeb6b04f3eb2b9f5"></a>
>
> **Item 1**
>
> > <div id="dt-b7504cfbf7e793d19bb8">
> > <p style="white-space: pre-wrap">phandle to syscon</p>
> > </div>
>
> <a id="dt-5fe43b357e51fe4b0386"></a>
>
> **Item 2**
>
> > <div id="dt-2cf087fdb686a80ca75b">
> > <p style="white-space: pre-wrap">register offset within state control registers</p>
> > </div>

**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;gpio&#45;controller&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;gpio&#45;cells&#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">sysgpio: sysgpio {
    compatible = "cirrus,ep7312-mctrl-gpio",
                 "cirrus,ep7209-mctrl-gpio";
    gpio-controller;
    #gpio-cells = &lt;2&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>

---

# Delta Networks TN48M CPLD GPIO controller

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

> Device-tree binding reference for Delta Networks TN48M CPLD 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;gpio&#47;delta&#44;tn48m&#45;gpio&#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;Robert Marko &#60;robert&#46;marko&#64;sartura&#46;hr&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This module is part of the Delta TN48M multi-function device. For more
details see ../mfd/delta,tn48m-cpld.yaml.</p>
<p style="white-space: pre-wrap">Delta TN48M has an onboard Lattice CPLD that is used as an GPIO expander.
It provides 12 pins in total, they are input-only or ouput-only type.</p>
</div>

<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;delta&#44;tn48m&#45;gpo&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;delta&#44;tn48m&#45;gpi&#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-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property 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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#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.

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

---

# XRA1403 16-bit GPIO Expander with Reset Input

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

> Device-tree binding reference for XRA1403 16-bit GPIO Expander with Reset Input.

<!-- 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;gpio&#47;exar&#44;xra1403&#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;Nandor Han &#60;nandor&#46;han&#64;ge&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The XRA1403 is an 16-bit GPIO expander with an SPI interface. Features available:</p>
<pre><code>  - Individually programmable inputs:
      - Internal pull-up resistors
      - Polarity inversion
      - Individual interrupt enable
      - Rising edge and/or Falling edge interrupt
      - Input filter
  - Individually programmable outputs:
      - Output Level Control
      - Output Three-State Control</code></pre>
</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;exar&#44;xra1403&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>interrupt&#45;controller</code> — not listed as required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

### <code>reset&#45;gpios</code> — not listed as required here

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">Control line for the device reset.</p>
</div>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#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>&#47;schemas&#47;spi&#47;spi&#45;peripheral&#45;props&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-spi/spi-peripheral-props.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">#include &lt;dt-bindings/gpio/gpio.h&gt;

spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    gpio@2 {
        compatible = "exar,xra1403";
        reg = &lt;2&gt;;
        spi-max-frequency = &lt;1000000&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;2&gt;;
        reset-gpios = &lt;&amp;gpio3 6 GPIO_ACTIVE_LOW&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>

---

# Generic 8-bit shift register

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

> Device-tree binding reference for Generic 8-bit shift register.

<!-- 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;gpio&#47;fairchild&#44;74hc595&#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">NOTE: These chips nominally don't have a chip select pin. They do however
have a rising-edge triggered latch clock (or storage register clock) pin,
which behaves like an active-low chip select.</p>
<pre><code>After the bits are shifted into the shift register, CS# is driven high, which
the 74HC595 sees as a rising edge on the latch clock that results in a
transfer of the bits from the shift register to the storage register and thus
to the output pins.
                    _   _       _   _
shift clock    ____| |_| |_..._| |_| |_________</code></pre>
<pre><code>latch clock                           * trigger
               ___                     ________
chip select#      |___________________|</code></pre>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Maxime Ripard &#60;mripard&#64;kernel&#46;org&#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;fairchild&#44;74hc595&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;nxp&#44;74lvc594&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

<div id="dt-70b20397c3c73794f833">
<p style="white-space: pre-wrap">The second cell is only used to specify the GPIO polarity.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>registers&#45;number</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5bd5f5649ad3edc24a43">[<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-1d52942e54b55b2304af">
<p style="white-space: pre-wrap">Number of daisy-chained shift registers</p>
</div>

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

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

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">GPIO connected to the OE (Output Enable) pin.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-3ea466d5c9323bd58f62"><code>1</code></span>

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

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

<a id="dt-2941b4b13bcf3bc13509"></a>

### <code>&#94;&#40;hog&#45;&#91;0&#45;9&#93;&#43;&#124;&#46;&#43;&#45;hog&#40;&#45;&#91;0&#45;9&#93;&#43;&#41;&#63;&#41;&#36;</code> — name matches this regular expression

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

**Required in this object (<code>required</code>):** <a id="dt-08e2e93ccfbda832756f"></a> <span id="dt-0932adcb938cd2897f50"><code>&#34;gpio&#45;hog&#34;</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;registers&#45;number&#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>&#47;schemas&#47;spi&#47;spi&#45;peripheral&#45;props&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-spi/spi-peripheral-props.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">spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    gpio5@0 {
        compatible = "fairchild,74hc595";
        reg = &lt;0&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        registers-number = &lt;4&gt;;
        spi-max-frequency = &lt;100000&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>

---

# Faraday Technology FTGPIO010 GPIO Controller

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

> Device-tree binding reference for Faraday Technology FTGPIO010 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;gpio&#47;faraday&#44;ftgpio010&#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>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5deec2612224d8d915da"><code>&#34;cortina&#44;gemini&#45;gpio&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;faraday&#44;ftgpio010&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;moxa&#44;moxart&#45;gpio&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;faraday&#44;ftgpio010&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> **Exact value (<code>const</code>):** <span id="dt-710bc579d54b8b6b1f6c"><code>&#34;faraday&#44;ftgpio010&#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-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">Should contain the interrupt line for the GPIO block</p>
</div>

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

### <code>gpio&#45;controller</code> — not listed as required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>interrupt&#45;controller</code> — required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;interrupt&#45;cells&#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">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
gpio@4d000000 {
  compatible = "cortina,gemini-gpio", "faraday,ftgpio010";
  reg = &lt;0x4d000000 0x100&gt;;
  interrupts = &lt;22 IRQ_TYPE_LEVEL_HIGH&gt;;
  gpio-controller;
  #gpio-cells = &lt;2&gt;;
  interrupt-controller;
  #interrupt-cells = &lt;2&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>

---

# GPIO driver over IMX SCU firmware API

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

> Device-tree binding reference for GPIO driver over IMX SCU firmware API.

<!-- 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;gpio&#47;fsl&#44;imx8qxp&#45;sc&#45;gpio&#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;Shenwei Wang &#60;shenwei&#46;wang&#64;nxp&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This module provides the standard interface to control the
resource pins in SCU domain on i.MX8 platforms.</p>
</div>

<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;fsl&#44;imx8qxp&#45;sc&#45;gpio&#34;</code></span>

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property 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;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#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">gpio0: gpio {
    compatible = "fsl,imx8qxp-sc-gpio";
    gpio-controller;
    #gpio-cells = &lt;2&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>

---

# Freescale MPC512x/MPC8xxx/QorIQ/Layerscape GPIO controller

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

> Device-tree binding reference for Freescale MPC512x/MPC8xxx/QorIQ/Layerscape 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;gpio&#47;fsl&#44;qoriq&#45;gpio&#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;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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;fsl&#44;mpc5121&#45;gpio&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;fsl&#44;mpc5125&#45;gpio&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;fsl&#44;mpc8314&#45;gpio&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;fsl&#44;mpc8349&#45;gpio&#34;</code></span>, <span id="dt-d29c3f554eb9a606c63a"><code>&#34;fsl&#44;mpc8572&#45;gpio&#34;</code></span>, <span id="dt-6abdfa16ccd722b794e6"><code>&#34;fsl&#44;mpc8610&#45;gpio&#34;</code></span>, <span id="dt-7775c6eae6cdca3e9809"><code>&#34;fsl&#44;pq3&#45;gpio&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;fsl&#44;ls1021a&#45;gpio&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;fsl&#44;ls1028a&#45;gpio&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;fsl&#44;ls1043a&#45;gpio&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;fsl&#44;ls1046a&#45;gpio&#34;</code></span>, <span id="dt-eb61ad381053476dae55"><code>&#34;fsl&#44;ls1088a&#45;gpio&#34;</code></span>, <span id="dt-05b29c21ca38ad337d53"><code>&#34;fsl&#44;ls2080a&#45;gpio&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;qoriq&#45;gpio&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;fsl&#44;mpc8308&#45;gpio&#34;</code></span>, <span id="dt-4f2dd487e4b2e6e79827"><code>&#34;fsl&#44;mpc8377&#45;gpio&#34;</code></span>, <span id="dt-dba59cbb664a09df0380"><code>&#34;fsl&#44;mpc8378&#45;gpio&#34;</code></span>, <span id="dt-7337bb6973adc8f5010d"><code>&#34;fsl&#44;mpc8379&#45;gpio&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;fsl&#44;mpc8349&#45;gpio&#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-c2de09e7f7fd211b679d"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;controller</code> — not listed as required here

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

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

### <code>interrupt&#45;controller</code> — not listed as required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7da1f39f1fcedec6860"><code>32</code></span>

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

### <code>little&#45;endian</code> — not listed as required here

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

<div id="dt-9666ce8a1ec52638c9b5">
<p style="white-space: pre-wrap">GPIO registers are used as little endian. If not present registers are used as big endian by default.</p>
</div>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#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">gpio@1100 {
    compatible = "fsl,mpc5125-gpio";
    reg = &lt;0x1100 0x080&gt;;
    interrupts = &lt;78 0x8&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
gpio@2300000 {
    compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
    reg = &lt;0x2300000 0x10000&gt;;
    interrupts = &lt;GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH&gt;;
    little-endian;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&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>

---

# Freescale i.MX/MXC GPIO controller

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

> Device-tree binding reference for Freescale i.MX/MXC GPIO controller.

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


<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;gpio&#47;fsl&#45;imx&#45;gpio&#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;Shawn Guo &#60;shawnguo&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sascha Hauer &#60;s&#46;hauer&#64;pengutronix&#46;de&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Fabio Estevam &#60;festevam&#64;gmail&#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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;fsl&#44;imx1&#45;gpio&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;fsl&#44;imx21&#45;gpio&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;fsl&#44;imx31&#45;gpio&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;fsl&#44;imx35&#45;gpio&#34;</code></span>, <span id="dt-d29c3f554eb9a606c63a"><code>&#34;fsl&#44;imx7d&#45;gpio&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;fsl&#44;imx27&#45;gpio&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;imx21&#45;gpio&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-b4cf31a5f463012e1429"><code>&#34;fsl&#44;imx35&#45;gpio&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;fsl&#44;imx31&#45;gpio&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> <a id="dt-a1b1c435b08c85ff96c7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4758c8f9c99bfa28b10c"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-12b3e48e4010cb944698"></a> <span id="dt-e46f645e6715baa60581"><code>&#34;fsl&#44;imx25&#45;gpio&#34;</code></span>
>
> <a id="dt-c99d921c49bf15e79633"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-9e0f2ef968dd632f09b7"><code>&#34;fsl&#44;imx35&#45;gpio&#34;</code></span>

<a id="dt-6932ba24e194ea67730d"></a>

**Rule 5**

> <a id="dt-196210d7e8a5e94e1226"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4b7c967de45ba4ead27f"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-427722b6d265dacc9449"></a> <span id="dt-3e38de7c21c96fb8ed17"><code>&#34;fsl&#44;imx50&#45;gpio&#34;</code></span>, <span id="dt-70bcbd54d6039c7aaf2b"><code>&#34;fsl&#44;imx51&#45;gpio&#34;</code></span>, <span id="dt-86255e190909da68156f"><code>&#34;fsl&#44;imx53&#45;gpio&#34;</code></span>, <span id="dt-aac8b48ada99e27f6e6d"><code>&#34;fsl&#44;imx6q&#45;gpio&#34;</code></span>, <span id="dt-f7cdb1e4e4b2902ba168"><code>&#34;fsl&#44;imx6sl&#45;gpio&#34;</code></span>, <span id="dt-4d255741ac7f402d8564"><code>&#34;fsl&#44;imx6sll&#45;gpio&#34;</code></span>, <span id="dt-b24ab9809243fbe11e64"><code>&#34;fsl&#44;imx6sx&#45;gpio&#34;</code></span>, <span id="dt-e22502167745a31d6059"><code>&#34;fsl&#44;imx6ul&#45;gpio&#34;</code></span>, <span id="dt-d98c48ce9bf7dbc2be50"><code>&#34;fsl&#44;imx7d&#45;gpio&#34;</code></span>, <span id="dt-37784001f15b34f3788e"><code>&#34;fsl&#44;imx8dxl&#45;gpio&#34;</code></span>, <span id="dt-07e0ced6433c74f20afb"><code>&#34;fsl&#44;imx8mm&#45;gpio&#34;</code></span>, <span id="dt-397b561a186d46e90ece"><code>&#34;fsl&#44;imx8mn&#45;gpio&#34;</code></span>, <span id="dt-70c34662f65b99f953f9"><code>&#34;fsl&#44;imx8mp&#45;gpio&#34;</code></span>, <span id="dt-c1e69b9b225e0d365d3f"><code>&#34;fsl&#44;imx8mq&#45;gpio&#34;</code></span>, <span id="dt-d187b517925e4438791a"><code>&#34;fsl&#44;imx8qm&#45;gpio&#34;</code></span>, <span id="dt-6e138d074f6dca0864d7"><code>&#34;fsl&#44;imx8qxp&#45;gpio&#34;</code></span>, <span id="dt-c08c9eb1445ac942add5"><code>&#34;fsl&#44;imxrt1050&#45;gpio&#34;</code></span>, <span id="dt-b250ce02b1e21b44780b"><code>&#34;fsl&#44;imxrt1170&#45;gpio&#34;</code></span>
>
> <a id="dt-caf6ce7d7f34e1e8d173"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-4a97b7e5e83d59103118"><code>&#34;fsl&#44;imx35&#45;gpio&#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-c2de09e7f7fd211b679d"></a>

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">Should be the port interrupt shared by all 32 pins, if one number.
If two numbers, the first one is the interrupt shared by low 16 pins
and the second one is for high 16 pins.</p>
</div>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>2</code></span>

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

### <code>interrupt&#45;controller</code> — required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

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

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

### <code>gpio&#45;ranges</code> — not listed as required here

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

<a id="dt-030bda573e8c53177f1a"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

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

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

<a id="dt-2941b4b13bcf3bc13509"></a>

### <code>&#94;&#40;hog&#45;&#91;0&#45;9&#93;&#43;&#124;&#46;&#43;&#45;hog&#40;&#45;&#91;0&#45;9&#93;&#43;&#41;&#63;&#41;&#36;</code> — name matches this regular expression

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

**Required in this object (<code>required</code>):** <a id="dt-08e2e93ccfbda832756f"></a> <span id="dt-0932adcb938cd2897f50"><code>&#34;gpio&#45;hog&#34;</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;gpio&#45;controller&#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">gpio0: gpio@73f84000 {
    compatible = "fsl,imx35-gpio";
    reg = &lt;0x73f84000 0x4000&gt;;
    interrupts = &lt;50 51&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&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</span></p>

</details>

---

# Fujitsu MB86S7x GPIO Controller

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

> Device-tree binding reference for Fujitsu MB86S7x 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;gpio&#47;fujitsu&#44;mb86s70&#45;gpio&#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;Jassi Brar &#60;jaswinder&#46;singh&#64;linaro&#46;org&#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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5deec2612224d8d915da"><code>&#34;socionext&#44;synquacer&#45;gpio&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;fujitsu&#44;mb86s70&#45;gpio&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;fujitsu&#44;mb86s70&#45;gpio&#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-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#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">gpio@31000000 {
    compatible = "fujitsu,mb86s70-gpio";
    reg = &lt;0x31000000 0x10000&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    clocks = &lt;&amp;clk 0 2 1&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>

---

# Common GPIO lines

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

> Device-tree binding reference for Common GPIO lines.

<!-- 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;gpio&#47;gpio&#45;consumer&#45;common&#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;Bartosz Golaszewski &#60;brgl&#64;bgdev&#46;pl&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Linus Walleij &#60;linusw&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Pay attention to using proper GPIO flag (e.g. GPIO_ACTIVE_LOW) for the GPIOs using inverted signal (e.g. RESETN).</p>
</div>

<a id="dt-865ef19e891fb9fe7b15"></a>

## Automatic schema selection (<code>select</code>)

<code>true</code>

This selection rule always matches.

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

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

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-3ea466d5c9323bd58f62"><code>1</code></span>

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">GPIO connected to the enable control pin.</p>
</div>

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

### <code>reset&#45;gpios</code> — not listed as required here

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">GPIO (or GPIOs for power sequence) connected to the device reset pin (e.g. RESET or RESETN).</p>
</div>

<a id="dt-18291f1487c1b45c6138"></a>

### <code>powerdown&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-a45b8f093ab270c66c0d"><code>1</code></span>

<div id="dt-2e6eeac1c3055c8550d6">
<p style="white-space: pre-wrap">GPIO connected to the power down pin (hardware power down or power cut, e.g. PD or PWDN).</p>
</div>

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

### <code>pwdn&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b2c025485ea156bb079e"><code>1</code></span>

<div id="dt-f0621e11c721e4faf2ac">
<p style="white-space: pre-wrap">Use powerdown-gpios</p>
</div>

**Deprecated (<code>deprecated</code>):** <span id="dt-c8ae08cbf2b9a6f9dd43"><code>true</code></span>

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

### <code>wakeup&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-daa72f51be2fed586008"><code>1</code></span>

<div id="dt-e2a9d50d054d568a473d">
<p style="white-space: pre-wrap">GPIO connected to the pin waking up the device from suspend or other power-saving modes.</p>
</div>

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

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

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b5c9dbe70762f9ad7bb5"></a> <span id="dt-d017b1b1b5a0bb01c549"><code>&#34;mmc&#45;pwrseq&#45;simple&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-a7d7e9bb152e9982ff34"></a>
> >
> > **<code>reset&#45;gpios</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-1f888e587ca627feede2"><code>1</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-35c8940241cf972ac96f"><code>32</code></span>
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-0b56c96a40292905ded0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-494e7edd25595541954c"></a>
> >
> > **<code>reset&#45;gpios</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-759d0757ef09262c090e"><code>1</code></span>

<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 OR BSD-2-Clause</span></p>

</details>

---

# GPIO controller for Davinci and keystone devices

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

> Device-tree binding reference for GPIO controller for Davinci and keystone devices.

<!-- 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;gpio&#47;gpio&#45;davinci&#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;Keerthy &#60;j&#45;keerthy&#64;ti&#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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;ti&#44;k2g&#45;gpio&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;ti&#44;am654&#45;gpio&#34;</code></span>, <span id="dt-b7d19de74fd35364d49f"><code>&#34;ti&#44;j721e&#45;gpio&#34;</code></span>, <span id="dt-6cbdeefc52e7132bc62c"><code>&#34;ti&#44;am64&#45;gpio&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;ti&#44;keystone&#45;gpio&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;ti&#44;dm6441&#45;gpio&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;ti&#44;keystone&#45;gpio&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

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

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

### <code>gpio&#45;ranges</code> — not listed as required here

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

<a id="dt-85503ea01c9afc607077"></a>

### <code>gpio&#45;reserved&#45;ranges</code> — not listed as required here

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

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

<div id="dt-f08f80c16a8648128988">
<p style="white-space: pre-wrap">strings describing the names of each gpio line.</p>
</div>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7da1f39f1fcedec6860"><code>144</code></span>

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<div id="dt-70b20397c3c73794f833">
<p style="white-space: pre-wrap">first cell is the pin number and second cell is used to specify optional parameters (unused).</p>
</div>

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

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The interrupts are specified as per the interrupt parent. Only banked or unbanked IRQs are supported at a time. If the interrupts are banked then provide list of interrupts corresponding to each bank, else provide the list of interrupts for each gpio.</p>
</div>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>100</code></span>

<a id="dt-091bdfd856c6be5d53ba"></a>

### <code>ti&#44;ngpio</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7923cd58a967e9bfba79">[<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-980b5175f6bb94e62e7b">
<p style="white-space: pre-wrap">The number of GPIO pins supported consecutively.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-b7628d090b84e81d2fdb"><code>1</code></span>

<a id="dt-115a46085b276e3a7b81"></a>

### <code>ti&#44;davinci&#45;gpio&#45;unbanked</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a6f29a797d77c0f6c354">[<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-ef35bf6c24be645376af">
<p style="white-space: pre-wrap">The number of GPIOs that have an individual interrupt line to processor.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-0c77db9d52b74e4524ee"><code>0</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;gpio&#34;</code></span>

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

### <code>interrupt&#45;controller</code> — not listed as required here

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

<a id="dt-030bda573e8c53177f1a"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

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

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

### <code>&#94;&#40;&#46;&#43;&#45;hog&#40;&#45;&#91;0&#45;9&#93;&#43;&#41;&#63;&#41;&#36;</code> — name matches this regular expression

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

**Required in this object (<code>required</code>):** <a id="dt-60f24b032382c79d795e"></a> <span id="dt-a3e4a723e048081b8fe8"><code>&#34;gpio&#45;hog&#34;</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupts&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;ti&#44;ngpio&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;ti&#44;davinci&#45;gpio&#45;unbanked&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;clocks&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;clock&#45;names&#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">#include&lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

gpio0: gpio@2603000 {
  compatible = "ti,k2g-gpio", "ti,keystone-gpio";
  reg = &lt;0x02603000 0x100&gt;;
  gpio-controller;
  #gpio-cells = &lt;2&gt;;
  interrupts = &lt;GIC_SPI 432 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 433 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 434 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 435 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 436 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 437 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 438 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 439 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 440 IRQ_TYPE_EDGE_RISING&gt;;
  interrupt-controller;
  #interrupt-cells = &lt;2&gt;;
  ti,ngpio = &lt;144&gt;;
  ti,davinci-gpio-unbanked = &lt;0&gt;;
  clocks = &lt;&amp;k2g_clks 0x001b 0x0&gt;;
  clock-names = "gpio";
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include&lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

gpio1: gpio@260bf00 {
  compatible = "ti,keystone-gpio";
  reg = &lt;0x0260bf00 0x100&gt;;
  gpio-controller;
  #gpio-cells = &lt;2&gt;;
  /* HW Interrupts mapped to GPIO pins */
  interrupts = &lt;GIC_SPI 120 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 121 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 122 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 123 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 124 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 125 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 126 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 127 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 128 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 129 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 130 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 131 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 132 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 133 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 134 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 135 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 136 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 137 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 138 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 139 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 140 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 141 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 142 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 143 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 144 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 145 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 146 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 147 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 148 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 149 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 150 IRQ_TYPE_EDGE_RISING&gt;,
               &lt;GIC_SPI 151 IRQ_TYPE_EDGE_RISING&gt;;
  clocks = &lt;&amp;clkgpio&gt;;
  clock-names = "gpio";
  ti,ngpio = &lt;32&gt;;
  ti,davinci-gpio-unbanked = &lt;32&gt;;
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">wkup_gpio0: gpio0@42110000 {
  compatible = "ti,am654-gpio", "ti,keystone-gpio";
  reg = &lt;0x42110000 0x100&gt;;
  gpio-controller;
  #gpio-cells = &lt;2&gt;;
  interrupt-parent = &lt;&amp;intr_wkup_gpio&gt;;
  interrupts = &lt;60&gt;, &lt;61&gt;, &lt;62&gt;, &lt;63&gt;;
  interrupt-controller;
  #interrupt-cells = &lt;2&gt;;
  ti,ngpio = &lt;56&gt;;
  ti,davinci-gpio-unbanked = &lt;0&gt;;
  clocks = &lt;&amp;k3_clks 59 0&gt;;
  clock-names = "gpio";
};
</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>

---

# GPIO delay controller

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

> Device-tree binding reference for GPIO delay 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;gpio&#47;gpio&#45;delay&#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;Alexander Stein &#60;linux&#64;ew&#46;tq&#45;group&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding describes an electrical setup where setting an GPIO output
is delayed by some external setup, e.g. RC circuit.</p>
<pre><code>+----------+                    +-----------+
|          |             VCC_B  |           |
|          |              |     |           |
|          | VCC_A        _     |           |
|  GPIO    |             | | R  |  Consumer |
|controller|        ___  |_|    |           |
|          |       |   |  |     |           |
|      [IOx|-------|   |--+-----|-----+     |
|          |       |___|  |     |   input   |
|          |              |     |           |
+----------+             --- C  +-----------+
                         ---
                          |
                          -
                         GND</code></pre>
<p style="white-space: pre-wrap">If the input on the consumer is controlled by an open-drain signal
attached to an RC circuit the ramp-up delay is not under control
of the GPIO controller.</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;gpio&#45;delay&#34;</code></span>

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

### <code>&#35;gpio&#45;cells</code> — required here

<div id="dt-70b20397c3c73794f833">
<p style="white-space: pre-wrap">Specifies the pin, ramp-up and ramp-down delays. The
delays are specified in microseconds.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>3</code></span>

<a id="dt-6423357510c4f559d9df"></a>

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

<div id="dt-e9a56736b9784e1b506e">
<p style="white-space: pre-wrap">Array of GPIOs which output signal change is delayed</p>
</div>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-6e02d6c73a4125d32798"><code>32</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7da1f39f1fcedec6860"><code>32</code></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;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpios&#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">#include &lt;dt-bindings/gpio/gpio.h&gt;

enable_delay: enable-delay {
    compatible = "gpio-delay";
    #gpio-cells = &lt;3&gt;;
    gpio-controller;
    gpios = &lt;&amp;gpio0 3 GPIO_ACTIVE_LOW&gt;,
            &lt;&amp;gpio3 1 GPIO_ACTIVE_HIGH&gt;;
};

consumer {
    enable-gpios = &lt;&amp;enable_delay 0 130000 30000&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>

---

# EP93xx GPIO controller

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

> Device-tree binding reference for EP93xx GPIO controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;gpio&#47;gpio&#45;ep9301&#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>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Bartosz Golaszewski &#60;brgl&#64;bgdev&#46;pl&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Nikita Shubin &#60;nikita&#46;shubin&#64;maquefel&#46;me&#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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;cirrus&#44;ep9301&#45;gpio&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;cirrus&#44;ep9302&#45;gpio&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;cirrus&#44;ep9307&#45;gpio&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;cirrus&#44;ep9312&#45;gpio&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;cirrus&#44;ep9315&#45;gpio&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;cirrus&#44;ep9301&#45;gpio&#34;</code></span>

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-4b3e7791b11b96c3db87"><code>2</code></span>

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

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

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">data register</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">direction register</p>
> </div>

<a id="dt-80d36cb915ffeff5364a"></a>

**Item 3**

> <div id="dt-5151e97c331b693ee0dd">
> <p style="white-space: pre-wrap">interrupt registers base</p>
> </div>

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

### <code>reg&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-3f2820449161ca72af98"><code>2</code></span>

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;data&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;dir&#34;</code></span>

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

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-bd78c6ffbdc5ce20feb0"><code>&#34;intr&#34;</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

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

### <code>gpio&#45;ranges</code> — not listed as required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>interrupt&#45;controller</code> — not listed as required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

### <code>interrupts</code> — not listed as required here

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

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

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

**Rule 1**

> **Maximum number of items (<code>maxItems</code>):** <span id="dt-d4cb9b72cf8692a1b90e"><code>1</code></span>

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

**Rule 2**

> <div id="dt-fd9357ab303a036f0bef">
> <p style="white-space: pre-wrap">port F has dedicated irq line for each gpio line</p>
> </div>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-9931b26a24523a1e4e2c"><code>8</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#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">gpio@80840000 {
  compatible = "cirrus,ep9301-gpio";
  reg = &lt;0x80840000 0x04&gt;,
        &lt;0x80840010 0x04&gt;,
        &lt;0x80840090 0x1c&gt;;
  reg-names = "data", "dir", "intr";
  gpio-controller;
  #gpio-cells = &lt;2&gt;;
  interrupt-controller;
  #interrupt-cells = &lt;2&gt;;
  interrupt-parent = &lt;&amp;vic1&gt;;
  interrupts = &lt;27&gt;;
};

gpio@80840004 {
  compatible = "cirrus,ep9301-gpio";
  reg = &lt;0x80840004 0x04&gt;,
        &lt;0x80840014 0x04&gt;,
        &lt;0x808400ac 0x1c&gt;;
  reg-names = "data", "dir", "intr";
  gpio-controller;
  #gpio-cells = &lt;2&gt;;
  interrupt-controller;
  #interrupt-cells = &lt;2&gt;;
  interrupt-parent = &lt;&amp;vic1&gt;;
  interrupts = &lt;27&gt;;
};

gpio@80840008 {
  compatible = "cirrus,ep9301-gpio";
  reg = &lt;0x80840008 0x04&gt;,
        &lt;0x80840018 0x04&gt;;
  reg-names = "data", "dir";
  gpio-controller;
  #gpio-cells = &lt;2&gt;;
};

gpio@8084000c {
  compatible = "cirrus,ep9301-gpio";
  reg = &lt;0x8084000c 0x04&gt;,
        &lt;0x8084001c 0x04&gt;;
  reg-names = "data", "dir";
  gpio-controller;
  #gpio-cells = &lt;2&gt;;
};

gpio@80840020 {
  compatible = "cirrus,ep9301-gpio";
  reg = &lt;0x80840020 0x04&gt;,
        &lt;0x80840024 0x04&gt;;
  reg-names = "data", "dir";
  gpio-controller;
  #gpio-cells = &lt;2&gt;;
};

gpio@80840030 {
  compatible = "cirrus,ep9301-gpio";
  reg = &lt;0x80840030 0x04&gt;,
        &lt;0x80840034 0x04&gt;,
        &lt;0x8084004c 0x1c&gt;;
  reg-names = "data", "dir", "intr";
  gpio-controller;
  #gpio-cells = &lt;2&gt;;
  interrupt-controller;
  #interrupt-cells = &lt;2&gt;;
  interrupts-extended = &lt;&amp;vic0 19&gt;, &lt;&amp;vic0 20&gt;,
                        &lt;&amp;vic0 21&gt;, &lt;&amp;vic0 22&gt;,
                        &lt;&amp;vic1 15&gt;, &lt;&amp;vic1 16&gt;,
                        &lt;&amp;vic1 17&gt;, &lt;&amp;vic1 18&gt;;
};

gpio@80840038 {
  compatible = "cirrus,ep9301-gpio";
  reg = &lt;0x80840038 0x04&gt;,
        &lt;0x8084003c 0x04&gt;;
  reg-names = "data", "dir";
  gpio-controller;
  #gpio-cells = &lt;2&gt;;
};

gpio@80840040 {
  compatible = "cirrus,ep9301-gpio";
  reg = &lt;0x80840040 0x04&gt;,
        &lt;0x80840044 0x04&gt;;
  reg-names = "data", "dir";
  gpio-controller;
  #gpio-cells = &lt;2&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 OR BSD-2-Clause)</span></p>

</details>

---

# GPIO latch controller

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

> Device-tree binding reference for GPIO latch 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;gpio&#47;gpio&#45;latch&#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;Sascha Hauer &#60;s&#46;hauer&#64;pengutronix&#46;de&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding describes a GPIO multiplexer based on latches connected to
other GPIOs, like this:</p>
<pre><code>CLK0 ----------------------.        ,--------.
CLK1 -------------------.  `--------|&gt;    #0 |
                        |           |        |
OUT0 ----------------+--|-----------|D0    Q0|-----|&lt;
OUT1 --------------+-|--|-----------|D1    Q1|-----|&lt;
OUT2 ------------+-|-|--|-----------|D2    Q2|-----|&lt;
OUT3 ----------+-|-|-|--|-----------|D3    Q3|-----|&lt;
OUT4 --------+-|-|-|-|--|-----------|D4    Q4|-----|&lt;
OUT5 ------+-|-|-|-|-|--|-----------|D5    Q5|-----|&lt;
OUT6 ----+-|-|-|-|-|-|--|-----------|D6    Q6|-----|&lt;
OUT7 --+-|-|-|-|-|-|-|--|-----------|D7    Q7|-----|&lt;
       | | | | | | | |  |           `--------'
       | | | | | | | |  |
       | | | | | | | |  |           ,--------.
       | | | | | | | |  `-----------|&gt;    #1 |
       | | | | | | | |              |        |
       | | | | | | | `--------------|D0    Q0|-----|&lt;
       | | | | | | `----------------|D1    Q1|-----|&lt;
       | | | | | `------------------|D2    Q2|-----|&lt;
       | | | | `--------------------|D3    Q3|-----|&lt;
       | | | `----------------------|D4    Q4|-----|&lt;
       | | `------------------------|D5    Q5|-----|&lt;
       | `--------------------------|D6    Q6|-----|&lt;
       `----------------------------|D7    Q7|-----|&lt;
                                    `--------'</code></pre>
<p style="white-space: pre-wrap">The number of clk-gpios and latched-gpios is not fixed. The actual number
of number of latches and the number of inputs per latch is derived from
the number of GPIOs given in the corresponding device tree properties.</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;gpio&#45;latch&#34;</code></span>

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-80780c9d9a3250a064bb"></a>

### <code>clk&#45;gpios</code> — required here

<div id="dt-a796ee902eb141bcb870">
<p style="white-space: pre-wrap">Array of GPIOs to be used to clock a latch</p>
</div>

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

### <code>latched&#45;gpios</code> — required here

<div id="dt-796c69576bed93febf74">
<p style="white-space: pre-wrap">Array of GPIOs to be used as inputs per latch</p>
</div>

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

### <code>setup&#45;duration&#45;ns</code> — not listed as required here

<div id="dt-d1e2847cf16a085ba96a">
<p style="white-space: pre-wrap">Delay in nanoseconds to wait after the latch inputs have been set up</p>
</div>

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

### <code>clock&#45;duration&#45;ns</code> — not listed as required here

<div id="dt-07f8fc70a5cda1c17e97">
<p style="white-space: pre-wrap">Delay in nanoseconds to wait between clock output changes</p>
</div>

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

### <code>gpio&#45;controller</code> — required here

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

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</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-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clk&#45;gpios&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;latched&#45;gpios&#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">gpio-latch {
    #gpio-cells = &lt;2&gt;;
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;pinctrl_di_do_leds&gt;;
    compatible = "gpio-latch";
    gpio-controller;
    setup-duration-ns = &lt;100&gt;;
    clock-duration-ns = &lt;100&gt;;

    clk-gpios = &lt;&amp;gpio3 7 0&gt;, &lt;&amp;gpio3 8 0&gt;;
    latched-gpios = &lt;&amp;gpio3 21 0&gt;, &lt;&amp;gpio3 22 0&gt;,
                   &lt;&amp;gpio3 23 0&gt;, &lt;&amp;gpio3 24 0&gt;,
                   &lt;&amp;gpio3 25 0&gt;, &lt;&amp;gpio3 26 0&gt;,
                   &lt;&amp;gpio3 27 0&gt;, &lt;&amp;gpio3 28 0&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>

---

# GPIO line mux

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

> Device-tree binding reference for GPIO line mux.

<!-- 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;gpio&#47;gpio&#45;line&#45;mux&#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;Jonas Jelonek &#60;jelonek&#46;jonas&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">A GPIO controller to provide virtual GPIOs for a 1-to-many input-only mapping
backed by a single shared GPIO and a multiplexer. A simple illustrated
example is:</p>
<pre><code>          +----- A
  IN     /
  &lt;-----o------- B
      / |\
      | | +----- C
      | |  \
      | |   +--- D
      | |
     M1 M0</code></pre>
<pre><code>  MUX CONTROL</code></pre>
<pre><code>   M1 M0   IN
    0  0   A
    0  1   B
    1  0   C
    1  1   D</code></pre>
<p style="white-space: pre-wrap">This can be used in case a real GPIO is connected to multiple inputs and
controlled by a multiplexer, and another subsystem/driver does not work
directly with the multiplexer subsystem.</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;gpio&#45;line&#45;mux&#34;</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;line&#45;mux&#45;states</code> — required here

<div id="dt-0cdaed0a2919be39b48b">
<p style="white-space: pre-wrap">Mux states corresponding to the virtual GPIOs.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-589cdc09edb119dc2942">[<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>

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

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

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

### <code>mux&#45;controls</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-6769132732c5fe337979"><code>1</code></span>

<div id="dt-31599b5d414641e76da0">
<p style="white-space: pre-wrap">Phandle to the multiplexer to control access to the GPIOs.</p>
</div>

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

### <code>ngpios</code> — not listed as required here

<code>false</code> — Not permitted by this property rule.

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

### <code>muxed&#45;gpios</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d2860f98bd83151106c7"><code>1</code></span>

<div id="dt-1f887f1b0a921d92b32d">
<p style="white-space: pre-wrap">GPIO which is the '1' in 1-to-many and is shared by the virtual GPIOs and controlled via the mux.</p>
</div>

**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;gpio&#45;controller&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;line&#45;mux&#45;states&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;mux&#45;controls&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;muxed&#45;gpios&#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">#include &lt;dt-bindings/gpio/gpio.h&gt;
#include &lt;dt-bindings/mux/mux.h&gt;

sfp_gpio_mux: mux-controller-1 {
    compatible = "gpio-mux";
    mux-gpios = &lt;&amp;gpio0 0 GPIO_ACTIVE_HIGH&gt;,
                &lt;&amp;gpio0 1 GPIO_ACTIVE_HIGH&gt;;
    #mux-control-cells = &lt;0&gt;;
    idle-state = &lt;MUX_IDLE_AS_IS&gt;;
};

sfp1_gpio: sfp-gpio-1 {
    compatible = "gpio-line-mux";
    gpio-controller;
    #gpio-cells = &lt;2&gt;;

    mux-controls = &lt;&amp;sfp_gpio_mux&gt;;
    muxed-gpios = &lt;&amp;gpio0 2 GPIO_ACTIVE_HIGH&gt;;

    gpio-line-mux-states = &lt;0&gt;, &lt;1&gt;, &lt;3&gt;;
};

sfp1: sfp-p1 {
    compatible = "sff,sfp";

    i2c-bus = &lt;&amp;sfp1_i2c&gt;;
    los-gpios = &lt;&amp;sfp1_gpio 0 GPIO_ACTIVE_HIGH&gt;;
    mod-def0-gpios = &lt;&amp;sfp1_gpio 1 GPIO_ACTIVE_LOW&gt;;
    tx-fault-gpios = &lt;&amp;sfp1_gpio 2 GPIO_ACTIVE_HIGH&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>

---

# Generic MMIO GPIO

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

> Device-tree binding reference for Generic MMIO GPIO.

<!-- 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;gpio&#47;gpio&#45;mmio&#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>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Bartosz Golaszewski &#60;brgl&#64;bgdev&#46;pl&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Some simple GPIO controllers may consist of a single data register or a pair of set/clear-bit registers. Such controllers are common for glue logic in FPGAs or ASICs. Commonly, these controllers are accessed over memory-mapped NAND-style parallel busses.</p>
</div>

<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;brcm&#44;bcm6345&#45;gpio&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;intel&#44;ixp4xx&#45;expansion&#45;bus&#45;mmio&#45;gpio&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ni&#44;169445&#45;nand&#45;gpio&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;opencores&#44;gpio&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;wd&#44;mbl&#45;gpio&#34;</code></span>

<a id="dt-319a1197721d8cd4e338"></a>

### <code>big&#45;endian</code> — not listed as required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

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

### <code>little&#45;endian</code> — not listed as required here

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

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

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

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">A list of registers in the controller. The width of each register is determined by its size. All registers must have the same width. The number of GPIOs is set by the width, with bit 0 corresponding to GPIO 0, unless the ngpios property further restricts the number of used lines.</p>
</div>

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

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

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">Register to READ the value of the GPIO lines. If GPIO line is high, the bit will be set. If the GPIO line is low, the bit will be cleared. This register may also be used to drive GPIOs if the SET register is omitted.</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">Register to SET the value of the GPIO lines. Setting a bit in this register will drive the GPIO line high.</p>
> </div>

<a id="dt-80d36cb915ffeff5364a"></a>

**Item 3**

> <div id="dt-5151e97c331b693ee0dd">
> <p style="white-space: pre-wrap">Register to CLEAR the value of the GPIO lines. Setting a bit in this register will drive the GPIO line low. If this register is omitted, the SET register will be used to clear the GPIO lines as well, by actively writing the line with 0.</p>
> </div>

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

**Item 4**

> <div id="dt-e7b71b4619e949c538b1">
> <p style="white-space: pre-wrap">Register to set the line as OUTPUT. Setting a bit in this register will turn that line into an output line. Conversely, clearing a bit will turn that line into an input.</p>
> </div>

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

**Item 5**

> <div id="dt-9034b08616e8a84a1200">
> <p style="white-space: pre-wrap">Register to set this line as INPUT. Setting a bit in this register will turn that line into an input line. Conversely, clearing a bit will turn that line into an output.</p>
> </div>

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

### <code>reg&#45;names</code> — required here

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-58a7d566e1c7a6b0e414"><code>5</code></span>

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

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

> **Allowed values (<code>enum</code>):** <a id="dt-ac696420caa6496e1958"></a> <span id="dt-4e7351f724ec96f3fd6e"><code>&#34;dat&#34;</code></span>, <span id="dt-804ff64a0e610fe7b5a6"><code>&#34;set&#34;</code></span>, <span id="dt-3a931cbdb4213571ebde"><code>&#34;clr&#34;</code></span>, <span id="dt-efefb5dfabb6b4a258f0"><code>&#34;dirout&#34;</code></span>, <span id="dt-f1db535c0f128459383d"><code>&#34;dirin&#34;</code></span>

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

### <code>native&#45;endian</code> — not listed as required here

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

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

### <code>ngpios</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-4ef4898ec8b764d69b54"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-36d4cd2652ecdcb61809"><code>63</code></span>

<div id="dt-4e60045f2efa1256c93d">
<p style="white-space: pre-wrap">If this property is present the number of usable GPIO lines are restricted to the first 0 .. ngpios lines. This is useful when the GPIO MMIO register has 32 bits for GPIO but only the first 12 are actually connected to real electronics, and then we set ngpios to 12.</p>
</div>

<a id="dt-820ba792da11f9d95bb4"></a>

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

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

<div id="dt-ee8cb4c7839603050ff3">
<p style="white-space: pre-wrap">If this property is present, the controller cannot drive the GPIO lines.</p>
</div>

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

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

> <a id="dt-0c7b6d12024f922c1b96"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-824fdc441f7c94ae56ca"></a>
>
> #### <code>compatible</code> — not listed as required here
>
> <a id="dt-8239149d6c8b0a5dabbe"></a>
>
> **Rule for matching array elements (<code>contains</code>)**
>
> > **Exact value (<code>const</code>):** <span id="dt-0259836b095562054cc8"><code>&#34;intel&#44;ixp4xx&#45;expansion&#45;bus&#45;mmio&#45;gpio&#34;</code></span>

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

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

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fc757682b7974f847c53">[<code>&#47;schemas&#47;memory&#45;controllers&#47;intel&#44;ixp4xx&#45;expansion&#45;peripheral&#45;props&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-memory-controllers/intel-ixp4xx-expansion-peripheral-props.md#dt-root>)</span>

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

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

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

### <code>&#94;&#46;&#43;&#45;hog&#40;&#45;&#91;0&#45;9&#93;&#43;&#41;&#63;&#36;</code> — name matches this regular expression

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

**Required in this object (<code>required</code>):** <a id="dt-46360908e21a7be6fd22"></a> <span id="dt-42adc5f4a97d7358bd2b"><code>&#34;gpio&#45;hog&#34;</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;gpio&#45;controller&#34;</code></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">gpio@1f300010 {
  compatible = "ni,169445-nand-gpio";
  reg = &lt;0x1f300010 0x4&gt;;
  reg-names = "dat";
  gpio-controller;
  #gpio-cells = &lt;2&gt;;
};

gpio@e0100000 {
  compatible = "wd,mbl-gpio";
  reg-names = "dat";
  reg = &lt;0xe0100000 0x1&gt;;
  #gpio-cells = &lt;2&gt;;
  gpio-controller;
  no-output;
};

gpio@fffe0406 {
  compatible = "brcm,bcm6345-gpio";
  reg-names = "dirout", "dat";
  reg = &lt;0xfffe0406 2&gt;, &lt;0xfffe040a 2&gt;;
  ngpios = &lt;15&gt;;
  native-endian;
  gpio-controller;
  #gpio-cells = &lt;2&gt;;
};

bus@c4000000 {
    compatible = "intel,ixp42x-expansion-bus-controller", "syscon";
    reg = &lt;0xc4000000 0x30&gt;;
    native-endian;
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;1&gt;;
    ranges = &lt;0 0x0 0x50000000 0x01000000&gt;;
    dma-ranges = &lt;0 0x0 0x50000000 0x01000000&gt;;
    gpio@1,0 {
        compatible = "intel,ixp4xx-expansion-bus-mmio-gpio";
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        big-endian;
        reg = &lt;1 0x00000000 0x2&gt;;
        reg-names = "dat";
        intel,ixp4xx-eb-write-enable = &lt;1&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>

<p id="dt-comment-1"><strong>Line 26:</strong> <span> Western Digital MyBook Live memory-mapped GPIO controller</span></p>

</details>

---

# Marvell EBU GPIO controller

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

> Device-tree binding reference for Marvell EBU 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;gpio&#47;gpio&#45;mvebu&#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;Thomas Petazzoni &#60;thomas&#46;petazzoni&#64;free&#45;electrons&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Andrew Lunn &#60;andrew&#64;lunn&#46;ch&#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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;marvell&#44;armada&#45;8k&#45;gpio&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;marvell&#44;orion&#45;gpio&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;marvell&#44;mv78200&#45;gpio&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;marvell&#44;armada&#45;370&#45;gpio&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;marvell&#44;orion&#45;gpio&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <div id="dt-34ebc3371373135d1528">
> <p style="white-space: pre-wrap">Deprecated binding</p>
> </div>
>
> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-b4cf31a5f463012e1429"><code>&#34;marvell&#44;armadaxp&#45;gpio&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;marvell&#44;orion&#45;gpio&#34;</code></span>
>
> **Deprecated (<code>deprecated</code>):** <span id="dt-0ced5c7fccd8fc640f58"><code>true</code></span>

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

### <code>reg</code> — not listed as required here

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">Address and length of the register set for the device. Not used for
marvell,armada-8k-gpio.</p>
<p style="white-space: pre-wrap">A second entry can be provided, for the PWM function using the GPIO Blink
Counter on/off registers.</p>
</div>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>2</code></span>

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

### <code>reg&#45;names</code> — not listed as required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;gpio&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;pwm&#34;</code></span>

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

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

### <code>offset</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-37e0434874d87a55cbed">[<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-dca739480f21ed1e1b3c">
<p style="white-space: pre-wrap">Offset in the register map for the gpio registers (in bytes)</p>
</div>

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

### <code>interrupts</code> — not listed as required here

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The list of interrupts that are used for all the pins managed by this
GPIO bank. There can be more than one interrupt (example: 1 interrupt
per 8 pins on Armada XP, which means 4 interrupts per bank of 32
GPIOs).</p>
</div>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>4</code></span>

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

### <code>interrupt&#45;controller</code> — not listed as required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

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

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

**Minimum value (<code>minimum</code>):** <span id="dt-4ef4898ec8b764d69b54"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-36d4cd2652ecdcb61809"><code>32</code></span>

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;ranges</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74b20707a956c3d42e77"><code>1</code></span>

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

### <code>marvell&#44;pwm&#45;offset</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ca8e4051fc8ced7a601b">[<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-055ef6b4f3cd6d490ec1">
<p style="white-space: pre-wrap">Offset in the register map for the pwm registers (in bytes)</p>
</div>

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

### <code>&#35;pwm&#45;cells</code> — not listed as required here

<div id="dt-6a685dbe2fd3b9ff2761">
<p style="white-space: pre-wrap">The first cell is the GPIO line number. The second cell is the period in nanoseconds.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-4552d6b6103babdf0959"><code>2</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">Clock(s) used for PWM function.</p>
</div>

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Core clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">AXI bus clock</p>
> </div>

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

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;core&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;axi&#34;</code></span>

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

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

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

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

### <code>&#94;&#40;&#46;&#43;&#45;hog&#40;&#45;&#91;0&#45;9&#93;&#43;&#41;&#63;&#41;&#36;</code> — name matches this regular expression

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

**Required in this object (<code>required</code>):** <a id="dt-60f24b032382c79d795e"></a> <span id="dt-a3e4a723e048081b8fe8"><code>&#34;gpio&#45;hog&#34;</code></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;gpio&#45;controller&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;ngpios&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>

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

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

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;marvell&#44;armada&#45;8k&#45;gpio&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-b0b2f2243ff9a854f151"></a> <span id="dt-4e9ead0e861b67997dec"><code>&#34;offset&#34;</code></span>
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-9f814971a49b2b16029a"></a> <span id="dt-37139fbd463ab3b18082"><code>&#34;reg&#34;</code></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">gpio@d0018100 {
  compatible = "marvell,armadaxp-gpio", "marvell,orion-gpio";
  reg = &lt;0xd0018100 0x40&gt;, &lt;0xd0018800 0x30&gt;;
  ngpios = &lt;32&gt;;
  gpio-controller;
  #gpio-cells = &lt;2&gt;;
  interrupt-controller;
  #interrupt-cells = &lt;2&gt;;
  interrupts = &lt;16&gt;, &lt;17&gt;, &lt;18&gt;, &lt;19&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">gpio@18140 {
  compatible = "marvell,armada-370-gpio", "marvell,orion-gpio";
  reg = &lt;0x18140 0x40&gt;, &lt;0x181c8 0x08&gt;;
  reg-names = "gpio", "pwm";
  ngpios = &lt;17&gt;;
  gpio-controller;
  #gpio-cells = &lt;2&gt;;
  #pwm-cells = &lt;2&gt;;
  interrupt-controller;
  #interrupt-cells = &lt;2&gt;;
  interrupts = &lt;87&gt;, &lt;88&gt;, &lt;89&gt;;
  clocks = &lt;&amp;coreclk 0&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>

---

# Freescale MXS GPIO controller

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

> Device-tree binding reference for Freescale MXS 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;gpio&#47;gpio&#45;mxs&#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;Shawn Guo &#60;shawnguo&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Freescale MXS GPIO controller is part of MXS PIN controller.
The GPIOs are organized in port/bank, each port consists of 32 GPIOs.
As the GPIO controller is embedded in the PIN controller and all the
GPIO ports share the same IO space with PIN controller, the GPIO node
will be represented as sub-nodes of MXS pinctrl node.</p>
</div>

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

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

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

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

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

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

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

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-851ace07a50c83495949"></a> <span id="dt-63b688f2ccd82724cb8f"><code>&#34;fsl&#44;imx23&#45;pinctrl&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;fsl&#44;imx28&#45;pinctrl&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;simple&#45;bus&#34;</code></span>

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

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</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-83994a925ba8ba64fb7e"></a>

### <code>&#94;&#40;&#63;&#33;gpio&#64;&#41;&#91;&#94;&#64;&#93;&#43;&#64;&#91;0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

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

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

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

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

**<code>fsl&#44;pinmux&#45;ids</code> — required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e0c57e76679a85950173">[<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-7f429313809492904696">
<p style="white-space: pre-wrap">An integer array.  Each integer in the array specify a pin
with given mux function, with bank, pin and mux packed as below.</p>
<p style="white-space: pre-wrap">[15..12] : bank number
[11..4]  : pin number
[3..0]   : mux selection</p>
<p style="white-space: pre-wrap">This integer with mux selection packed is used as an entity by both group
and config nodes to identify a pin.  The mux selection in the integer takes
effects only on group node, and will get ignored by driver with config node,
since config node is only meant to set up pin configurations.</p>
<p style="white-space: pre-wrap">Valid values for these integers are listed below.</p>
</div>

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

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

<a id="dt-006057d0e56a420cdbf8"></a>

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

<a id="dt-183b5b31c06311e0cb18"></a>

**Item 1**

> <div id="dt-06240ab61a91951f262a">
> <p style="white-space: pre-wrap">pin group index. NOTE: it is supposed wrong use reg property
> here. But it is over 10 years devices. Just keep it as it.</p>
> </div>

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1251019e8e77d6174a69">[<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-a44220edda986cd5d932"></a> <span id="dt-bab574d1f4f162c8b1dc"><code>0</code></span>, <span id="dt-640ff7b0ed92928a981b"><code>1</code></span>, <span id="dt-db62f57504e5ffa5d666"><code>2</code></span>, <span id="dt-e82731bf8ad5215d228e"><code>3</code></span>

<div id="dt-182adcffd098e4667240">
<p style="white-space: pre-wrap">0: MXS_DRIVE_4mA
1: MXS_DRIVE_8mA
2: MXS_DRIVE_12mA
3: MXS_DRIVE_16mA</p>
</div>

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

**<code>fsl&#44;voltage</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-159806558bb053a44c75">[<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-9360778947aae3c4a699"></a> <span id="dt-0febd5f841341cbb943f"><code>0</code></span>, <span id="dt-e911f5de6f289aedab62"><code>1</code></span>

<div id="dt-28655974ac458d4cb702">
<p style="white-space: pre-wrap">0: MXS_VOLTAGE_LOW  - 1.8 V
1: MXS_VOLTAGE_HIGH - 3.3 V</p>
</div>

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b4553086f7ed71940907">[<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-1e05d9622e77c82e3aac"></a> <span id="dt-7af4d69169bd78043c4f"><code>0</code></span>, <span id="dt-86c10d9ce3f5c268eb8d"><code>1</code></span>

<div id="dt-397f03f26bd622eda926">
<p style="white-space: pre-wrap">0: MXS_PULL_DISABLE - Disable the internal pull-up
1: MXS_PULL_ENABLE  - Enable the internal pull-up</p>
<p style="white-space: pre-wrap">Note that when enabling the pull-up, the internal pad keeper gets disabled.
Also, some pins doesn't have a pull up, in that case, setting the fsl,pull-up
will only disable the internal pad keeper.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-6af34c4296af9eb92f45"></a> <span id="dt-95d5dd9a521dc93bcb1a"><code>&#34;fsl&#44;pinmux&#45;ids&#34;</code></span>

<a id="dt-ce6329142ed3f23d19fb"></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-29d1f8ae118096eae5ea"></a>

### <code>&#94;gpio&#64;&#91;0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

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

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-9ce46df67525e7176643"></a> <span id="dt-702da81e3848565a211b"><code>&#34;fsl&#44;imx23&#45;gpio&#34;</code></span>, <span id="dt-622882f058f223aaade6"><code>&#34;fsl&#44;imx28&#45;gpio&#34;</code></span>

<a id="dt-010f86129f0042e38ee5"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-f8593f8edc26148fca45"><code>1</code></span>

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

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

<div id="dt-3b038ac5f999b407e7f9">
<p style="white-space: pre-wrap">Should be the port interrupt shared by all 32 pins.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-183709aa17d6eac5f43d"><code>1</code></span>

<a id="dt-279c4b358b9b0571c68c"></a>

**<code>interrupt&#45;controller</code> — required here**

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

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

**<code>&#35;interrupt&#45;cells</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-791a83037d5240f72271"><code>2</code></span>

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

**<code>&#35;gpio&#45;cells</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-1203dc3676b5f49eb05c"><code>2</code></span>

<a id="dt-015e4aaebc38a79db9d4"></a>

**<code>gpio&#45;controller</code> — required here**

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

**Required in this object (<code>required</code>):** <a id="dt-4ee57f353965d8ac2f20"></a> <span id="dt-ef5448b8ef54313792eb"><code>&#34;compatible&#34;</code></span>, <span id="dt-5c7f8098e98bdf9c4c76"><code>&#34;reg&#34;</code></span>, <span id="dt-397a3aa6d6367bbbcd49"><code>&#34;interrupts&#34;</code></span>, <span id="dt-bb73d43d92203e1aa951"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-722645ee4bc94cb96cca"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-7c24bd9e658a1b5fa94b"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-08e7cb72eaadc9c24f86"><code>&#34;gpio&#45;controller&#34;</code></span>

<a id="dt-8b04a3fac49f02a5e39b"></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#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@80018000 {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    compatible = "fsl,imx28-pinctrl", "simple-bus";
    reg = &lt;0x80018000 0x2000&gt;;

    gpio@0 {
        compatible = "fsl,imx28-gpio";
        reg = &lt;0&gt;;
        interrupts = &lt;127&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;2&gt;;
    };

    gpio@1 {
        compatible = "fsl,imx28-gpio";
        reg = &lt;1&gt;;
        interrupts = &lt;126&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;2&gt;;
    };

    gpio@2 {
        compatible = "fsl,imx28-gpio";
        reg = &lt;2&gt;;
        interrupts = &lt;125&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;2&gt;;
    };

    gpio@3 {
        compatible = "fsl,imx28-gpio";
        reg = &lt;3&gt;;
        interrupts = &lt;124&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;2&gt;;
    };

    gpio@4 {
        compatible = "fsl,imx28-gpio";
        reg = &lt;4&gt;;
        interrupts = &lt;123&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;2&gt;;
    };

    lcdif-apx4@5 {
        reg = &lt;5&gt;;
        fsl,pinmux-ids = &lt;0x1181 0x1191&gt;;
        fsl,drive-strength = &lt;0&gt;;
        fsl,voltage = &lt;0&gt;;
        fsl,pull-up = &lt;0&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>

<p id="dt-comment-1"><strong>Line 25:</strong> <span> Over 10 years old devices, driver use simple-bus to probe child gpio</span></p>

<p id="dt-comment-2"><strong>Line 26:</strong> <span> Devices. Keep it as it to be compatible existed dts files.</span></p>

</details>

---

# NXP PCA95xx I2C GPIO multiplexer

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

> Device-tree binding reference for NXP PCA95xx I2C GPIO multiplexer.

<!-- 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;gpio&#47;gpio&#45;pca95xx&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Bindings for the family of I2C GPIO multiplexers/expanders: NXP PCA95xx,
Maxim MAX73xx</p>
</div>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5deec2612224d8d915da"><code>&#34;toradex&#44;ecgpiol16&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;nxp&#44;pcal6416&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;diodes&#44;pi4ioe5v6534q&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nxp&#44;pcal6534&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;exar&#44;xra1202&#34;</code></span>, <span id="dt-4f2dd487e4b2e6e79827"><code>&#34;maxim&#44;max7310&#34;</code></span>, <span id="dt-dba59cbb664a09df0380"><code>&#34;maxim&#44;max7312&#34;</code></span>, <span id="dt-7337bb6973adc8f5010d"><code>&#34;maxim&#44;max7313&#34;</code></span>, <span id="dt-2a4824de128057522b89"><code>&#34;maxim&#44;max7315&#34;</code></span>, <span id="dt-9d0b7e5fcd963b685b0d"><code>&#34;maxim&#44;max7319&#34;</code></span>, <span id="dt-53e062f93be7aa5d7bb3"><code>&#34;maxim&#44;max7320&#34;</code></span>, <span id="dt-6bdd021aae4cd71c629b"><code>&#34;maxim&#44;max7321&#34;</code></span>, <span id="dt-f0a41fb0ccb86c57a4ce"><code>&#34;maxim&#44;max7322&#34;</code></span>, <span id="dt-5697b2b922b4810e5e2a"><code>&#34;maxim&#44;max7323&#34;</code></span>, <span id="dt-ae3ba9ea351c25bd7b93"><code>&#34;maxim&#44;max7324&#34;</code></span>, <span id="dt-4734b2dd6b7318b3e978"><code>&#34;maxim&#44;max7325&#34;</code></span>, <span id="dt-0ea3c2d1e0b267d84ab3"><code>&#34;maxim&#44;max7326&#34;</code></span>, <span id="dt-7f00b95f2d3c295a0049"><code>&#34;maxim&#44;max7327&#34;</code></span>, <span id="dt-3176f85ab166789fe4e6"><code>&#34;nxp&#44;pca6408&#34;</code></span>, <span id="dt-30fb157dcf725c0afab8"><code>&#34;nxp&#44;pca6416&#34;</code></span>, <span id="dt-f194a1411ab4124e75a8"><code>&#34;nxp&#44;pca9505&#34;</code></span>, <span id="dt-d89dd113d5c4031c61af"><code>&#34;nxp&#44;pca9506&#34;</code></span>, <span id="dt-704eae77fb25a5f5ad63"><code>&#34;nxp&#44;pca9534&#34;</code></span>, <span id="dt-06331495d52910ec2b97"><code>&#34;nxp&#44;pca9535&#34;</code></span>, <span id="dt-c7e3efa1245fe6ff9391"><code>&#34;nxp&#44;pca9536&#34;</code></span>, <span id="dt-027648c4cd9b5b2349d5"><code>&#34;nxp&#44;pca9537&#34;</code></span>, <span id="dt-51658c836fd1c3955ceb"><code>&#34;nxp&#44;pca9538&#34;</code></span>, <span id="dt-5503d9340eccdc9c20b6"><code>&#34;nxp&#44;pca9539&#34;</code></span>, <span id="dt-c639c839901f7afa8eb1"><code>&#34;nxp&#44;pca9554&#34;</code></span>, <span id="dt-327cf2f239d48dc26309"><code>&#34;nxp&#44;pca9555&#34;</code></span>, <span id="dt-a1e19d348f7d1cd2542c"><code>&#34;nxp&#44;pca9556&#34;</code></span>, <span id="dt-161a7d8271084049e403"><code>&#34;nxp&#44;pca9557&#34;</code></span>, <span id="dt-4985c3d85cf7cbc0e8c3"><code>&#34;nxp&#44;pca9574&#34;</code></span>, <span id="dt-27408b5223c7723898cc"><code>&#34;nxp&#44;pca9575&#34;</code></span>, <span id="dt-fd482cd39957fc459753"><code>&#34;nxp&#44;pca9698&#34;</code></span>, <span id="dt-012a048eaa9911083af9"><code>&#34;nxp&#44;pcal6408&#34;</code></span>, <span id="dt-3cbdb076388dea00a3c8"><code>&#34;nxp&#44;pcal6416&#34;</code></span>, <span id="dt-bb18442623c7c0bad3dc"><code>&#34;nxp&#44;pcal6524&#34;</code></span>, <span id="dt-dc4ecd619ef4d8969891"><code>&#34;nxp&#44;pcal6534&#34;</code></span>, <span id="dt-d9d06734f2b5403dc218"><code>&#34;nxp&#44;pcal9535&#34;</code></span>, <span id="dt-3fbb337f095fd3f25120"><code>&#34;nxp&#44;pcal9554b&#34;</code></span>, <span id="dt-e998fc82a062f4c3bcba"><code>&#34;nxp&#44;pcal9555a&#34;</code></span>, <span id="dt-3a51750f48a6822240a9"><code>&#34;onnn&#44;cat9554&#34;</code></span>, <span id="dt-0eb8a24e56e56091ecdc"><code>&#34;onnn&#44;pca9654&#34;</code></span>, <span id="dt-33b4473fdb313724b3d0"><code>&#34;ti&#44;pca6107&#34;</code></span>, <span id="dt-6fbe700e13825253c5c0"><code>&#34;ti&#44;pca9536&#34;</code></span>, <span id="dt-2d78aeba2285fceeeae7"><code>&#34;ti&#44;tca6408&#34;</code></span>, <span id="dt-e1ce0424072ddc309cf2"><code>&#34;ti&#44;tca6416&#34;</code></span>, <span id="dt-6e2bcfcedef559e7a84c"><code>&#34;ti&#44;tca6418&#34;</code></span>, <span id="dt-4211463438474c09a1ff"><code>&#34;ti&#44;tca6424&#34;</code></span>, <span id="dt-4dd45c97789611e6bbdc"><code>&#34;ti&#44;tca9535&#34;</code></span>, <span id="dt-42a2686c74734f77fe7d"><code>&#34;ti&#44;tca9538&#34;</code></span>, <span id="dt-65ee13ab2826470f62a1"><code>&#34;ti&#44;tca9539&#34;</code></span>, <span id="dt-4f69a94043873ae5ee5b"><code>&#34;ti&#44;tca9554&#34;</code></span>, <span id="dt-aa242eb81dae6e9a3ba1"><code>&#34;ti&#44;tcal6408&#34;</code></span>, <span id="dt-85756b1f17747aa459bc"><code>&#34;ti&#44;tcal6416&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7da1f39f1fcedec6860"><code>40</code></span>

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

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

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

### <code>interrupt&#45;controller</code> — not listed as required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">GPIO specification for the RESET input. This is an active low signal to the PCA953x.  Not valid for Maxim MAX732x devices.</p>
</div>

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

### <code>vcc&#45;supply</code> — not listed as required here

<div id="dt-304923183fea32e69a40">
<p style="white-space: pre-wrap">Optional power supply.  Not valid for Maxim MAX732x devices.</p>
</div>

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

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

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

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

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

<a id="dt-2941b4b13bcf3bc13509"></a>

### <code>&#94;&#40;hog&#45;&#91;0&#45;9&#93;&#43;&#124;&#46;&#43;&#45;hog&#40;&#45;&#91;0&#45;9&#93;&#43;&#41;&#63;&#41;&#36;</code> — name matches this regular expression

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

**Required in this object (<code>required</code>):** <a id="dt-08e2e93ccfbda832756f"></a> <span id="dt-0932adcb938cd2897f50"><code>&#34;gpio&#45;hog&#34;</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#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-935ee547587f3e75de61"></a>

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

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b5c9dbe70762f9ad7bb5"></a> <span id="dt-d017b1b1b5a0bb01c549"><code>&#34;maxim&#44;max7320&#34;</code></span>, <span id="dt-b1891799a94ae03bda89"><code>&#34;maxim&#44;max7321&#34;</code></span>, <span id="dt-f7ddd2674cdadacec733"><code>&#34;maxim&#44;max7322&#34;</code></span>, <span id="dt-1afa9c359b113daf77e4"><code>&#34;maxim&#44;max7323&#34;</code></span>, <span id="dt-f4184526859cd3d4f83a"><code>&#34;maxim&#44;max7324&#34;</code></span>, <span id="dt-5781a391973aa6c79186"><code>&#34;maxim&#44;max7325&#34;</code></span>, <span id="dt-a6fb5890966cb504376f"><code>&#34;maxim&#44;max7326&#34;</code></span>, <span id="dt-cda04678bfdba417244f"><code>&#34;maxim&#44;max7327&#34;</code></span>, <span id="dt-d165f90539702b545a9b"><code>&#34;toradex&#44;ecgpiol16&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-a7d7e9bb152e9982ff34"></a>
> >
> > **<code>reset&#45;gpios</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-ddb9cf96cec9ffa6c276"></a>
> >
> > **<code>vcc&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/gpio/gpio.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    gpio@20 {
        compatible = "nxp,pca9505";
        reg = &lt;0x20&gt;;
        pinctrl-names = "default";
        pinctrl-0 = &lt;&amp;pinctrl_pca9505&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        interrupt-parent = &lt;&amp;gpio3&gt;;
        interrupts = &lt;23 IRQ_TYPE_LEVEL_LOW&gt;;

        usb3-sata-sel-hog {
            gpio-hog;
            gpios = &lt;4 GPIO_ACTIVE_HIGH&gt;;
            output-low;
            line-name = "usb3_sata_sel";
        };
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    gpio99: gpio@22 {
        compatible = "nxp,pcal6524";
        reg = &lt;0x22&gt;;
        interrupt-parent = &lt;&amp;gpio6&gt;;
        interrupts = &lt;1 IRQ_TYPE_EDGE_FALLING&gt;; /* gpio6_161 */
        interrupt-controller;
        #interrupt-cells = &lt;2&gt;;
        vcc-supply = &lt;&amp;vdds_1v8_main&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        gpio-line-names = "hdmi-ct-hpd", "hdmi.ls-oe", "p02", "p03",
                          "vibra", "fault2", "p06", "p07", "en-usb",
                          "en-host1", "en-host2", "chg-int", "p14", "p15",
                          "mic-int", "en-modem", "shdn-hs-amp",
                          "chg-status+red", "green", "blue", "en-esata",
                          "fault1", "p26", "p27";
    };
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    /* MAX7325 with interrupt support enabled */
    gpio@6d {
        compatible = "maxim,max7325";
        reg = &lt;0x6d&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;2&gt;;
        interrupt-parent = &lt;&amp;gpio4&gt;;
        interrupts = &lt;29 IRQ_TYPE_EDGE_FALLING&gt;;
    };
};
</code></pre>

<pre id="dt-cf8a683b5a963eb1c566"><code class="language-dts">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    /* MAX7325 with interrupt support disabled */
    gpio@6e {
        compatible = "maxim,max7325";
        reg = &lt;0x6e&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&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>

---

# RDA Micro GPIO controller

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

> Device-tree binding reference for RDA Micro GPIO controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;gpio&#47;gpio&#45;rda&#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;Manivannan Sadhasivam &#60;manivannan&#46;sadhasivam&#64;linaro&#46;org&#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;rda&#44;8810pl&#45;gpio&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

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

<div id="dt-4e60045f2efa1256c93d">
<p style="white-space: pre-wrap">Number of available gpios in a bank.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-4ef4898ec8b764d69b54"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-36d4cd2652ecdcb61809"><code>32</code></span>

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

### <code>interrupt&#45;controller</code> — required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;ngpios&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;interrupts&#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.

## 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 OR BSD-2-Clause)</span></p>

</details>

---

# Lantiq SoC Serial To Parallel (STP) GPIO controller

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

> Device-tree binding reference for Lantiq SoC Serial To Parallel (STP) 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;gpio&#47;gpio&#45;stp&#45;xway&#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">The Serial To Parallel (STP) is found on MIPS based Lantiq socs. It is a
peripheral controller used to drive external shift register cascades. At most
3 groups of 8 bits can be driven. The hardware is able to allow the DSL modem
and Ethernet PHYs to drive some bytes of the cascade automatically.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;John Crispin &#60;john&#64;phrozen&#46;org&#62;&#34;</code></span>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;gpio&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;&#34;</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;lantiq&#44;gpio&#45;stp&#45;xway&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

<div id="dt-70b20397c3c73794f833">
<p style="white-space: pre-wrap">The first cell is the pin number and the second cell is used to specify consumer flags.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-85b4641325d59d677d16"></a>

### <code>lantiq&#44;shadow</code> — not listed as required here

<div id="dt-6612558c948cf112ccb7">
<p style="white-space: pre-wrap">The default value that we shall assume as already set on the shift register cascade.</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-a704c70599d94acba30a"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-5c9f3e10ba48038aa137"><code>16777215</code></span>

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

### <code>lantiq&#44;groups</code> — not listed as required here

<div id="dt-92b9527d8ecf625b50a2">
<p style="white-space: pre-wrap">Set the 3 bit mask to select which of the 3 groups are enabled in the shift register cascade.</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-c2f575752fd15dbf4520"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-4bc63e18f3d01fc5deb1"><code>7</code></span>

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

### <code>lantiq&#44;dsl</code> — not listed as required here

<div id="dt-5c0b3f246b4a8775a580">
<p style="white-space: pre-wrap">The dsl core can control the 2 LSBs of the gpio cascade. This 2 bit property can enable this feature.</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-1b7407f13e155dbff2d2"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-e513a4dc39dda7ba8119"><code>3</code></span>

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

### <code>lantiq&#44;rising</code> — not listed as required here

<div id="dt-6468283d96f69e4defeb">
<p style="white-space: pre-wrap">Use rising instead of falling edge for the shift register.</p>
</div>

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

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

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

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

### <code>&#94;lantiq&#44;phy&#91;1&#45;4&#93;&#36;</code> — name matches this regular expression

<div id="dt-5f481192159f618a7ba2">
<p style="white-space: pre-wrap">The gphy core can control 3 bits of the gpio cascade. In the xRX200 family phy[1-2] are available, in xRX330 phy[1-3] and in XRX330 phy[1-4].</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-b4e64d91723ac5cff771"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-fe3738e69acde1680f1a"><code>7</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#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">gpio@e100bb0 {
    compatible = "lantiq,gpio-stp-xway";
    reg = &lt;0xE100BB0 0x40&gt;;
    #gpio-cells = &lt;2&gt;;
    gpio-controller;

    pinctrl-0 = &lt;&amp;stp_pins&gt;;
    pinctrl-names = "default";

    lantiq,shadow = &lt;0xffffff&gt;;
    lantiq,groups = &lt;0x7&gt;;
    lantiq,dsl = &lt;0x3&gt;;
    lantiq,phy1 = &lt;0x7&gt;;
    lantiq,phy2 = &lt;0x7&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>

---

# Freescale VF610 PORT/GPIO module

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

> Device-tree binding reference for Freescale VF610 PORT/GPIO module.

<!-- 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;gpio&#47;gpio&#45;vf610&#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;Stefan Agner &#60;stefan&#64;agner&#46;ch&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Freescale PORT/GPIO modules are two adjacent modules providing GPIO
functionality. Each pair serves 32 GPIOs. The VF610 has 5 instances of
each, and each PORT module has its own interrupt.</p>
<p style="white-space: pre-wrap">Note: Each GPIO port should have an alias correctly numbered in "aliases"
node.</p>
</div>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;fsl&#44;imx8ulp&#45;gpio&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;fsl&#44;vf610&#45;gpio&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-b4cf31a5f463012e1429"><code>&#34;fsl&#44;imx7ulp&#45;gpio&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;fsl&#44;vf610&#45;gpio&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> <a id="dt-a1b1c435b08c85ff96c7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4758c8f9c99bfa28b10c"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-12b3e48e4010cb944698"></a> <span id="dt-e46f645e6715baa60581"><code>&#34;fsl&#44;imx93&#45;gpio&#34;</code></span>, <span id="dt-f0654d9dc65c16ce7d6a"><code>&#34;fsl&#44;imx94&#45;gpio&#34;</code></span>, <span id="dt-80bf5233c0e34928f5ac"><code>&#34;fsl&#44;imx95&#45;gpio&#34;</code></span>
>
> <a id="dt-c99d921c49bf15e79633"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-9e0f2ef968dd632f09b7"><code>&#34;fsl&#44;imx8ulp&#45;gpio&#34;</code></span>

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

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>2</code></span>

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

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

<a id="dt-985aed94c3a5de8e946a"></a>

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

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

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">GPIO Trustzone non-secure interrupt number</p>
> </div>

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

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">GPIO Trustzone secure interrupt number</p>
> </div>

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

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

### <code>interrupt&#45;controller</code> — required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7da1f39f1fcedec6860"><code>32</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">SoC GPIO clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">SoC PORT clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;gpio&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;port&#34;</code></span>

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

### <code>gpio&#45;ranges</code> — not listed as required here

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74b20707a956c3d42e77"><code>4</code></span>

<a id="dt-85503ea01c9afc607077"></a>

### <code>gpio&#45;reserved&#45;ranges</code> — not listed as required here

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

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

### <code>ngpios</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-4ef4898ec8b764d69b54"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-36d4cd2652ecdcb61809"><code>32</code></span>

**Default value (<code>default</code>):** <span id="dt-79a2457790814f19e7f7"><code>32</code></span>

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

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

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

### <code>&#94;&#46;&#43;&#45;hog&#40;&#45;&#91;0&#45;9&#93;&#43;&#41;&#63;&#36;</code> — name matches this regular expression

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

**Required in this object (<code>required</code>):** <a id="dt-46360908e21a7be6fd22"></a> <span id="dt-42adc5f4a97d7358bd2b"><code>&#34;gpio&#45;hog&#34;</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;gpio&#45;controller&#34;</code></span>

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

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

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b5c9dbe70762f9ad7bb5"></a> <span id="dt-d017b1b1b5a0bb01c549"><code>&#34;fsl&#44;vf610&#45;gpio&#34;</code></span>, <span id="dt-b1891799a94ae03bda89"><code>&#34;fsl&#44;imx7ulp&#45;gpio&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-7787b28725c144fbfc92"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-f83fd3bbdeba05802410"><code>1</code></span>
> >
> > <a id="dt-f6af340cf87a1ddfe255"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <a id="dt-47714583d986698a5277"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-51e3de466589c06bce7a"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-ee779ae571d08e44841f">
> > > <p style="white-space: pre-wrap">PORT register base address</p>
> > > </div>
> >
> > <a id="dt-87a371b9a996acf08952"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-cba7a3aa31527d4db158">
> > > <p style="white-space: pre-wrap">GPIO register base address</p>
> > > </div>
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-0b56c96a40292905ded0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-c67bbe72af985902ec8f"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-3bc3f9c58c175fd4ea15"><code>2</code></span>
> >
> > <a id="dt-b8e4772f5364b2c96f73"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <a id="dt-2260b4580435238d1bb6"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-ab56007aaae4378331d9"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-5f742a84f397e353add7">
> > > <p style="white-space: pre-wrap">GPIO register base address</p>
> > > </div>

<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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

gpio1: gpio@40049000 {
    compatible = "fsl,vf610-gpio";
    reg = &lt;0x40049000 0x1000&gt;, &lt;0x400ff000 0x40&gt;;
    interrupts = &lt;0 107 IRQ_TYPE_LEVEL_HIGH&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
    gpio-ranges = &lt;&amp;iomuxc 0 0 32&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>

---

# Virtio GPIO controller

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

> Device-tree binding reference for Virtio 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;gpio&#47;gpio&#45;virtio&#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;Viresh Kumar &#60;viresh&#46;kumar&#64;linaro&#46;org&#62;&#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>&#47;schemas&#47;virtio&#47;virtio&#45;device&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-virtio/virtio-device.md#dt-root>)</span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Virtio GPIO controller, see /schemas/virtio/virtio-device.yaml for more details.</p>
</div>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-8cca737a574136d30da2"><code>&#34;gpio&#34;</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;virtio&#44;device29&#34;</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>interrupt&#45;controller</code> — not listed as required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></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;gpio&#45;controller&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;gpio&#45;cells&#34;</code></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">virtio@3000 {
    compatible = "virtio,mmio";
    reg = &lt;0x3000 0x100&gt;;
    interrupts = &lt;41&gt;;

    gpio {
        compatible = "virtio,device29";
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;2&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>

---

# Xilinx Zynq GPIO controller

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

> Device-tree binding reference for Xilinx Zynq GPIO controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;gpio&#47;gpio&#45;zynq&#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;Michal Simek &#60;michal&#46;simek&#64;amd&#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;xlnx&#44;zynq&#45;gpio&#45;1&#46;0&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;xlnx&#44;zynqmp&#45;gpio&#45;1&#46;0&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;xlnx&#44;versal&#45;gpio&#45;1&#46;0&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;xlnx&#44;pmc&#45;gpio&#45;1&#46;0&#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-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

<div id="dt-f08f80c16a8648128988">
<p style="white-space: pre-wrap">strings describing the names of each gpio line</p>
</div>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7da1f39f1fcedec6860"><code>174</code></span>

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

### <code>interrupt&#45;controller</code> — required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

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

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

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-867fe1927430e9b33ede"></a> <span id="dt-7226965ee25a457638c7"><code>&#34;xlnx&#44;zynqmp&#45;gpio&#45;1&#46;0&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-ab2d6fc66cef201f6737"></a>
> >
> > **<code>gpio&#45;line&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-a00189271572885c2730"><code>174</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-248aae939463298b05d3"><code>174</code></span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-c0ab484bd71d0671c6ab"></a> <span id="dt-4eb87bb951292ac8d56d"><code>&#34;xlnx&#44;zynq&#45;gpio&#45;1&#46;0&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e2577cf7d36fb43d840f"></a>
> >
> > **<code>gpio&#45;line&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-3c146fa8caba23f923d3"><code>118</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-ec7cfe14718540a86fd4"><code>118</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-22249f3875646fe5ea9e"></a> <span id="dt-5632855001ed404c9e46"><code>&#34;xlnx&#44;versal&#45;gpio&#45;1&#46;0&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-6df6b5e1e70165c92ac8"></a>
> >
> > **<code>gpio&#45;line&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-fa7dad55c458d9eb9568"><code>58</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-98c3ccdc54db4b90061f"><code>58</code></span>

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

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-419957a69f31e57c7f39"></a> <span id="dt-69c17dc0986a7dcb908e"><code>&#34;xlnx&#44;pmc&#45;gpio&#45;1&#46;0&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-0c3c259e5c123f733ee8"></a>
> >
> > **<code>gpio&#45;line&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-d7eeda1ced05ba1af649"><code>116</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-29a4e90129e494db35f2"><code>116</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;clocks&#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">gpio@e000a000 {
  #gpio-cells = &lt;2&gt;;
  compatible = "xlnx,zynq-gpio-1.0";
  clocks = &lt;&amp;clkc 42&gt;;
  gpio-controller;
  interrupt-parent = &lt;&amp;intc&gt;;
  interrupts = &lt;0 20 4&gt;;
  interrupt-controller;
  #interrupt-cells = &lt;2&gt;;
  reg = &lt;0xe000a000 0x1000&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 OR BSD-2-Clause)</span></p>

</details>

---

# HiSilicon common GPIO controller

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

> Device-tree binding reference for HiSilicon common 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;gpio&#47;hisilicon&#44;ascend910&#45;gpio&#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;Jay Fang &#60;f&#46;fangjian&#64;huawei&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The HiSilicon common GPIO controller can be used for many different types of SoC such as Huawei Ascend AI series chips.</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;hisilicon&#44;ascend910&#45;gpio&#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-c2de09e7f7fd211b679d"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

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

**Minimum value (<code>minimum</code>):** <span id="dt-4ef4898ec8b764d69b54"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-36d4cd2652ecdcb61809"><code>32</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;ngpios&#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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

gpio@840d0000 {
  compatible = "hisilicon,ascend910-gpio";
  reg = &lt;0x840d0000 0x1000&gt;;
  ngpios = &lt;32&gt;;
  gpio-controller;
  #gpio-cells = &lt;2&gt;;
  interrupts = &lt;GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH&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>

---

# IDT 79RC32434 GPIO controller

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

> Device-tree binding reference for IDT 79RC32434 GPIO controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;gpio&#47;idt&#44;32434&#45;gpio&#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;Thomas Bogendoerfer &#60;tsbogend&#64;alpha&#46;franken&#46;de&#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;idt&#44;32434&#45;gpio&#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>2</code></span>

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

### <code>reg&#45;names</code> — required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;gpio&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;pic&#34;</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>ngpios</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-4ef4898ec8b764d69b54"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-36d4cd2652ecdcb61809"><code>32</code></span>

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

### <code>interrupt&#45;controller</code> — not listed as required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;gpio&#45;cells&#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">gpio0: gpio@50004 {
    compatible = "idt,32434-gpio";
    reg = &lt;0x50004 0x10&gt;, &lt;0x38030 0x0c&gt;;
    reg-names = "gpio", "pic";

    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;

    interrupt-parent = &lt;&amp;cpuintc&gt;;
    interrupts = &lt;6&gt;;

    gpio-controller;
    #gpio-cells = &lt;2&gt;;

    ngpios = &lt;14&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 OR BSD-2-Clause)</span></p>

</details>

---

# Intel IXP4xx XScale Networking Processors GPIO Controller

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

> Device-tree binding reference for Intel IXP4xx XScale Networking Processors 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;gpio&#47;intel&#44;ixp4xx&#45;gpio&#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">This GPIO controller is found in the Intel IXP4xx
processors. It supports 16 GPIO lines.
The interrupt portions of the GPIO controller is hierarchical.
The synchronous edge detector is part of the GPIO block, but the
actual enabling/disabling of the interrupt line is done in the
main IXP4xx interrupt controller which has a 1-to-1 mapping for
the first 12 GPIO lines to 12 system interrupts.
The remaining 4 GPIO lines can not be used for receiving
interrupts.
The interrupt parent of this GPIO controller must be the
IXP4xx interrupt controller.
GPIO 14 and 15 can be used as clock outputs rather than GPIO,
and this can be enabled by a special flag.</p>
</div>

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

<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;ixp4xx&#45;gpio&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — not listed as required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>interrupt&#45;controller</code> — required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

### <code>intel&#44;ixp4xx&#45;gpio14&#45;clkout</code> — not listed as required here

<div id="dt-c41a7a0a8fa3cb690b8f">
<p style="white-space: pre-wrap">If defined, enables clock output on GPIO 14 instead of GPIO.</p>
</div>

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

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

### <code>intel&#44;ixp4xx&#45;gpio15&#45;clkout</code> — not listed as required here

<div id="dt-a38eecbc0b4c7be510f3">
<p style="white-space: pre-wrap">If defined, enables clock output on GPIO 15 instead of GPIO.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-42d40d38a7f2a9b2f76b"><code>&#34;boolean&#34;</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;interrupt&#45;cells&#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">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
gpio@c8004000 {
    compatible = "intel,ixp4xx-gpio";
    reg = &lt;0xc8004000 0x1000&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&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>

---

# GPIO driver for the sl28cpld board management controller

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

> Device-tree binding reference for GPIO driver for the sl28cpld board management 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;gpio&#47;kontron&#44;sl28cpld&#45;gpio&#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;Michael Walle &#60;michael&#64;walle&#46;cc&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This module is part of the sl28cpld multi-function device. For more
details see ../embedded-controller/kontron,sl28cpld.yaml.</p>
<p style="white-space: pre-wrap">There are three flavors of the GPIO controller, one full featured
input/output with interrupt support (kontron,sl28cpld-gpio), one
output-only (kontron,sl28-gpo) and one input-only (kontron,sl28-gpi).</p>
<p style="white-space: pre-wrap">Each controller supports 8 GPIO lines.</p>
</div>

<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;kontron&#44;sl28cpld&#45;gpio&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;kontron&#44;sl28cpld&#45;gpi&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;kontron&#44;sl28cpld&#45;gpo&#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-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

### <code>interrupt&#45;controller</code> — not listed as required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7da1f39f1fcedec6860"><code>8</code></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;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#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.

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

---

# NetxBig GPIO extension bus

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

> Device-tree binding reference for NetxBig GPIO extension bus.

<!-- 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;gpio&#47;lacie&#44;netxbig&#45;gpio&#45;ext&#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;Simon Guinot &#60;simon&#46;guinot&#64;sequanux&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">GPIO extension bus found on some LaCie/Seagate boards (Example: 2Big/5Big Network v2, 2Big NAS).</p>
</div>

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

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

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

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-aaadfb6b044cada8472e"><code>&#34;lacie&#44;netxbig&#45;gpio&#45;ext&#34;</code></span>

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

### <code>addr&#45;gpios</code> — required here

<div id="dt-a81a39ac07af1952cd50">
<p style="white-space: pre-wrap">GPIOs representing the address register (LSB-&gt;MSB).</p>
</div>

<a id="dt-48a15083393377fb970e"></a>

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

<a id="dt-26e49879f1c568ab9e68"></a>

**Item 1**

> <div id="dt-83fb41a91d60c63773aa">
> <p style="white-space: pre-wrap">bit 0 (LSB)</p>
> </div>

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

**Item 2**

> <div id="dt-17c260e46b72892a6429">
> <p style="white-space: pre-wrap">bit 1</p>
> </div>

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

**Item 3**

> <div id="dt-1afb8bbf67ac8b4179f0">
> <p style="white-space: pre-wrap">bit 2 (MSB)</p>
> </div>

<a id="dt-8d82a5899698d4129ff4"></a>

### <code>data&#45;gpios</code> — required here

<div id="dt-70bd6caae45d951d6ae3">
<p style="white-space: pre-wrap">GPIOs representing the data register (LSB-&gt;MSB).</p>
</div>

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

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

<a id="dt-50eec0ae0e9de6e44802"></a>

**Item 1**

> <div id="dt-1e62cf6f6b7919c73c28">
> <p style="white-space: pre-wrap">bit 0 (LSB)</p>
> </div>

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

**Item 2**

> <div id="dt-f211c021b7ccd6c0550e">
> <p style="white-space: pre-wrap">bit 1</p>
> </div>

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

**Item 3**

> <div id="dt-faf56c271c8d3d2c5b3e">
> <p style="white-space: pre-wrap">bit 2 (MSB)</p>
> </div>

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

### <code>enable&#45;gpio</code> — required here

<div id="dt-2c0b5064e5d71b216e21">
<p style="white-space: pre-wrap">Latches the new configuration (address, data) on raising edge.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-73b7d1d2876fa2fdb6b9"><code>1</code></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;addr&#45;gpios&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;data&#45;gpios&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;enable&#45;gpio&#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">#include &lt;dt-bindings/gpio/gpio.h&gt;

gpio {
    compatible = "lacie,netxbig-gpio-ext";
    addr-gpios = &lt;&amp;gpio1 15 GPIO_ACTIVE_HIGH
                  &amp;gpio1 16 GPIO_ACTIVE_HIGH
                  &amp;gpio1 17 GPIO_ACTIVE_HIGH&gt;;
    data-gpios = &lt;&amp;gpio1 12 GPIO_ACTIVE_HIGH
                  &amp;gpio1 13 GPIO_ACTIVE_HIGH
                  &amp;gpio1 14 GPIO_ACTIVE_HIGH&gt;;
    enable-gpio = &lt;&amp;gpio0 29 GPIO_ACTIVE_HIGH&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>

---

# Lantiq SoC External Bus memory mapped GPIO controller

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

> Device-tree binding reference for Lantiq SoC External Bus memory mapped 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;lantiq&#44;gpio&#45;mm&#45;lantiq&#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;John Crispin &#60;john&#64;phrozen&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">By attaching hardware latches to the EBU it is possible to create output
only gpios. This driver configures a special memory address, which when
written to outputs 16 bit to the latches.</p>
<p style="white-space: pre-wrap">The node describing the memory mapped GPIOs needs to be a child of the node
describing the "lantiq,localbus".</p>
</div>

<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;lantiq&#44;gpio&#45;mm&#45;lantiq&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;lantiq&#44;gpio&#45;mm&#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-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

<a id="dt-85b4641325d59d677d16"></a>

### <code>lantiq&#44;shadow</code> — not listed as required here

<div id="dt-6612558c948cf112ccb7">
<p style="white-space: pre-wrap">The default value that we shall assume as already set on the shift register cascade.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-78ea22bcbb6e8098d4ba">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#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">gpio@4000000 {
    compatible = "lantiq,gpio-mm-lantiq";
    reg = &lt;0x4000000 0x10&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    lantiq,shadow = &lt;0x77f&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>

---

# Loongson GPIO controller.

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

> Device-tree binding reference for Loongson 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;gpio&#47;loongson&#44;ls&#45;gpio&#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;Yinbo Zhu &#60;zhuyinbo&#64;loongson&#46;cn&#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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;loongson&#44;ls2k&#45;gpio&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;loongson&#44;ls2k0300&#45;gpio&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;loongson&#44;ls2k0500&#45;gpio0&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;loongson&#44;ls2k0500&#45;gpio1&#34;</code></span>, <span id="dt-d29c3f554eb9a606c63a"><code>&#34;loongson&#44;ls2k2000&#45;gpio0&#34;</code></span>, <span id="dt-6abdfa16ccd722b794e6"><code>&#34;loongson&#44;ls2k2000&#45;gpio1&#34;</code></span>, <span id="dt-7775c6eae6cdca3e9809"><code>&#34;loongson&#44;ls2k2000&#45;gpio2&#34;</code></span>, <span id="dt-9727c2c60e912d553bb7"><code>&#34;loongson&#44;ls3a5000&#45;gpio&#34;</code></span>, <span id="dt-1361d1fce62d86040b5e"><code>&#34;loongson&#44;ls3a6000&#45;gpio&#34;</code></span>, <span id="dt-a66cdf3fb4555997cc02"><code>&#34;loongson&#44;ls7a&#45;gpio&#34;</code></span>, <span id="dt-9dfc548002c970ddb9ed"><code>&#34;loongson&#44;ls7a2000&#45;gpio1&#34;</code></span>, <span id="dt-fb22acbeafd709abc5c8"><code>&#34;loongson&#44;ls7a2000&#45;gpio2&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;loongson&#44;ls2k1000&#45;gpio&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;loongson&#44;ls2k&#45;gpio&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-b4cf31a5f463012e1429"><code>&#34;loongson&#44;ls7a1000&#45;gpio&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;loongson&#44;ls7a&#45;gpio&#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-ce114a5cf59c2bad1f56"></a>

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

**Minimum value (<code>minimum</code>):** <span id="dt-4ef4898ec8b764d69b54"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-36d4cd2652ecdcb61809"><code>128</code></span>

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

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

### <code>gpio&#45;ranges</code> — required here

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

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

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>64</code></span>

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

### <code>interrupt&#45;controller</code> — not listed as required here

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

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

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;ngpios&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;gpio&#45;ranges&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;interrupts&#34;</code></span>

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

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

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;loongson&#44;ls2k0300&#45;gpio&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-b0b2f2243ff9a854f151"></a> <span id="dt-4e9ead0e861b67997dec"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-5652a54c9ddda3dcd6bf"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-f9c5361cd357fdaa7120"><code>&#34;resets&#34;</code></span>
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-0b56c96a40292905ded0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-5aeebba93deb33f992cf"></a>
> >
> > **<code>&#35;interrupts&#45;cells</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-0666fe5a3020392b8481"></a>
> >
> > **<code>interrupt&#45;controller</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-3b52381d6f432852e302"></a>
> >
> > **<code>resets</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>false</code>

Not allowed by this rule.

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

gpio0: gpio@1fe00500 {
  compatible = "loongson,ls2k1000-gpio", "loongson,ls2k-gpio";
  reg = &lt;0x1fe00500 0x38&gt;;
  ngpios = &lt;64&gt;;
  #gpio-cells = &lt;2&gt;;
  gpio-controller;
  gpio-ranges = &lt;&amp;pctrl 0 0 15&gt;,
                &lt;&amp;pctrl 16 16 15&gt;,
                &lt;&amp;pctrl 32 32 10&gt;,
                &lt;&amp;pctrl 44 44 20&gt;;
  interrupt-parent = &lt;&amp;liointc1&gt;;
  interrupts = &lt;28 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;29 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;30 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;30 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;26 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;&gt;,
               &lt;&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&gt;,
               &lt;27 IRQ_TYPE_LEVEL_LOW&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>

<p id="dt-comment-1"><strong>Line 24:</strong> <span> Loongson-3A6000 node GPIO</span></p>

<p id="dt-comment-2"><strong>Line 26:</strong> <span> LS7A2000 chipset GPIO</span></p>

<p id="dt-comment-3"><strong>Line 27:</strong> <span> LS7A2000 ACPI GPIO</span></p>

</details>

---

# Zevio GPIO controller

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

> Device-tree binding reference for Zevio GPIO controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;gpio&#47;lsi&#44;zevio&#45;gpio&#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;Pratik Farkase &#60;pratikfarkase94&#64;gmail&#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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-aaadfb6b044cada8472e"><code>&#34;lsi&#44;zevio&#45;gpio&#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-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property 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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#34;</code></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">gpio@90000000 {
    compatible = "lsi,zevio-gpio";
    reg = &lt;0x90000000 0x1000&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&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 OR BSD-2-Clause)</span></p>

</details>

---

# Maxim MAX3191x GPIO serializer

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

> Device-tree binding reference for Maxim MAX3191x GPIO serializer.

<!-- 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;gpio&#47;maxim&#44;max31910&#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;Lukas Wunner &#60;lukas&#64;wunner&#46;de&#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;maxim&#44;max31910&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;maxim&#44;max31911&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;maxim&#44;max31912&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;maxim&#44;max31913&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;maxim&#44;max31953&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;maxim&#44;max31963&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>&#35;daisy&#45;chained&#45;devices</code> — not listed as required here

<div id="dt-1cf5970d5302f53c6207">
<p style="white-space: pre-wrap">Number of chips in the daisy-chain.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-5cea885eb13caa26780c"><code>1</code></span>

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

### <code>maxim&#44;modesel&#45;gpios</code> — not listed as required here

<div id="dt-05d787c71a7e3c836b23">
<p style="white-space: pre-wrap">GPIO pins to configure modesel of each chip. The number of GPIOs must equal "#daisy-chained-devices" (if each chip is driven by a separate pin) or 1 (if all chips are wired to the same pin).</p>
</div>

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

### <code>maxim&#44;fault&#45;gpios</code> — not listed as required here

<div id="dt-c716fb5a2160329dafd8">
<p style="white-space: pre-wrap">GPIO pins to read fault of each chip. The number of GPIOs must equal "#daisy-chained-devices" or 1.</p>
</div>

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

### <code>maxim&#44;db0&#45;gpios</code> — not listed as required here

<div id="dt-d92248b99c93d9169871">
<p style="white-space: pre-wrap">GPIO pins to configure debounce of each chip. The number of GPIOs must equal "#daisy-chained-devices" or 1.</p>
</div>

<a id="dt-5257213d8d34d4e71a06"></a>

### <code>maxim&#44;db1&#45;gpios</code> — not listed as required here

<div id="dt-fe7dd3abcb16428d8398">
<p style="white-space: pre-wrap">GPIO pins to configure debounce of each chip. The number of GPIOs must equal "maxim,db0-gpios".</p>
</div>

<a id="dt-68f1776b26a31f23cf4d"></a>

### <code>maxim&#44;modesel&#45;8bit</code> — not listed as required here

<div id="dt-c0b0c1ae1f530f9f50d7">
<p style="white-space: pre-wrap">Boolean whether the modesel pin of the chips is pulled high (8-bit mode). Use this if the modesel pin is hardwired and consequently "maxim,modesel-gpios" cannot be specified. By default if neither this nor "maxim,modesel-gpios" is given, the driver assumes that modesel is pulled low (16-bit mode).</p>
</div>

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

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

### <code>maxim&#44;ignore&#45;undervoltage</code> — not listed as required here

<div id="dt-0aa8c3df8d4830637c45">
<p style="white-space: pre-wrap">Boolean whether to ignore undervoltage alarms signaled by the "maxim,fault-gpios" or by the status byte (in 16-bit mode). Use this if the chips are powered through 5VOUT instead of VCC24V, in which case they will constantly signal undervoltage.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-049bde1b08ed2be73608"><code>&#34;boolean&#34;</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#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>&#47;schemas&#47;spi&#47;spi&#45;peripheral&#45;props&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-spi/spi-peripheral-props.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">#include &lt;dt-bindings/gpio/gpio.h&gt;

spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    gpio@0 {
        compatible = "maxim,max31913";
        reg = &lt;0&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&gt;;

        maxim,modesel-gpios = &lt;&amp;gpio2 23&gt;;
        maxim,fault-gpios = &lt;&amp;gpio2 24 GPIO_ACTIVE_LOW&gt;;
        maxim,db0-gpios = &lt;&amp;gpio2 25&gt;;
        maxim,db1-gpios = &lt;&amp;gpio2 26&gt;;

        spi-max-frequency = &lt;25000000&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>

---

# Maxim MAX7360 GPIO controller

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

> Device-tree binding reference for Maxim MAX7360 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;gpio&#47;maxim&#44;max7360&#45;gpio&#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;Kamel Bouhara &#60;kamel&#46;bouhara&#64;bootlin&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Mathieu Dubois&#45;Briand &#60;mathieu&#46;dubois&#45;briand&#64;bootlin&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Maxim MAX7360 GPIO controller, in MAX7360 chipset
https://www.analog.com/en/products/max7360.html</p>
<p style="white-space: pre-wrap">The device provides two series of GPIOs, referred here as GPIOs and GPOs.</p>
<p style="white-space: pre-wrap">PORT0 to PORT7 pins can be used as GPIOs, with support for interrupts and
constant-current mode. These pins will also be used by the rotary encoder and
PWM functionalities.</p>
<p style="white-space: pre-wrap">COL2 to COL7 pins can be used as GPOs, there is no input capability. COL pins
will be partitioned, with the first pins being affected to the keypad
functionality and the last ones as GPOs.</p>
</div>

<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;maxim&#44;max7360&#45;gpio&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;maxim&#44;max7360&#45;gpo&#34;</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>interrupt&#45;controller</code> — not listed as required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

### <code>maxim&#44;constant&#45;current&#45;disable</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d982be6d9941cda15fd1">[<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-fd24246b798c5e0b9f06">
<p style="white-space: pre-wrap">Bit field, each bit disables constant-current output of the associated GPIO, starting from the least significant bit for the first GPIO.</p>
</div>

**Maximum value (<code>maximum</code>):** <span id="dt-7ebdaede0055748058b3"><code>255</code></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;gpio&#45;controller&#34;</code></span>

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

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

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b5c9dbe70762f9ad7bb5"></a> <span id="dt-d017b1b1b5a0bb01c549"><code>&#34;maxim&#44;max7360&#45;gpio&#34;</code></span>
> >
> > <a id="dt-ef2f180659d32cbbbf7e"></a>
> >
> > **<code>ngpios</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-b0b2f2243ff9a854f151"></a> <span id="dt-4e9ead0e861b67997dec"><code>&#34;interrupt&#45;controller&#34;</code></span>
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-0b56c96a40292905ded0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-0666fe5a3020392b8481"></a>
> >
> > **<code>interrupt&#45;controller</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-d0f31adc19f7ab8a2e01"></a>
> >
> > **<code>maxim&#44;constant&#45;current&#45;disable</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>false</code>

Not allowed by this rule.

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">gpio {
  compatible = "maxim,max7360-gpio";

  gpio-controller;
  #gpio-cells = &lt;2&gt;;
  maxim,constant-current-disable = &lt;0x06&gt;;

  interrupt-controller;
  #interrupt-cells = &lt;2&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>

---

# Maxim Integrated MAX77759 GPIO

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

> Device-tree binding reference for Maxim Integrated MAX77759 GPIO.

<!-- 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;gpio&#47;maxim&#44;max77759&#45;gpio&#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;André Draszik &#60;andre&#46;draszik&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This module is part of the MAX77759 PMIC. For additional information, see
Documentation/devicetree/bindings/mfd/maxim,max77759.yaml.</p>
<p style="white-space: pre-wrap">The MAX77759 is a PMIC integrating, amongst others, a GPIO controller
including interrupt support for 2 GPIO lines.</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;maxim&#44;max77759&#45;gpio&#34;</code></span>

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7da1f39f1fcedec6860"><code>2</code></span>

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

### <code>interrupt&#45;controller</code> — required here

<code>true</code> — No constraints added by this property 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;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupt&#45;controller&#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.

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

---

# Mediatek MT7621 SoC GPIO controller

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

> Device-tree binding reference for Mediatek MT7621 SoC 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;gpio&#47;mediatek&#44;mt7621&#45;gpio&#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;Sergio Paracuellos &#60;sergio&#46;paracuellos&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The IP core used inside these SoCs has 3 banks of 32 GPIOs each.
The registers of all the banks are interwoven inside one single IO range.
We load one GPIO controller instance per bank. Also the GPIO controller can receive
interrupts on any of the GPIOs, either edge or level. It then interrupts the CPU
using GIC INT12.</p>
</div>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;gpio&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;&#34;</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;mediatek&#44;mt7621&#45;gpio&#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-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

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

### <code>gpio&#45;ranges</code> — required here

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

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

### <code>interrupt&#45;controller</code> — required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;gpio&#45;ranges&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;interrupts&#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">#include &lt;dt-bindings/gpio/gpio.h&gt;
#include &lt;dt-bindings/interrupt-controller/mips-gic.h&gt;

gpio@600 {
  compatible = "mediatek,mt7621-gpio";
  reg = &lt;0x600 0x100&gt;;
  #gpio-cells = &lt;2&gt;;
  gpio-controller;
  gpio-ranges = &lt;&amp;pinctrl 0 0 95&gt;;
  interrupt-controller;
  #interrupt-cells = &lt;2&gt;;
  interrupt-parent = &lt;&amp;gic&gt;;
  interrupts = &lt;GIC_SHARED 12 IRQ_TYPE_LEVEL_HIGH&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>

---

# Microchip MPFS GPIO Controller

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

> Device-tree binding reference for Microchip MPFS GPIO Controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;gpio&#47;microchip&#44;mpfs&#45;gpio&#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;Conor Dooley &#60;conor&#46;dooley&#64;microchip&#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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5deec2612224d8d915da"><code>&#34;microchip&#44;pic64gx&#45;gpio&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;microchip&#44;mpfs&#45;gpio&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Allowed values (<code>enum</code>):** <a id="dt-ad5dbad5326d5a61ae46"></a> <span id="dt-af4759e2a8ab9583f63d"><code>&#34;microchip&#44;mpfs&#45;gpio&#34;</code></span>, <span id="dt-9aa1d0e5d9a73a253eb7"><code>&#34;microchip&#44;coregpio&#45;rtl&#45;v3&#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-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">Interrupt mapping, one per GPIO. Maximum 32 GPIOs.</p>
</div>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>32</code></span>

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

### <code>interrupt&#45;controller</code> — not listed as required here

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

### <code>ngpios</code> — not listed as required here

<div id="dt-4e60045f2efa1256c93d">
<p style="white-space: pre-wrap">The number of GPIOs available.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-4ef4898ec8b764d69b54"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-36d4cd2652ecdcb61809"><code>32</code></span>

**Default value (<code>default</code>):** <span id="dt-79a2457790814f19e7f7"><code>32</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

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

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

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

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

### <code>&#94;&#46;&#43;&#45;hog&#40;&#45;&#91;0&#45;9&#93;&#43;&#41;&#63;&#36;</code> — name matches this regular expression

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

**Required in this object (<code>required</code>):** <a id="dt-46360908e21a7be6fd22"></a> <span id="dt-42adc5f4a97d7358bd2b"><code>&#34;gpio&#45;hog&#34;</code></span>

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

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

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;microchip&#44;mpfs&#45;gpio&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-b0b2f2243ff9a854f151"></a> <span id="dt-4e9ead0e861b67997dec"><code>&#34;interrupts&#34;</code></span>, <span id="dt-5652a54c9ddda3dcd6bf"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-f9c5361cd357fdaa7120"><code>&#34;interrupt&#45;controller&#34;</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#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">gpio@20122000 {
    compatible = "microchip,mpfs-gpio";
    reg = &lt;0x20122000 0x1000&gt;;
    clocks = &lt;&amp;clkcfg 25&gt;;
    interrupt-parent = &lt;&amp;plic&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
    interrupts = &lt;53&gt;, &lt;53&gt;, &lt;53&gt;, &lt;53&gt;,
                 &lt;53&gt;, &lt;53&gt;, &lt;53&gt;, &lt;53&gt;,
                 &lt;53&gt;, &lt;53&gt;, &lt;53&gt;, &lt;53&gt;,
                 &lt;53&gt;, &lt;53&gt;, &lt;53&gt;, &lt;53&gt;,
                 &lt;53&gt;, &lt;53&gt;, &lt;53&gt;, &lt;53&gt;,
                 &lt;53&gt;, &lt;53&gt;, &lt;53&gt;, &lt;53&gt;,
                 &lt;53&gt;, &lt;53&gt;, &lt;53&gt;, &lt;53&gt;,
                 &lt;53&gt;, &lt;53&gt;, &lt;53&gt;, &lt;53&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 OR BSD-2-Clause)</span></p>

</details>

---

# Microchip PIC32 GPIO controller

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

> Device-tree binding reference for Microchip PIC32 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;gpio&#47;microchip&#44;pic32mzda&#45;gpio&#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;Joshua Henderson &#60;joshua&#46;henderson&#64;microchip&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Purna Chandra Mandal &#60;purna&#46;mandal&#64;microchip&#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;microchip&#44;pic32mzda&#45;gpio&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

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

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

### <code>gpio&#45;ranges</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

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

### <code>interrupt&#45;controller</code> — required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-635f5276df7a3302132e"></a>

### <code>microchip&#44;gpio&#45;bank</code> — required here

<div id="dt-512752ee98429049cb61">
<p style="white-space: pre-wrap">Bank index owned by the controller</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b7b8a178b200d9ffa597">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;ranges&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;interrupts&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;clocks&#34;</code></span>, <span id="dt-1a79af41bdb7f37c802f"><code>&#34;microchip&#44;gpio&#45;bank&#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">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

gpio@1f860000 {
    compatible = "microchip,pic32mzda-gpio";
    reg = &lt;0x1f860000 0x100&gt;;
    interrupts = &lt;118 IRQ_TYPE_LEVEL_HIGH&gt;;
    #gpio-cells = &lt;2&gt;;
    gpio-controller;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
    clocks = &lt;&amp;rootclk 11&gt;;
    microchip,gpio-bank = &lt;0&gt;;
    gpio-ranges = &lt;&amp;pic32_pinctrl 0 0 16&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>

---

# Marvell PXA GPIO controller

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

> Device-tree binding reference for Marvell PXA GPIO controller.

<!-- 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;gpio&#47;mrvl&#45;gpio&#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>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Bartosz Golaszewski &#60;bgolaszewski&#64;baylibre&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Rob Herring &#60;robh&#64;kernel&#46;org&#62;&#34;</code></span>

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

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

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b5c9dbe70762f9ad7bb5"></a> <span id="dt-d017b1b1b5a0bb01c549"><code>&#34;intel&#44;pxa25x&#45;gpio&#34;</code></span>, <span id="dt-b1891799a94ae03bda89"><code>&#34;intel&#44;pxa26x&#45;gpio&#34;</code></span>, <span id="dt-f7ddd2674cdadacec733"><code>&#34;intel&#44;pxa27x&#45;gpio&#34;</code></span>, <span id="dt-1afa9c359b113daf77e4"><code>&#34;intel&#44;pxa3xx&#45;gpio&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-7787b28725c144fbfc92"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-434103e5dab0dc9821c6"><code>3</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-f83fd3bbdeba05802410"><code>3</code></span>
> >
> > <a id="dt-c34ab5a282220afd648a"></a>
> >
> > **<code>interrupt&#45;names</code> — not listed as required here**
> >
> > <a id="dt-8b288322e41e3778ef47"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-b85c3097bf93e075011a"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-c4817bf35a7ff1ba978c"><code>&#34;gpio0&#34;</code></span>
> >
> > <a id="dt-49e2407098c5fd3fa57a"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-15ef5386f5c81a702a47"><code>&#34;gpio1&#34;</code></span>
> >
> > <a id="dt-5529683ceb40d36ac450"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-a595fa2ab1f11e63bc28"><code>&#34;gpio&#95;mux&#34;</code></span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;marvell&#44;mmp&#45;gpio&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;marvell&#44;mmp2&#45;gpio&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-46e318450db8639361ba"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-5826f726e17db7a38ebe"><code>1</code></span>
> >
> > <a id="dt-72203b463a4149b493f4"></a>
> >
> > **<code>interrupt&#45;names</code> — not listed as required here**
> >
> > <a id="dt-828de3767b5fb6ec6c0e"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-219400b241329fa4514c"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-75955b66eb426112efe9"><code>&#34;gpio&#95;mux&#34;</code></span>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;gpio&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;&#34;</code></span>

<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;intel&#44;pxa25x&#45;gpio&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;intel&#44;pxa26x&#45;gpio&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;intel&#44;pxa27x&#45;gpio&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;intel&#44;pxa3xx&#45;gpio&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;marvell&#44;mmp&#45;gpio&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;marvell&#44;mmp2&#45;gpio&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;marvell&#44;pxa93x&#45;gpio&#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-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

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

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

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

### <code>ranges</code> — not listed as required here

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

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

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>1</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;ranges</code> — not listed as required here

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

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

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

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

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — required here

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

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

### <code>interrupt&#45;controller</code> — required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

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

<a id="dt-574a750ac34fe4536c58"></a>

### <code>&#94;gpio&#64;&#91;0&#45;9a&#45;f&#93;&#42;&#36;</code> — name matches this regular expression

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

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

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

<a id="dt-5081fea1cb3a805af25c"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d77a7596f33d4a8ef372"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-bae7e65a810e8ebe6a34"></a> <span id="dt-be60bc4ec30798d70136"><code>&#34;reg&#34;</code></span>

<a id="dt-db0e073759e41a5f8ac6"></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;&#35;address&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;size&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;reg&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;interrupts&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;interrupt&#45;names&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-1a79af41bdb7f37c802f"><code>&#34;&#35;interrupt&#45;cells&#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">#include &lt;dt-bindings/clock/pxa-clock.h&gt;
gpio@40e00000 {
    compatible = "intel,pxa3xx-gpio";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    reg = &lt;0x40e00000 0x10000&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    interrupts = &lt;8&gt;, &lt;9&gt;, &lt;10&gt;;
    interrupt-names = "gpio0", "gpio1", "gpio_mux";
    clocks = &lt;&amp;clks CLK_GPIO&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/clock/marvell,pxa910.h&gt;
gpio@d4019000 {
    compatible = "marvell,mmp-gpio";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    reg = &lt;0xd4019000 0x1000&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    interrupts = &lt;49&gt;;
    interrupt-names = "gpio_mux";
    clocks = &lt;&amp;soc_clocks PXA910_CLK_GPIO&gt;;
    resets = &lt;&amp;soc_clocks PXA910_CLK_GPIO&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
    ranges;

    gpio@d4019000 {
        reg = &lt;0xd4019000 0x4&gt;;
    };

    gpio@d4019004 {
        reg = &lt;0xd4019004 0x4&gt;;
    };

    gpio@d4019008 {
        reg = &lt;0xd4019008 0x4&gt;;
    };

    gpio@d4019100 {
        reg = &lt;0xd4019100 0x4&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</span></p>

</details>

---

# MStar/SigmaStar GPIO controller

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

> Device-tree binding reference for MStar/SigmaStar 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;gpio&#47;mstar&#44;msc313&#45;gpio&#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;Daniel Palmer &#60;daniel&#64;thingy&#46;jp&#62;&#34;</code></span>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;gpio&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;&#34;</code></span>

<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;mstar&#44;msc313&#45;gpio&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;sstar&#44;ssd20xd&#45;gpio&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;ranges</code> — not listed as required here

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

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

### <code>interrupt&#45;controller</code> — required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;interrupt&#45;cells&#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">#include &lt;dt-bindings/gpio/msc313-gpio.h&gt;

gpio: gpio@207800 {
  compatible = "mstar,msc313-gpio";
  #gpio-cells = &lt;2&gt;;
  reg = &lt;0x207800 0x200&gt;;
  gpio-controller;
  gpio-ranges = &lt;&amp;pinctrl 0 36 22&gt;,
                &lt;&amp;pinctrl 22 63 4&gt;,
                &lt;&amp;pinctrl 26 68 6&gt;;
  #interrupt-cells = &lt;2&gt;;
  interrupt-controller;
  interrupt-parent = &lt;&amp;intc_fiq&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>

---

# Nuvoton SGPIO controller

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

> Device-tree binding reference for Nuvoton SGPIO 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;gpio&#47;nuvoton&#44;sgpio&#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;Jim LIU &#60;JJLIU0&#64;nuvoton&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<pre><code>This SGPIO controller is for NUVOTON NPCM7xx and NPCM8xx SoC and detailed
information is in the NPCM7XX/8XX SERIAL I/O EXPANSION INTERFACE section.
Nuvoton NPCM7xx SGPIO module is combines a serial to parallel IC (HC595)
and a parallel to serial IC (HC165).
Clock is a division of the APB3 clock.
This interface has 4 pins (D_out , D_in, S_CLK, LDSH).
NPCM7xx/NPCM8xx have two sgpio modules. Each module can support up
to 64 output pins, and up to 64 input pins, the pin is only for GPI or GPO.
GPIO pins can be programmed to support the following options
- Support interrupt option for each input port and various interrupt
  sensitivity options (level-high, level-low, edge-high, edge-low)
- ngpios is number of nuvoton,input-ngpios GPIO lines and nuvoton,output-ngpios GPIO lines.
  nuvoton,input-ngpios GPIO lines is only for GPI.
  nuvoton,output-ngpios GPIO lines is only for GPO.</code></pre>
</div>

<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;nuvoton&#44;npcm750&#45;sgpio&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;nuvoton&#44;npcm845&#45;sgpio&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-028ef9886e2af74ce196"></a>

### <code>nuvoton&#44;input&#45;ngpios</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e4c362a4eb5a4a6a807a">[<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-1ff602982b966c5def57">
<p style="white-space: pre-wrap">The numbers of GPIO's exposed. GPIO lines are only for GPI.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-257475535cfed1f7fe3e"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-19f4ccfb04841e996d07"><code>64</code></span>

<a id="dt-05c4ac39ee084e81d7eb"></a>

### <code>nuvoton&#44;output&#45;ngpios</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0e537414eb3fe548132b">[<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-82bce5465af2d221aedd">
<p style="white-space: pre-wrap">The numbers of GPIO's exposed. GPIO lines are only for GPO.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-880922c2c82d28f51b51"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-90dd3e85922d67ec3eae"><code>64</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupts&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;nuvoton&#44;input&#45;ngpios&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;nuvoton&#44;output&#45;ngpios&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;clocks&#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">#include &lt;dt-bindings/clock/nuvoton,npcm7xx-clock.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
gpio8: gpio@101000 {
    compatible = "nuvoton,npcm750-sgpio";
    reg = &lt;0x101000 0x200&gt;;
    clocks = &lt;&amp;clk NPCM7XX_CLK_APB3&gt;;
    interrupts = &lt;GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    nuvoton,input-ngpios = &lt;64&gt;;
    nuvoton,output-ngpios = &lt;64&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>

---

# NVIDIA Tegra GPIO Controller (Tegra186 and later)

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

> Device-tree binding reference for NVIDIA Tegra GPIO Controller (Tegra186 and later).

<!-- 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;gpio&#47;nvidia&#44;tegra186&#45;gpio&#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;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Tegra186 contains two GPIO controllers; a main controller and an "AON"
controller. This binding document applies to both controllers. The register
layouts for the controllers share many similarities, but also some
significant differences. Hence, this document describes closely related but
different bindings and compatible values.</p>
<p style="white-space: pre-wrap">The Tegra186 GPIO controller allows software to set the IO direction of,
and read/write the value of, numerous GPIO signals. Routing of GPIO signals
to package balls is under the control of a separate pin controller hardware
block. Two major sets of registers exist:</p>
<pre><code>  a) Security registers, which allow configuration of allowed access to the
     GPIO register set. These registers exist in a single contiguous block
     of physical address space. The size of this block, and the security
     features available, varies between the different GPIO controllers.</code></pre>
<pre><code>     Access to this set of registers is not necessary in all circumstances.
     Code that wishes to configure access to the GPIO registers needs access
     to these registers to do so. Code which simply wishes to read or write
     GPIO data does not need access to these registers.</code></pre>
<pre><code>  b) GPIO registers, which allow manipulation of the GPIO signals. In some
     GPIO controllers, these registers are exposed via multiple "physical
     aliases" in address space, each of which access the same underlying
     state. See the hardware documentation for rationale. Any particular
     GPIO client is expected to access just one of these physical aliases.</code></pre>
<pre><code>  Tegra HW documentation describes a unified naming convention for all GPIOs
  implemented by the SoC. Each GPIO is assigned to a port, and a port may
  control a number of GPIOs. Thus, each GPIO is named according to an
  alphabetical port name and an integer GPIO name within the port. For
  example, GPIO_PA0, GPIO_PN6, or GPIO_PCC3.</code></pre>
<pre><code>  The number of ports implemented by each GPIO controller varies. The number
  of implemented GPIOs within each port varies. GPIO registers within a
  controller are grouped and laid out according to the port they affect.</code></pre>
<pre><code>  The mapping from port name to the GPIO controller that implements that
  port, and the mapping from port name to register offset within a
  controller, are both extremely non-linear. The header file
  &lt;dt-bindings/gpio/tegra186-gpio.h&gt; describes the port-level mapping. In
  that file, the naming convention for ports matches the HW documentation.
  The values chosen for the names are alphabetically sorted within a
  particular controller. Drivers need to map between the DT GPIO IDs and HW
  register offsets using a lookup table.</code></pre>
<pre><code>  Each GPIO controller can generate a number of interrupt signals. Each
  signal represents the aggregate status for all GPIOs within a set of
  ports. Thus, the number of interrupt signals generated by a controller
  varies as a rough function of the number of ports it implements. Note
  that the HW documentation refers to both the overall controller HW
  module and the sets-of-ports as "controllers".</code></pre>
<pre><code>  Each GPIO controller in fact generates multiple interrupts signals for
  each set of ports. Each GPIO may be configured to feed into a specific
  one of the interrupt signals generated by a set-of-ports. The intent is
  for each generated signal to be routed to a different CPU, thus allowing
  different CPUs to each handle subsets of the interrupts within a port.
  The status of each of these per-port-set signals is reported via a
  separate register. Thus, a driver needs to know which status register to
  observe. This binding currently defines no configuration mechanism for
  this. By default, drivers should use register
  GPIO_${port}_INTERRUPT_STATUS_G1_0. Future revisions to the binding could
  define a property to configure this.</code></pre>
</div>

<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;nvidia&#44;tegra186&#45;gpio&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;nvidia&#44;tegra186&#45;gpio&#45;aon&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;nvidia&#44;tegra194&#45;gpio&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;nvidia&#44;tegra194&#45;gpio&#45;aon&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;nvidia&#44;tegra234&#45;gpio&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;nvidia&#44;tegra234&#45;gpio&#45;aon&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;nvidia&#44;tegra256&#45;gpio&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;nvidia&#44;tegra264&#45;gpio&#34;</code></span>, <span id="dt-07feb33463d5c114ab05"><code>&#34;nvidia&#44;tegra264&#45;gpio&#45;uphy&#34;</code></span>, <span id="dt-1e634b71c3167df349bb"><code>&#34;nvidia&#44;tegra264&#45;gpio&#45;aon&#34;</code></span>

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

### <code>reg&#45;names</code> — required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;security&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;gpio&#34;</code></span>

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

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

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

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

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

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">Security configuration registers.</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">GPIO control registers. This may cover either:</p>
> <pre><code>  a) The single physical alias that this OS should use.
>   b) All physical aliases that exist in the controller. This is
>      appropriate when the OS is responsible for managing assignment
>      of the physical aliases.</code></pre>
> </div>

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

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

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The interrupt outputs from the HW block, one per set of ports, in the order the HW manual describes them. The number of entries required varies depending on compatible value.</p>
</div>

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

### <code>wakeup&#45;parent</code> — not listed as required here

<div id="dt-f29d3f12fdd64be56d95">
<p style="white-space: pre-wrap">Phandle to the parent interrupt controller used for wake-up. On Tegra, this typically references the PMC interrupt controller.</p>
</div>

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

### <code>gpio&#45;controller</code> — not listed as required here

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

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

### <code>gpio&#45;ranges</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74b20707a956c3d42e77"><code>1</code></span>

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

### <code>&#35;gpio&#45;cells</code> — not listed as required here

<div id="dt-70b20397c3c73794f833">
<p style="white-space: pre-wrap">Indicates how many cells are used in a consumer's GPIO specifier. In the
specifier:</p>
<pre><code>  - The first cell is the pin number.
    See &lt;dt-bindings/gpio/tegra186-gpio.h&gt;.
  - The second cell contains flags:
    - Bit 0 specifies polarity
      - 0: Active-high (normal).
      - 1: Active-low (inverted).</code></pre>
</div>

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>interrupt&#45;controller</code> — not listed as required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

<div id="dt-0cc2c51365b6879fba3b">
<p style="white-space: pre-wrap">Indicates how many cells are used in a consumer's interrupt specifier.
In the specifier:</p>
<pre><code>  - The first cell is the GPIO number.
    See &lt;dt-bindings/gpio/tegra186-gpio.h&gt;.
  - The second cell is contains flags:
    - Bits [3:0] indicate trigger type and level:
      - 1: Low-to-high edge triggered.
      - 2: High-to-low edge triggered.
      - 4: Active high level-sensitive.
      - 8: Active low level-sensitive.</code></pre>
<pre><code>      Valid combinations are 1, 2, 3, 4, 8.</code></pre>
</div>

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

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

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b5c9dbe70762f9ad7bb5"></a> <span id="dt-d017b1b1b5a0bb01c549"><code>&#34;nvidia&#44;tegra186&#45;gpio&#34;</code></span>, <span id="dt-b1891799a94ae03bda89"><code>&#34;nvidia&#44;tegra194&#45;gpio&#34;</code></span>, <span id="dt-f7ddd2674cdadacec733"><code>&#34;nvidia&#44;tegra234&#45;gpio&#34;</code></span>, <span id="dt-1afa9c359b113daf77e4"><code>&#34;nvidia&#44;tegra256&#45;gpio&#34;</code></span>, <span id="dt-f4184526859cd3d4f83a"><code>&#34;nvidia&#44;tegra264&#45;gpio&#34;</code></span>, <span id="dt-5781a391973aa6c79186"><code>&#34;nvidia&#44;tegra264&#45;gpio&#45;uphy&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-7787b28725c144fbfc92"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-434103e5dab0dc9821c6"><code>6</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-f83fd3bbdeba05802410"><code>48</code></span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;nvidia&#44;tegra186&#45;gpio&#45;aon&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;nvidia&#44;tegra194&#45;gpio&#45;aon&#34;</code></span>, <span id="dt-d29379bd469379c8aac7"><code>&#34;nvidia&#44;tegra234&#45;gpio&#45;aon&#34;</code></span>, <span id="dt-4d46427daeb4d8de3150"><code>&#34;nvidia&#44;tegra264&#45;gpio&#45;aon&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-46e318450db8639361ba"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-4e9b8776c0efa8e9014c"><code>1</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-5826f726e17db7a38ebe"><code>4</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;nvidia&#44;tegra264&#45;gpio&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;nvidia&#44;tegra264&#45;gpio&#45;uphy&#34;</code></span>, <span id="dt-d1d620265d00d6403d17"><code>&#34;nvidia&#44;tegra264&#45;gpio&#45;aon&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-caec4da91c2837148d80"></a> <span id="dt-aa785038ee05bfb1e067"><code>&#34;wakeup&#45;parent&#34;</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#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">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

gpio@2200000 {
    compatible = "nvidia,tegra186-gpio";
    reg-names = "security", "gpio";
    reg = &lt;0x2200000 0x10000&gt;,
          &lt;0x2210000 0x10000&gt;;
    interrupts = &lt;0  47 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;0  50 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;0  53 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;0  56 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;0  59 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;0 180 IRQ_TYPE_LEVEL_HIGH&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
};

gpio@c2f0000 {
    compatible = "nvidia,tegra186-gpio-aon";
    reg-names = "security", "gpio";
    reg = &lt;0xc2f0000 0x1000&gt;,
          &lt;0xc2f1000 0x1000&gt;;
    interrupts = &lt;0 60 IRQ_TYPE_LEVEL_HIGH&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&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>

---

# NVIDIA Tegra GPIO Controller (Tegra20 - Tegra210)

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

> Device-tree binding reference for NVIDIA Tegra GPIO Controller (Tegra20 - Tegra210).

<!-- 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;gpio&#47;nvidia&#44;tegra20&#45;gpio&#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;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;nvidia&#44;tegra20&#45;gpio&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;nvidia&#44;tegra30&#45;gpio&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;nvidia&#44;tegra114&#45;gpio&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;nvidia&#44;tegra124&#45;gpio&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;nvidia&#44;tegra210&#45;gpio&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra30&#45;gpio&#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-c2de09e7f7fd211b679d"></a>

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The interrupt outputs from the controller. For Tegra20, there should be 7 interrupts specified, and for Tegra30, there should be 8 interrupts specified.</p>
</div>

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

### <code>&#35;gpio&#45;cells</code> — required here

<div id="dt-70b20397c3c73794f833">
<p style="white-space: pre-wrap">The first cell is the pin number and the second cell is used to specify the GPIO polarity (0 = active high, 1 = active low).</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

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

### <code>gpio&#45;ranges</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74b20707a956c3d42e77"><code>1</code></span>

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

<div id="dt-0cc2c51365b6879fba3b">
<p style="white-space: pre-wrap">Should be 2. The first cell is the GPIO number. The second cell is
used to specify flags:</p>
<pre><code>  bits[3:0] trigger type and level flags:
    1 = low-to-high edge triggered.
    2 = high-to-low edge triggered.
    4 = active high level-sensitive.
    8 = active low level-sensitive.</code></pre>
<p style="white-space: pre-wrap">Valid combinations are 1, 2, 3, 4, 8.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

### <code>interrupt&#45;controller</code> — required here

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

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

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

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;nvidia&#44;tegra30&#45;gpio&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-7787b28725c144fbfc92"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-434103e5dab0dc9821c6"><code>8</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-f83fd3bbdeba05802410"><code>8</code></span>
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-0b56c96a40292905ded0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-c67bbe72af985902ec8f"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-3bc3f9c58c175fd4ea15"><code>7</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-1acbcc4149f500ebfc36"><code>7</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;interrupt&#45;controller&#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>
>
> **Required in this object (<code>required</code>):** <a id="dt-d0b10544ec067eed73a2"></a> <span id="dt-d8feffb8557e7097b8f9"><code>&#34;gpio&#45;hog&#34;</code></span>

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

gpio: gpio@6000d000 {
    compatible = "nvidia,tegra20-gpio";
    reg = &lt;0x6000d000 0x1000&gt;;
    interrupts = &lt;GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH&gt;;
    #gpio-cells = &lt;2&gt;;
    gpio-controller;
    #interrupt-cells = &lt;2&gt;;
    interrupt-controller;
};
</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>

---

# NXP LPC18xx/43xx GPIO controller

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

> Device-tree binding reference for NXP LPC18xx/43xx 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;gpio&#47;nxp&#44;lpc1850&#45;gpio&#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;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;nxp&#44;lpc1850&#45;gpio&#34;</code></span>

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-4b3e7791b11b96c3db87"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>4</code></span>

<a id="dt-a25ee402afa562132bc5"></a>

### <code>reg&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-3f2820449161ca72af98"><code>1</code></span>

<a id="dt-cb45e4d562022f44522c"></a>

#### Array item rules (<code>items</code>)

<a id="dt-ad0326e242afa18bd21a"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;gpio&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;gpio&#45;pin&#45;ic&#34;</code></span>

<a id="dt-dd584520d0fd1feaa634"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-bd78c6ffbdc5ce20feb0"><code>&#34;gpio&#45;group0&#45;ic&#34;</code></span>

<a id="dt-fa79136aca5560f01834"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-98e4b3caabf49b98c17d"><code>&#34;gpio&#45;gpoup1&#45;ic&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<div id="dt-0cc2c51365b6879fba3b">
<pre><code>- The first cell is an interrupt number within
  0..9 range, for GPIO pin interrupts it is equal
  to 'nxp,gpio-pin-interrupt' property value of
  GPIO pin configuration, 8 is for GPIO GROUP0
  interrupt, 9 is for GPIO GROUP1 interrupt
- The second cell is used to specify interrupt type</code></pre>
</div>

<a id="dt-e90ed33ab740dccb72d7"></a>

### <code>gpio&#45;ranges</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-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;gpio&#45;cells&#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">#include &lt;dt-bindings/clock/lpc18xx-ccu.h&gt;

gpio@400f4000 {
    compatible = "nxp,lpc1850-gpio";
    reg = &lt;0x400f4000 0x4000&gt;, &lt;0x40087000 0x1000&gt;,
          &lt;0x40088000 0x1000&gt;, &lt;0x40089000 0x1000&gt;;
    reg-names = "gpio", "gpio-pin-ic", "gpio-group0-ic", "gpio-gpoup1-ic";
    clocks = &lt;&amp;ccu1 CLK_CPU_GPIO&gt;;
    resets = &lt;&amp;rgu 28&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&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>

---

# NXP LPC3220 SoC GPIO controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for NXP LPC3220 SoC 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;gpio&#47;nxp&#44;lpc3220&#45;gpio&#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;Animesh Agarwal &#60;animeshagarwal28&#64;gmail&#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;nxp&#44;lpc3220&#45;gpio&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>3</code></span>

<div id="dt-70b20397c3c73794f833">
<pre><code>1) bank:
  0: GPIO P0
  1: GPIO P1
  2: GPIO P2
  3: GPIO P3
  4: GPI P3
  5: GPO P3
2) pin number
3) flags:
  - bit 0 specifies polarity (0 for normal, 1 for inverted)</code></pre>
</div>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#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">gpio@40028000 {
    compatible = "nxp,lpc3220-gpio";
    reg = &lt;0x40028000 0x1000&gt;;
    gpio-controller;
    #gpio-cells = &lt;3&gt;; /* bank, pin, flags */
};
</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>

---

# PCF857x-compatible I/O expanders

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for PCF857x-compatible I/O expanders.

<!-- 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;gpio&#47;nxp&#44;pcf8575&#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;Laurent Pinchart &#60;laurent&#46;pinchart&#43;renesas&#64;ideasonboard&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The PCF857x-compatible chips have "quasi-bidirectional" I/O lines that can be driven high by a pull-up current source or driven low to ground. This combines the direction and output level into a single bit per line, which can't be read back. We can't actually know at initialization time whether a line is configured (a) as output and driving the signal low/high, or (b) as input and reporting a low/high value, without knowing the last value written since the chip came out of reset (if any). The only reliable solution for setting up line direction is thus to do it explicitly.</p>
</div>

<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;maxim&#44;max7328&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;maxim&#44;max7329&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;nxp&#44;pca8574&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;nxp&#44;pca8575&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;nxp&#44;pca9670&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;nxp&#44;pca9671&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;nxp&#44;pca9672&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;nxp&#44;pca9673&#34;</code></span>, <span id="dt-07feb33463d5c114ab05"><code>&#34;nxp&#44;pca9674&#34;</code></span>, <span id="dt-1e634b71c3167df349bb"><code>&#34;nxp&#44;pca9675&#34;</code></span>, <span id="dt-70e866729f00cfce3510"><code>&#34;nxp&#44;pcf8574&#34;</code></span>, <span id="dt-81f973819a6dd2302321"><code>&#34;nxp&#44;pcf8574a&#34;</code></span>, <span id="dt-e5cbf931a6c5d40231a9"><code>&#34;nxp&#44;pcf8575&#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-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-a63b03dba047b6fd45f0"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7da1f39f1fcedec6860"><code>16</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<div id="dt-70b20397c3c73794f833">
<p style="white-space: pre-wrap">The first cell is the GPIO number and the second cell specifies GPIO flags, as defined in &lt;dt-bindings/gpio/gpio.h&gt;. Only the GPIO_ACTIVE_HIGH and GPIO_ACTIVE_LOW flags are supported.</p>
</div>

<a id="dt-f53488265f4fd718603f"></a>

### <code>lines&#45;initial&#45;states</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e62f0b34eed57dc3ec81">[<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-f9efed7b192d329596f7">
<p style="white-space: pre-wrap">Bitmask that specifies the initial state of each line. When a bit is set to zero, the corresponding line will be initialized to the input (pulled-up) state. When the  bit is set to one, the line will be initialized to the low-level output state. If the property is not specified all lines will be initialized to the input state.</p>
</div>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-2a09d6d20023955671c8"></a>

### <code>wakeup&#45;source</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">GPIO controlling the (reset active LOW) RESET# pin.
The active polarity of the GPIO must translate to the low state of the RESET# pin on the IC, i.e. if a GPIO is directly routed to the RESET# pin without any inverter, GPIO_ACTIVE_LOW is expected.
Performing a reset makes all lines initialized to their input (pulled-up) state.</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-bf9d7a6c36fc19e6cd0a"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-451f8454a4f96d20fdd9"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Allowed values (<code>enum</code>):** <a id="dt-b0443397560b968195b8"></a> <span id="dt-eee805568886c3c0f483"><code>&#34;nxp&#44;pca9670&#34;</code></span>, <span id="dt-db8973c13f1a89db260a"><code>&#34;nxp&#44;pca9671&#34;</code></span>, <span id="dt-5867a4059d130044db8c"><code>&#34;nxp&#44;pca9672&#34;</code></span>, <span id="dt-3ce27c0a9eaf0b6688a2"><code>&#34;nxp&#44;pca9673&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-a7d7e9bb152e9982ff34"></a>
> >
> > **<code>reset&#45;gpios</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-5f135e3db8ef1aa53700"></a> <span id="dt-0164887f025a095456fa"><code>&#34;lines&#45;initial&#45;states&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-398076edceb8f164a46e"></a>
> >
> > **<code>reset&#45;gpios</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-ec94f61c944937db4fec"></a>

### <code>&#94;&#40;&#46;&#43;&#45;hog&#40;&#45;&#91;0&#45;9&#93;&#43;&#41;&#63;&#41;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-3a8fcc813bbdcc2a8f90"><code>&#34;object&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-60f24b032382c79d795e"></a> <span id="dt-a3e4a723e048081b8fe8"><code>&#34;gpio&#45;hog&#34;</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    gpio@20 {
        compatible = "nxp,pcf8575";
        reg = &lt;0x20&gt;;
        interrupt-parent = &lt;&amp;irqpin2&gt;;
        interrupts = &lt;3 0&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;2&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>

<p id="dt-comment-1"><strong>Line 103:</strong> <span> lines-initial-states XOR reset-gpios</span></p>

<p id="dt-comment-2"><strong>Line 104:</strong> <span> Performing a reset reinitializes all lines to a known state which</span></p>

<p id="dt-comment-3"><strong>Line 105:</strong> <span> may not match passed lines-initial-states</span></p>

</details>

---

# Generic Parallel-in/Serial-out Shift Register GPIO Driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for Generic Parallel-in/Serial-out Shift Register GPIO Driver.

<!-- 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;gpio&#47;pisosr&#45;gpio&#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">This binding describes generic parallel-in/serial-out shift register devices that can be used for GPI (General Purpose Input). This includes SN74165 serial-out shift registers and the SN65HVS88x series of industrial serializers.</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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;pisosr&#45;gpio&#34;</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-ce114a5cf59c2bad1f56"></a>

### <code>ngpios</code> — not listed as required here

**Maximum value (<code>maximum</code>):** <span id="dt-36d4cd2652ecdcb61809"><code>32</code></span>

**Default value (<code>default</code>):** <span id="dt-79a2457790814f19e7f7"><code>8</code></span>

<a id="dt-d4433d020c97298aee15"></a>

### <code>load&#45;gpios</code> — not listed as required here

<div id="dt-2d4bb13909ef11d15b00">
<p style="white-space: pre-wrap">GPIO pin specifier attached to load enable, this pin is pulsed before reading from the device to load input pin values into the device.</p>
</div>

<a id="dt-27851c8ce8d41152ef35"></a>

### <code>spi&#45;cpol</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-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;gpio&#45;cells&#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>&#47;schemas&#47;spi&#47;spi&#45;peripheral&#45;props&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-spi/spi-peripheral-props.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">#include &lt;dt-bindings/gpio/gpio.h&gt;

spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    gpio@0 {
        compatible = "pisosr-gpio";
        reg = &lt;0&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        load-gpios = &lt;&amp;gpio2 23 GPIO_ACTIVE_LOW&gt;;
        spi-max-frequency = &lt;1000000&gt;;
        spi-cpol;
    };
};
</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>

---

# ARM PL061 GPIO controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for ARM PL061 GPIO controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;gpio&#47;pl061&#45;gpio&#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>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Rob Herring &#60;robh&#64;kernel&#46;org&#62;&#34;</code></span>

<a id="dt-865ef19e891fb9fe7b15"></a>

## Automatic schema selection (<code>select</code>)

> <a id="dt-54d143fae2406295c883"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-e3400bab629503b08322"></a>
>
> #### <code>compatible</code> — required here
>
> <a id="dt-2ae4f0f9580bb5b2e406"></a>
>
> **Rule for matching array elements (<code>contains</code>)**
>
> > **Exact value (<code>const</code>):** <span id="dt-ec9d1b9a16d82a7e3a72"><code>&#34;arm&#44;pl061&#34;</code></span>
>
> **Required in this object (<code>required</code>):** <a id="dt-c7b135d3aebb6d627788"></a> <span id="dt-7b7a89ef483af1198868"><code>&#34;compatible&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;gpio&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-cc3709943397035582d2"></a>

#### Array item rules (<code>items</code>)

<a id="dt-fec97e71a4359503ae6e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-aaadfb6b044cada8472e"><code>&#34;arm&#44;pl061&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;arm&#44;primecell&#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-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

<a id="dt-9b52a451eef25c07694b"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-d26657d1580e6ce9e383"></a>

**Rule 1**

> **Maximum number of items (<code>maxItems</code>):** <span id="dt-d4cb9b72cf8692a1b90e"><code>1</code></span>

<a id="dt-ecf43776b66e4d97ec59"></a>

**Rule 2**

> **Maximum number of items (<code>maxItems</code>):** <span id="dt-9931b26a24523a1e4e2c"><code>8</code></span>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-e90ed33ab740dccb72d7"></a>

### <code>gpio&#45;ranges</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-ce5d21371b6c666c1fd2"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74b20707a956c3d42e77"><code>8</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;gpio&#45;controller&#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.

## 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 OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 13:</strong> <span> We need a select here so we don't match all nodes with 'arm,primecell'</span></p>

</details>

---

# Qualcomm Atheros AR7xxx/AR9xxx GPIO controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for Qualcomm Atheros AR7xxx/AR9xxx 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;gpio&#47;qca&#44;ar7100&#45;gpio&#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;Alban Bedel &#60;albeu&#64;free&#46;fr&#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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5deec2612224d8d915da"><code>&#34;qca&#44;ar9132&#45;gpio&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;qca&#44;ar7100&#45;gpio&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Allowed values (<code>enum</code>):** <a id="dt-ad5dbad5326d5a61ae46"></a> <span id="dt-af4759e2a8ab9583f63d"><code>&#34;qca&#44;ar7100&#45;gpio&#34;</code></span>, <span id="dt-9aa1d0e5d9a73a253eb7"><code>&#34;qca&#44;ar9340&#45;gpio&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-ce114a5cf59c2bad1f56"></a>

### <code>ngpios</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;ngpios&#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">gpio@18040000 {
    compatible = "qca,ar9132-gpio", "qca,ar7100-gpio";
    reg = &lt;0x18040000 0x30&gt;;
    interrupts = &lt;2&gt;;
    ngpios = &lt;22&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&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>

---

# WCD9340/WCD9341 GPIO controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for WCD9340/WCD9341 GPIO controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;gpio&#47;qcom&#44;wcd934x&#45;gpio&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Qualcomm Technologies Inc WCD9340/WCD9341 Audio Codec has integrated
gpio controller to control 5 gpios on the chip.</p>
</div>

<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;qcom&#44;wcd9340&#45;gpio&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;qcom&#44;wcd9341&#45;gpio&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#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">wcdgpio: gpio@42 {
    compatible = "qcom,wcd9340-gpio";
    reg = &lt;0x042 0x2&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&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 OR BSD-2-Clause)</span></p>

</details>

---

# Realtek Otto GPIO controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for Realtek Otto 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;gpio&#47;realtek&#44;otto&#45;gpio&#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;Sander Vanheule &#60;sander&#64;svanheule&#46;net&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Bert Vermeulen &#60;bert&#64;biot&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Realtek's GPIO controller on their MIPS switch SoCs (Otto platform) consists
of two banks of 32 GPIOs. These GPIOs can generate edge-triggered interrupts.
Each bank's interrupts are cascased into one interrupt line on the parent
interrupt controller, if provided.
This binding allows defining a single bank in the devicetree. The interrupt
controller is not supported on the fallback compatible name, which only
allows for GPIO port use.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;gpio&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-cc3709943397035582d2"></a>

#### Array item rules (<code>items</code>)

<a id="dt-fec97e71a4359503ae6e"></a>

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-851ace07a50c83495949"></a> <span id="dt-63b688f2ccd82724cb8f"><code>&#34;realtek&#44;rtl8380&#45;gpio&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;realtek&#44;rtl8390&#45;gpio&#34;</code></span>, <span id="dt-9802844ed4869452d348"><code>&#34;realtek&#44;rtl9300&#45;gpio&#34;</code></span>, <span id="dt-24a1253e29125294194d"><code>&#34;realtek&#44;rtl9310&#45;gpio&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;realtek&#44;otto&#45;gpio&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-ce114a5cf59c2bad1f56"></a>

### <code>ngpios</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-4ef4898ec8b764d69b54"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-36d4cd2652ecdcb61809"><code>32</code></span>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-0c7b6d12024f922c1b96"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-824fdc441f7c94ae56ca"></a>
>
> #### <code>compatible</code> — not listed as required here
>
> <a id="dt-8239149d6c8b0a5dabbe"></a>
>
> **Rule for matching array elements (<code>contains</code>)**
>
> > **Exact value (<code>const</code>):** <span id="dt-0259836b095562054cc8"><code>&#34;realtek&#44;rtl9300&#45;gpio&#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-8893b96000b374eb19f2"></a>
>
> #### <code>reg</code> — not listed as required here
>
> <a id="dt-2b3fe04a47e17c962dc2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4d7a5599c6685d1b1347"></a>
>
> **Item 1**
>
> > <div id="dt-e6386dad4b9758dbdc55">
> > <p style="white-space: pre-wrap">GPIO and interrupt control</p>
> > </div>
>
> <a id="dt-116d5405e5ac57aa3e7a"></a>
>
> **Item 2**
>
> > <div id="dt-54657e0e5316f45c20f0">
> > <p style="white-space: pre-wrap">interrupt CPU map</p>
> > </div>

<a id="dt-6f6ab6f7f4b3f2f2f0a8"></a>

## When the condition does not match (<code>else</code>)

> <a id="dt-cf075a4b84ee9b101feb"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-5e0272d80ce3f49e1ff9"></a>
>
> #### <code>reg</code> — not listed as required here
>
> <a id="dt-2467125f94d38afed6a0"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-e0eab801672442714725"></a>
>
> **Item 1**
>
> > <div id="dt-7e7ada6fdce923812f1d">
> > <p style="white-space: pre-wrap">GPIO and interrupt control</p>
> > </div>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#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-3d235861b18e278e9c09"></a>

## Property dependencies (<code>dependencies</code>)

<a id="dt-a1c13163584362e277b1"></a>

### <code>interrupt&#45;controller</code> — applies when this property is present

Also requires: <span id="dt-f73d6262bfa47fb7a0bc"><code>&#34;interrupts&#34;</code></span>

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">gpio@3500 {
    compatible = "realtek,rtl8380-gpio", "realtek,otto-gpio";
    reg = &lt;0x3500 0x1c&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    ngpios = &lt;24&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
    interrupt-parent = &lt;&amp;rtlintc&gt;;
    interrupts = &lt;23&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">gpio@3300 {
    compatible = "realtek,rtl9300-gpio", "realtek,otto-gpio";
    reg = &lt;0x3300 0x1c&gt;, &lt;0x3338 0x8&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    ngpios = &lt;24&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
    interrupt-parent = &lt;&amp;rtlintc&gt;;
    interrupts = &lt;13&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>

---

# Realtek DHC GPIO controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for Realtek DHC GPIO controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;gpio&#47;realtek&#44;rtd&#45;gpio&#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;Tzuyi Chang &#60;tychang&#64;realtek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The GPIO controller is designed for the Realtek DHC (Digital Home Center) RTD series SoC family, which are high-definition media processor SoCs.</p>
</div>

<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;realtek&#44;rtd1295&#45;misc&#45;gpio&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;realtek&#44;rtd1295&#45;iso&#45;gpio&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;realtek&#44;rtd1315e&#45;iso&#45;gpio&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;realtek&#44;rtd1319&#45;iso&#45;gpio&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;realtek&#44;rtd1319d&#45;iso&#45;gpio&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;realtek&#44;rtd1395&#45;iso&#45;gpio&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;realtek&#44;rtd1619&#45;iso&#45;gpio&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;realtek&#44;rtd1619b&#45;iso&#45;gpio&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<a id="dt-b6190d107f3246c9804f"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c90b61e446f8f3080e3c"></a>

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">GPIO controller registers</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">GPIO interrupt registers</p>
> </div>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

<a id="dt-985aed94c3a5de8e946a"></a>

#### Array item rules (<code>items</code>)

<a id="dt-bc458260662c6fe0b59f"></a>

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">Interrupt number of the assert GPIO interrupt, which is triggered when there is a rising edge.</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">Interrupt number of the deassert GPIO interrupt, which is triggered when there is a falling edge.</p>
> </div>

<a id="dt-e90ed33ab740dccb72d7"></a>

### <code>gpio&#45;ranges</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;ranges&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;gpio&#45;cells&#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">gpio@100 {
  compatible = "realtek,rtd1319d-iso-gpio";
  reg = &lt;0x100 0x100&gt;,
        &lt;0x0 0xb0&gt;;
  interrupt-parent = &lt;&amp;iso_irq_mux&gt;;
  interrupts = &lt;19&gt;, &lt;20&gt;;
  gpio-ranges = &lt;&amp;pinctrl 0 0 82&gt;;
  gpio-controller;
  #gpio-cells = &lt;2&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 OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright 2023 Realtek Semiconductor Corporation</span></p>

</details>

---

# Renesas EMMA Mobile General Purpose I/O Interface

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for Renesas EMMA Mobile General Purpose I/O Interface.

<!-- 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;gpio&#47;renesas&#44;em&#45;gio&#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;Magnus Damm &#60;magnus&#46;damm&#64;gmail&#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;renesas&#44;em&#45;gio&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<a id="dt-b6190d107f3246c9804f"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c90b61e446f8f3080e3c"></a>

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">First set of contiguous registers</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">Second set of contiguous registers</p>
> </div>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

<a id="dt-985aed94c3a5de8e946a"></a>

#### Array item rules (<code>items</code>)

<a id="dt-bc458260662c6fe0b59f"></a>

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">Interrupt for the first set of 16 GPIO ports</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">Interrupt for the second set of 16 GPIO ports</p>
> </div>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-e90ed33ab740dccb72d7"></a>

### <code>gpio&#45;ranges</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74b20707a956c3d42e77"><code>1</code></span>

<a id="dt-ce114a5cf59c2bad1f56"></a>

### <code>ngpios</code> — required here

**Minimum value (<code>minimum</code>):** <span id="dt-4ef4898ec8b764d69b54"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-36d4cd2652ecdcb61809"><code>32</code></span>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;gpio&#45;ranges&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;ngpios&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;&#35;interrupt&#45;cells&#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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
gpio0: gpio@e0050000 {
    compatible = "renesas,em-gio";
    reg = &lt;0xe0050000 0x2c&gt;, &lt;0xe0050040 0x20&gt;;
    interrupts = &lt;GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    gpio-ranges = &lt;&amp;pfc 0 0 32&gt;;
    ngpios = &lt;32&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&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>

---

# Renesas R-Car General-Purpose Input/Output Ports (GPIO)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for Renesas R-Car General-Purpose Input/Output Ports (GPIO).

<!-- 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;gpio&#47;renesas&#44;rcar&#45;gpio&#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;Geert Uytterhoeven &#60;geert&#43;renesas&#64;glider&#46;be&#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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;renesas&#44;gpio&#45;r8a7778&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;renesas&#44;gpio&#45;r8a7779&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;renesas&#44;rcar&#45;gen1&#45;gpio&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;renesas&#44;gpio&#45;r8a7742&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;renesas&#44;gpio&#45;r8a7743&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;renesas&#44;gpio&#45;r8a7744&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;renesas&#44;gpio&#45;r8a7745&#34;</code></span>, <span id="dt-eb61ad381053476dae55"><code>&#34;renesas&#44;gpio&#45;r8a77470&#34;</code></span>, <span id="dt-05b29c21ca38ad337d53"><code>&#34;renesas&#44;gpio&#45;r8a7790&#34;</code></span>, <span id="dt-93c2763ada782db7e26c"><code>&#34;renesas&#44;gpio&#45;r8a7791&#34;</code></span>, <span id="dt-36a81d983bbaf2a6b89d"><code>&#34;renesas&#44;gpio&#45;r8a7792&#34;</code></span>, <span id="dt-bbccc6a1a74023520617"><code>&#34;renesas&#44;gpio&#45;r8a7793&#34;</code></span>, <span id="dt-ca5599deed0d8617e9ff"><code>&#34;renesas&#44;gpio&#45;r8a7794&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;renesas&#44;rcar&#45;gen2&#45;gpio&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;renesas&#44;gpio&#45;r8a774a1&#34;</code></span>, <span id="dt-4f2dd487e4b2e6e79827"><code>&#34;renesas&#44;gpio&#45;r8a774b1&#34;</code></span>, <span id="dt-dba59cbb664a09df0380"><code>&#34;renesas&#44;gpio&#45;r8a774c0&#34;</code></span>, <span id="dt-7337bb6973adc8f5010d"><code>&#34;renesas&#44;gpio&#45;r8a774e1&#34;</code></span>, <span id="dt-2a4824de128057522b89"><code>&#34;renesas&#44;gpio&#45;r8a7795&#34;</code></span>, <span id="dt-9d0b7e5fcd963b685b0d"><code>&#34;renesas&#44;gpio&#45;r8a7796&#34;</code></span>, <span id="dt-53e062f93be7aa5d7bb3"><code>&#34;renesas&#44;gpio&#45;r8a77961&#34;</code></span>, <span id="dt-6bdd021aae4cd71c629b"><code>&#34;renesas&#44;gpio&#45;r8a77965&#34;</code></span>, <span id="dt-f0a41fb0ccb86c57a4ce"><code>&#34;renesas&#44;gpio&#45;r8a77970&#34;</code></span>, <span id="dt-5697b2b922b4810e5e2a"><code>&#34;renesas&#44;gpio&#45;r8a77980&#34;</code></span>, <span id="dt-ae3ba9ea351c25bd7b93"><code>&#34;renesas&#44;gpio&#45;r8a77990&#34;</code></span>, <span id="dt-4734b2dd6b7318b3e978"><code>&#34;renesas&#44;gpio&#45;r8a77995&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;renesas&#44;rcar&#45;gen3&#45;gpio&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> <a id="dt-a1b1c435b08c85ff96c7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4758c8f9c99bfa28b10c"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-12b3e48e4010cb944698"></a> <span id="dt-e46f645e6715baa60581"><code>&#34;renesas&#44;gpio&#45;r8a779a0&#34;</code></span>, <span id="dt-f0654d9dc65c16ce7d6a"><code>&#34;renesas&#44;gpio&#45;r8a779f0&#34;</code></span>, <span id="dt-80bf5233c0e34928f5ac"><code>&#34;renesas&#44;gpio&#45;r8a779g0&#34;</code></span>, <span id="dt-3e86066ba2e9703b9565"><code>&#34;renesas&#44;gpio&#45;r8a779h0&#34;</code></span>
>
> <a id="dt-c99d921c49bf15e79633"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-9e0f2ef968dd632f09b7"><code>&#34;renesas&#44;rcar&#45;gen4&#45;gpio&#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-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-e90ed33ab740dccb72d7"></a>

### <code>gpio&#45;ranges</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74b20707a956c3d42e77"><code>1</code></span>

<a id="dt-85503ea01c9afc607077"></a>

### <code>gpio&#45;reserved&#45;ranges</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-a94ebd3447aafc58c61b"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c5e38cd297aad601f9ab"><code>8</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-780725015d39b7ea932c"></a>

### <code>&#94;&#46;&#42;&#36;</code> — name matches this regular expression

<a id="dt-51d9ba1686847eb00118"></a>

#### Condition (<code>if</code>)

> **Value type (<code>type</code>):** <span id="dt-7db2bfb07c3d6e95350b"><code>&#34;object&#34;</code></span>

<a id="dt-344ee7e832b63b384c08"></a>

#### When the condition matches (<code>then</code>)

> <a id="dt-0862c77a46a0b4fb8743"></a>
>
> **Properties and child nodes (<code>properties</code>)**
>
> <a id="dt-8124db087280586e7a18"></a>
>
> **<code>gpio&#45;hog</code> — required here**
>
> <code>true</code> — No constraints added by this property rule.
>
> <a id="dt-9eb3f87c727762ee2e32"></a>
>
> **<code>gpios</code> — required here**
>
> <code>true</code> — No constraints added by this property rule.
>
> <a id="dt-d7fff5fbefb8fe454eca"></a>
>
> **<code>input</code> — not listed as required here**
>
> <code>true</code> — No constraints added by this property rule.
>
> <a id="dt-9af50bc7fae45fab4c9a"></a>
>
> **<code>output&#45;high</code> — not listed as required here**
>
> <code>true</code> — No constraints added by this property rule.
>
> <a id="dt-8b43ee4f54f9fc4e37a4"></a>
>
> **<code>output&#45;low</code> — not listed as required here**
>
> <code>true</code> — No constraints added by this property rule.
>
> <a id="dt-4bed8ab95364f70095d3"></a>
>
> **<code>line&#45;name</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-b3f216c09fa433deeb00"></a> <span id="dt-f8bd9812ed6281b59a15"><code>&#34;gpio&#45;hog&#34;</code></span>, <span id="dt-27b6af5ae3609170387e"><code>&#34;gpios&#34;</code></span>
>
> <a id="dt-3aceac670bbfc6ce9409"></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;gpio&#45;ranges&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-3bfe73d6d5d592adab9c"></a>
>
> ### This rule must not match (<code>not</code>)
>
> > <a id="dt-f5021076855403a9683d"></a>
> >
> > #### Properties and child nodes (<code>properties</code>)
> >
> > <a id="dt-ec318efdc6e27fef954f"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-026175eea792feb254b1"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-74e1084322f82a11eb8c"></a> <span id="dt-a0a2e4a684c3c0084c59"><code>&#34;renesas&#44;rcar&#45;gen1&#45;gpio&#34;</code></span>

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> **Required in this object (<code>required</code>):** <a id="dt-824165741bab07e919e7"></a> <span id="dt-0be16f81402541b26aff"><code>&#34;clocks&#34;</code></span>, <span id="dt-dd9db9085e2885964a9c"><code>&#34;power&#45;domains&#34;</code></span>, <span id="dt-0d447fba1979bb23b68c"><code>&#34;resets&#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">#include &lt;dt-bindings/clock/r8a77470-cpg-mssr.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/power/r8a77470-sysc.h&gt;
gpio3: gpio@e6053000 {
    compatible = "renesas,gpio-r8a77470", "renesas,rcar-gen2-gpio";
    reg = &lt;0xe6053000 0x50&gt;;
    interrupts = &lt;GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;cpg CPG_MOD 909&gt;;
    power-domains = &lt;&amp;sysc R8A77470_PD_ALWAYS_ON&gt;;
    resets = &lt;&amp;cpg 909&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    gpio-ranges = &lt;&amp;pfc 0 96 30&gt;;
    gpio-reserved-ranges = &lt;17 10&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&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>

<p id="dt-comment-1"><strong>Line 17:</strong> <span> R-Car M1</span></p>

<p id="dt-comment-2"><strong>Line 18:</strong> <span> R-Car H1</span></p>

<p id="dt-comment-3"><strong>Line 19:</strong> <span> R-Car Gen1</span></p>

<p id="dt-comment-4"><strong>Line 23:</strong> <span> RZ/G1H</span></p>

<p id="dt-comment-5"><strong>Line 24:</strong> <span> RZ/G1M</span></p>

<p id="dt-comment-6"><strong>Line 25:</strong> <span> RZ/G1N</span></p>

<p id="dt-comment-7"><strong>Line 26:</strong> <span> RZ/G1E</span></p>

<p id="dt-comment-8"><strong>Line 27:</strong> <span> RZ/G1C</span></p>

<p id="dt-comment-9"><strong>Line 28:</strong> <span> R-Car H2</span></p>

<p id="dt-comment-10"><strong>Line 29:</strong> <span> R-Car M2-W</span></p>

<p id="dt-comment-11"><strong>Line 30:</strong> <span> R-Car V2H</span></p>

<p id="dt-comment-12"><strong>Line 31:</strong> <span> R-Car M2-N</span></p>

<p id="dt-comment-13"><strong>Line 32:</strong> <span> R-Car E2</span></p>

<p id="dt-comment-14"><strong>Line 33:</strong> <span> R-Car Gen2 or RZ/G1</span></p>

<p id="dt-comment-15"><strong>Line 37:</strong> <span> RZ/G2M</span></p>

<p id="dt-comment-16"><strong>Line 38:</strong> <span> RZ/G2N</span></p>

<p id="dt-comment-17"><strong>Line 39:</strong> <span> RZ/G2E</span></p>

<p id="dt-comment-18"><strong>Line 40:</strong> <span> RZ/G2H</span></p>

<p id="dt-comment-19"><strong>Line 41:</strong> <span> R-Car H3</span></p>

<p id="dt-comment-20"><strong>Line 42:</strong> <span> R-Car M3-W</span></p>

<p id="dt-comment-21"><strong>Line 43:</strong> <span> R-Car M3-W+</span></p>

<p id="dt-comment-22"><strong>Line 44:</strong> <span> R-Car M3-N</span></p>

<p id="dt-comment-23"><strong>Line 45:</strong> <span> R-Car V3M</span></p>

<p id="dt-comment-24"><strong>Line 46:</strong> <span> R-Car V3H</span></p>

<p id="dt-comment-25"><strong>Line 47:</strong> <span> R-Car E3</span></p>

<p id="dt-comment-26"><strong>Line 48:</strong> <span> R-Car D3</span></p>

<p id="dt-comment-27"><strong>Line 49:</strong> <span> R-Car Gen3 or RZ/G2</span></p>

<p id="dt-comment-28"><strong>Line 53:</strong> <span> R-Car V3U</span></p>

<p id="dt-comment-29"><strong>Line 54:</strong> <span> R-Car S4-8</span></p>

<p id="dt-comment-30"><strong>Line 55:</strong> <span> R-Car V4H</span></p>

<p id="dt-comment-31"><strong>Line 56:</strong> <span> R-Car V4M</span></p>

<p id="dt-comment-32"><strong>Line 57:</strong> <span> R-Car Gen4</span></p>

</details>

---

# Rockchip GPIO bank

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for Rockchip GPIO bank.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;gpio&#47;rockchip&#44;gpio&#45;bank&#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;Heiko Stuebner &#60;heiko&#64;sntech&#46;de&#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;rockchip&#44;gpio&#45;bank&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;rockchip&#44;rk3188&#45;gpio&#45;bank0&#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-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">APB interface clock source</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">GPIO debounce reference clock source</p>
> </div>

<a id="dt-e90ed33ab740dccb72d7"></a>

### <code>gpio&#45;ranges</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-7b738beac91712b0cebe"></a>

### <code>&#94;&#46;&#43;&#45;hog&#40;&#45;&#91;0&#45;9&#93;&#43;&#41;&#63;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-d56645a30d9b849ee403"><code>&#34;object&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-46360908e21a7be6fd22"></a> <span id="dt-42adc5f4a97d7358bd2b"><code>&#34;gpio&#45;hog&#34;</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;&#35;interrupt&#45;cells&#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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
pinctrl: pinctrl {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;1&gt;;
  ranges;

  gpio0: gpio@2000a000 {
    compatible = "rockchip,rk3188-gpio-bank0";
    reg = &lt;0x2000a000 0x100&gt;;
    interrupts = &lt;GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;clk_gates8 9&gt;;

    gpio-controller;
    #gpio-cells = &lt;2&gt;;

    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
  };

  gpio1: gpio@2003c000 {
    compatible = "rockchip,gpio-bank";
    reg = &lt;0x2003c000 0x100&gt;;
    interrupts = &lt;GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;clk_gates8 10&gt;;

    gpio-controller;
    #gpio-cells = &lt;2&gt;;

    interrupt-controller;
    #interrupt-cells = &lt;2&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</span></p>

</details>

---

# SiFive GPIO controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for SiFive GPIO controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;gpio&#47;sifive&#44;gpio&#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;Paul Walmsley &#60;paul&#46;walmsley&#64;sifive&#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

<a id="dt-cc3709943397035582d2"></a>

#### Array item rules (<code>items</code>)

<a id="dt-fec97e71a4359503ae6e"></a>

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-851ace07a50c83495949"></a> <span id="dt-63b688f2ccd82724cb8f"><code>&#34;sifive&#44;fu540&#45;c000&#45;gpio&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;sifive&#44;fu740&#45;c000&#45;gpio&#34;</code></span>, <span id="dt-9802844ed4869452d348"><code>&#34;canaan&#44;k210&#45;gpiohs&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;sifive&#44;gpio0&#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-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">Interrupt mapping, one per GPIO. Maximum 32 GPIOs.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>32</code></span>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-ce114a5cf59c2bad1f56"></a>

### <code>ngpios</code> — not listed as required here

<div id="dt-4e60045f2efa1256c93d">
<p style="white-space: pre-wrap">The number of GPIOs available on the controller implementation. It is 16 for the SiFive SoCs and 32 for the Canaan K210.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-4ef4898ec8b764d69b54"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-36d4cd2652ecdcb61809"><code>32</code></span>

**Default value (<code>default</code>):** <span id="dt-79a2457790814f19e7f7"><code>16</code></span>

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-a63b03dba047b6fd45f0"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7da1f39f1fcedec6860"><code>32</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property 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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;gpio&#45;controller&#34;</code></span>

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-0c7b6d12024f922c1b96"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-824fdc441f7c94ae56ca"></a>
>
> #### <code>compatible</code> — not listed as required here
>
> <a id="dt-8239149d6c8b0a5dabbe"></a>
>
> **Rule for matching array elements (<code>contains</code>)**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-33b6ed092215f2be8801"></a> <span id="dt-9dc9072d1f2469ee9637"><code>&#34;sifive&#44;fu540&#45;c000&#45;gpio&#34;</code></span>, <span id="dt-5b5b6c5b8f914dcc6d1d"><code>&#34;sifive&#44;fu740&#45;c000&#45;gpio&#34;</code></span>

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> **Required in this object (<code>required</code>):** <a id="dt-824165741bab07e919e7"></a> <span id="dt-0be16f81402541b26aff"><code>&#34;clocks&#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">#include &lt;dt-bindings/clock/sifive-fu540-prci.h&gt;
gpio@10060000 {
    compatible = "sifive,fu540-c000-gpio", "sifive,gpio0";
    interrupt-parent = &lt;&amp;plic&gt;;
    interrupts = &lt;7&gt;, &lt;8&gt;, &lt;9&gt;, &lt;10&gt;, &lt;11&gt;, &lt;12&gt;, &lt;13&gt;, &lt;14&gt;, &lt;15&gt;, &lt;16&gt;,
                 &lt;17&gt;, &lt;18&gt;, &lt;19&gt;, &lt;20&gt;, &lt;21&gt;, &lt;22&gt;;
    reg = &lt;0x10060000 0x1000&gt;;
    clocks = &lt;&amp;tlclk FU540_PRCI_CLK_TLCLK&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&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 OR BSD-2-Clause)</span></p>

</details>

---

# Synopsys DesignWare APB GPIO controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for Synopsys DesignWare APB GPIO controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;gpio&#47;snps&#44;dw&#45;apb&#45;gpio&#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">Synopsys DesignWare GPIO controllers have a configurable number of ports,
each of which are intended to be represented as child nodes with the generic
GPIO-controller properties as described in this bindings file.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Hoan Tran &#60;hoan&#64;os&#46;amperecomputing&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Serge Semin &#60;fancer&#46;lancer&#64;gmail&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;gpio&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;snps&#44;dw&#45;apb&#45;gpio&#34;</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</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-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">APB interface clock source</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">DW GPIO debounce reference clock source</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;bus&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;db&#34;</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-36c84b8f8fe8d400f952"></a>

### <code>&#94;gpio&#45;&#40;port&#124;controller&#41;&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-f2fb6b4a4db48df95494"><code>&#34;object&#34;</code></span>

<a id="dt-bda0d299fd34925e205a"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-20ed21aeeb88e151038a"></a>

**<code>compatible</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-31a064a7ff52f8b41842"><code>&#34;snps&#44;dw&#45;apb&#45;gpio&#45;port&#34;</code></span>

<a id="dt-ce8eb42a7e690cd22656"></a>

**<code>reg</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9848da2c40d1ad0b729c"><code>1</code></span>

<a id="dt-e99d5cb3ec93a93d7a8d"></a>

**<code>gpio&#45;controller</code> — required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-c8fbf3ef7a5544014a41"></a>

**<code>&#35;gpio&#45;cells</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-3d6de2ebc2300acaa5e4"><code>2</code></span>

<a id="dt-dd1b79ff55ba94e393f2"></a>

**<code>gpio&#45;line&#45;names</code> — not listed as required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-5180942e0d63898c48f3"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c1149ed267e45ee16201"><code>32</code></span>

<a id="dt-419753c06e8d6e9bda19"></a>

**<code>gpio&#45;ranges</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-c24e5b2b5fce27a9ca17"></a>

**<code>ngpios</code> — not listed as required here**

**Default value (<code>default</code>):** <span id="dt-7276a29f2508f335c55b"><code>32</code></span>

**Minimum value (<code>minimum</code>):** <span id="dt-7ac59b51b4aa350bcb31"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-1c6f3f9ed021108084f4"><code>32</code></span>

<a id="dt-dc2b8c032face9237ae6"></a>

**<code>snps&#44;nr&#45;gpios</code> — not listed as required here**

<div id="dt-d1996a1ff95403d982a4">
<p style="white-space: pre-wrap">The number of GPIO pins exported by the port.</p>
</div>

**Deprecated (<code>deprecated</code>):** <span id="dt-5f24d7dddc6ad8e98502"><code>true</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-659aeea8be344121009a">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Default value (<code>default</code>):** <span id="dt-bda7107e6b59a78b9a5c"><code>32</code></span>

**Minimum value (<code>minimum</code>):** <span id="dt-fcd986fda40ecc2cd8fd"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-1fe6614573b9829b2e5a"><code>32</code></span>

<a id="dt-08cc7ba6dfe093fe99a3"></a>

**<code>interrupts</code> — not listed as required here**

<div id="dt-dc600890c8dd11d37bc7">
<p style="white-space: pre-wrap">The interrupts to the parent controller raised when GPIOs generate
the interrupts. If the controller provides one combined interrupt
for all GPIOs, specify a single interrupt. If the controller provides
one interrupt for each GPIO, provide a list of interrupts that
correspond to each of the GPIO pins.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-87af9a5a6c0867e687b0"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-6ca51ddb39dd6a8e7e37"><code>32</code></span>

<a id="dt-b42f6dc6454b407a5297"></a>

**<code>interrupt&#45;controller</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-00947c68ba9281153833"></a>

**<code>&#35;interrupt&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-fbcf810512ab3cdb7c44"><code>2</code></span>

**Required in this object (<code>required</code>):** <a id="dt-78e7808b9d6fc2233ff2"></a> <span id="dt-f97fd2395be77b5a24c8"><code>&#34;compatible&#34;</code></span>, <span id="dt-a395b0bd17cab05aa600"><code>&#34;reg&#34;</code></span>, <span id="dt-1195b293eb04e39866ae"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-837b6987e93c8b4baa04"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>

<a id="dt-c7caaaf9c83bcc2a2661"></a>

#### Property dependencies (<code>dependencies</code>)

<a id="dt-6b1a3ac20190af461fe3"></a>

**<code>interrupt&#45;controller</code> — applies when this property is present**

Also requires: <span id="dt-ba038d6e86da8e0b2e05"><code>&#34;interrupts&#34;</code></span>

<a id="dt-b4fc5120bdf0ea0f6cb5"></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-738c4b4f9e483441138b"></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#34;</code></span>

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">gpio: gpio@20000 {
  compatible = "snps,dw-apb-gpio";
  reg = &lt;0x20000 0x1000&gt;;
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  porta: gpio-port@0 {
    compatible = "snps,dw-apb-gpio-port";
    reg = &lt;0&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    snps,nr-gpios = &lt;8&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
    interrupt-parent = &lt;&amp;vic1&gt;;
    interrupts = &lt;0&gt;;
  };

  portb: gpio-port@1 {
    compatible = "snps,dw-apb-gpio-port";
    reg = &lt;1&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    snps,nr-gpios = &lt;8&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 OR BSD-2-Clause)</span></p>

</details>

---

# UniPhier GPIO controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for UniPhier 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;gpio&#47;socionext&#44;uniphier&#45;gpio&#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-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;gpio&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;socionext&#44;uniphier&#45;gpio&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

<div id="dt-0cc2c51365b6879fba3b">
<pre><code>The first cell defines the interrupt number.
The second cell bits[3:0] is used to specify trigger type as follows:
  1 = low-to-high edge triggered
  2 = high-to-low edge triggered
  4 = active high level-sensitive
  8 = active low level-sensitive
Valid combinations are 1, 2, 3, 4, 8.</code></pre>
</div>

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-ce114a5cf59c2bad1f56"></a>

### <code>ngpios</code> — required here

**Minimum value (<code>minimum</code>):** <span id="dt-4ef4898ec8b764d69b54"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-36d4cd2652ecdcb61809"><code>512</code></span>

<a id="dt-e90ed33ab740dccb72d7"></a>

### <code>gpio&#45;ranges</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-0131ecccae07718fe228"></a>

### <code>gpio&#45;ranges&#45;group&#45;names</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-94b7d4993016f7457209"></a>

### <code>socionext&#44;interrupt&#45;ranges</code> — required here

<div id="dt-fa11a2e85bcc5d339efd">
<p style="white-space: pre-wrap">Specifies an interrupt number mapping between this GPIO controller and
its interrupt parent, in the form of arbitrary number of
&lt;child-interrupt-base parent-interrupt-base length&gt; triplets.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-18f3088a725bb41a6841">[<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-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-7b738beac91712b0cebe"></a>

### <code>&#94;&#46;&#43;&#45;hog&#40;&#45;&#91;0&#45;9&#93;&#43;&#41;&#63;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-d56645a30d9b849ee403"><code>&#34;object&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-46360908e21a7be6fd22"></a> <span id="dt-42adc5f4a97d7358bd2b"><code>&#34;gpio&#45;hog&#34;</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;ngpios&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;gpio&#45;ranges&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;socionext&#44;interrupt&#45;ranges&#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">#include &lt;dt-bindings/gpio/gpio.h&gt;
#include &lt;dt-bindings/gpio/uniphier-gpio.h&gt;

gpio: gpio@55000000 {
    compatible = "socionext,uniphier-gpio";
    reg = &lt;0x55000000 0x200&gt;;
    interrupt-parent = &lt;&amp;aidet&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    gpio-ranges = &lt;&amp;pinctrl 0 0 0&gt;;
    gpio-ranges-group-names = "gpio_range";
    ngpios = &lt;248&gt;;
    socionext,interrupt-ranges = &lt;0 48 16&gt;, &lt;16 154 5&gt;, &lt;21 217 3&gt;;
};

// Consumer:
// Please note UNIPHIER_GPIO_PORT(29, 4) represents PORT294 in the SoC
// document. Unfortunately, only the one's place is octal in the port
// numbering. (That is, PORT 8, 9, 18, 19, 28, 29, ... do not exist.)
// UNIPHIER_GPIO_PORT() is a helper macro to calculate 29 * 8 + 4.
sdhci0_pwrseq {
    compatible = "mmc-pwrseq-emmc";
    reset-gpios = &lt;&amp;gpio UNIPHIER_GPIO_PORT(29, 4) GPIO_ACTIVE_LOW&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>

---

# SpacemiT K1 GPIO controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for SpacemiT K1 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;gpio&#47;spacemit&#44;k1&#45;gpio&#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;Yixun Lan &#60;dlan&#64;gentoo&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The controller's registers are organized as sets of eight 32-bit registers with each set of port controlling 32 pins.  A single interrupt line is shared for all of the pins by the controller.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;gpio&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;&#34;</code></span>

<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;spacemit&#44;k1&#45;gpio&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;spacemit&#44;k3&#45;gpio&#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-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">GPIO Core Clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">GPIO Bus Clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;core&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;bus&#34;</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>3</code></span>

<div id="dt-70b20397c3c73794f833">
<p style="white-space: pre-wrap">The first two cells are the GPIO bank index and offset inside the bank, the third cell should specify GPIO flag.</p>
</div>

<a id="dt-e90ed33ab740dccb72d7"></a>

### <code>gpio&#45;ranges</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>3</code></span>

<div id="dt-0cc2c51365b6879fba3b">
<p style="white-space: pre-wrap">The first two cells are the GPIO bank index and offset inside the bank, the third cell should specify interrupt flag. The controller does not support level interrupts, so flags of IRQ_TYPE_LEVEL_HIGH, IRQ_TYPE_LEVEL_LOW should not be used. Refer &lt;dt-bindings/interrupt-controller/irq.h&gt; for valid flags.</p>
</div>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;interrupts&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-1a79af41bdb7f37c802f"><code>&#34;gpio&#45;ranges&#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">gpio@d4019000 {
  compatible = "spacemit,k1-gpio";
  reg = &lt;0xd4019000 0x800&gt;;
  clocks = &lt;&amp;ccu 9&gt;, &lt;&amp;ccu 61&gt;;
  clock-names = "core", "bus";
  gpio-controller;
  #gpio-cells = &lt;3&gt;;
  interrupts = &lt;58&gt;;
  interrupt-controller;
  interrupt-parent = &lt;&amp;plic&gt;;
  #interrupt-cells = &lt;3&gt;;
  gpio-ranges = &lt;&amp;pinctrl 0 0 0 32&gt;,
                &lt;&amp;pinctrl 1 0 32 32&gt;,
                &lt;&amp;pinctrl 2 0 64 32&gt;,
                &lt;&amp;pinctrl 3 0 96 32&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>

---

# Unisoc EIC controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for Unisoc EIC 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;gpio&#47;sprd&#44;gpio&#45;eic&#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;Orson Zhai &#60;orsonzhai&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Baolin Wang &#60;baolin&#46;wang7&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Chunyan Zhang &#60;zhang&#46;lyra&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The EIC is the abbreviation of external interrupt controller, which can
be used only in input mode. The Spreadtrum platform has 2 EIC controllers,
one is in digital chip, and another one is in PMIC. The digital chip EIC
controller contains 4 sub-modules, i.e. EIC-debounce, EIC-latch, EIC-async and
EIC-sync. But the PMIC EIC controller contains only one EIC-debounce sub-
module.</p>
<p style="white-space: pre-wrap">The EIC-debounce sub-module provides up to 8 source input signal
connections. A debounce mechanism is used to capture the input signals'
stable status (millisecond resolution) and a single-trigger mechanism
is introduced into this sub-module to enhance the input event detection
reliability. In addition, this sub-module's clock can be shut off
automatically to reduce power dissipation. Moreover the debounce range
is from 1ms to 4s with a step size of 1ms. The input signal will be
ignored if it is asserted for less than 1 ms.</p>
<p style="white-space: pre-wrap">The EIC-latch sub-module is used to latch some special power down signals
and generate interrupts, since the EIC-latch does not depend on the APB
clock to capture signals.</p>
<p style="white-space: pre-wrap">The EIC-async sub-module uses a 32kHz clock to capture the short signals
(microsecond resolution) to generate interrupts by level or edge trigger.</p>
<p style="white-space: pre-wrap">The EIC-sync is similar with GPIO's input function, which is a synchronized
signal input register. It can generate interrupts by level or edge trigger
when detecting input signals.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;sprd&#44;sc9860&#45;eic&#45;debounce&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;sprd&#44;sc9860&#45;eic&#45;latch&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;sprd&#44;sc9860&#45;eic&#45;async&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;sprd&#44;sc9860&#45;eic&#45;sync&#34;</code></span>, <span id="dt-d29c3f554eb9a606c63a"><code>&#34;sprd&#44;sc2731&#45;eic&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;sprd&#44;ums512&#45;eic&#45;debounce&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;sprd&#44;sc9860&#45;eic&#45;debounce&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;sprd&#44;ums512&#45;eic&#45;latch&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;sprd&#44;sc9860&#45;eic&#45;latch&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> <a id="dt-a1b1c435b08c85ff96c7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4758c8f9c99bfa28b10c"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-12b3e48e4010cb944698"></a> <span id="dt-e46f645e6715baa60581"><code>&#34;sprd&#44;ums512&#45;eic&#45;async&#34;</code></span>
>
> <a id="dt-c99d921c49bf15e79633"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-9e0f2ef968dd632f09b7"><code>&#34;sprd&#44;sc9860&#45;eic&#45;async&#34;</code></span>

<a id="dt-6932ba24e194ea67730d"></a>

**Rule 5**

> <a id="dt-196210d7e8a5e94e1226"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4b7c967de45ba4ead27f"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-427722b6d265dacc9449"></a> <span id="dt-3e38de7c21c96fb8ed17"><code>&#34;sprd&#44;ums512&#45;eic&#45;sync&#34;</code></span>
>
> <a id="dt-caf6ce7d7f34e1e8d173"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-4a97b7e5e83d59103118"><code>&#34;sprd&#44;sc9860&#45;eic&#45;sync&#34;</code></span>

<a id="dt-264a99ec2691e9f8d8d2"></a>

**Rule 6**

> <a id="dt-4dad5affd79a503edb55"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-d020c8ab76f112be7460"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-e9307e11ff03581bb862"></a> <span id="dt-091628d4071f08fe9e9e"><code>&#34;sprd&#44;sc2730&#45;eic&#34;</code></span>
>
> <a id="dt-ad0f80061981c404704b"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-bc7bfc6606ce7d2bcbe4"><code>&#34;sprd&#44;sc2731&#45;eic&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-4b3e7791b11b96c3db87"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>3</code></span>

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">EIC controller can support maximum 3 banks which has its own address base.</p>
</div>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The interrupt shared by all GPIO lines for this controller.</p>
</div>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;interrupts&#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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

soc {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;

    eic_debounce: gpio@40210000 {
        compatible = "sprd,sc9860-eic-debounce";
        reg = &lt;0 0x40210000 0 0x80&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;2&gt;;
        interrupts = &lt;GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH&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>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright 2022 Unisoc Inc.</span></p>

</details>

---

# Unisoc GPIO controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for Unisoc 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;gpio&#47;sprd&#44;gpio&#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;Orson Zhai &#60;orsonzhai&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Baolin Wang &#60;baolin&#46;wang7&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Chunyan Zhang &#60;zhang&#46;lyra&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The controller's registers are organized as sets of sixteen 16-bit
registers with each set controlling a bank of up to 16 pins. A single
interrupt is shared for all of the banks handled by the controller.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;sprd&#44;sc9860&#45;gpio&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;sprd&#44;ums512&#45;gpio&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;sprd&#44;sc9860&#45;gpio&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The interrupt shared by all GPIO lines for this controller.</p>
</div>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;interrupts&#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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

soc {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;

    ap_gpio: gpio@40280000 {
        compatible = "sprd,sc9860-gpio";
        reg = &lt;0 0x40280000 0 0x1000&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;2&gt;;
        interrupts = &lt;GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH&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>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright 2022 Unisoc Inc.</span></p>

</details>

---

# Nomadik GPIO controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for Nomadik 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;gpio&#47;st&#44;nomadik&#45;gpio&#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">The Nomadik GPIO driver handles Nomadik SoC GPIO blocks. This block has also been called ST STA2X11. On the Nomadik platform, this driver is intertwined with pinctrl-nomadik.</p>
</div>

**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>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;gpio&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;&#34;</code></span>

<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;st&#44;nomadik&#45;gpio&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;mobileye&#44;eyeq5&#45;gpio&#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-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-b89cc150789a7406787d"></a>

### <code>gpio&#45;bank</code> — required here

<div id="dt-cae4d275bb99a2ace907">
<p style="white-space: pre-wrap">System-wide GPIO bank index.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2cab226aaee4c80a7322">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<a id="dt-7781f4d3d091b422ac08"></a>

### <code>st&#44;supports&#45;sleepmode</code> — not listed as required here

<div id="dt-b21447408d73e3b47887">
<p style="white-space: pre-wrap">Whether the controller can sleep or not.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b346eba22a89ff563047">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-e90ed33ab740dccb72d7"></a>

### <code>gpio&#45;ranges</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74b20707a956c3d42e77"><code>1</code></span>

<a id="dt-ce114a5cf59c2bad1f56"></a>

### <code>ngpios</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-4ef4898ec8b764d69b54"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-36d4cd2652ecdcb61809"><code>32</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;gpio&#45;bank&#34;</code></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-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;mobileye&#44;eyeq5&#45;gpio&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-f835a0ddaddb73667e65"></a>
> >
> > **<code>st&#44;supports&#45;sleepmode</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">gpio@8012e080 {
    compatible = "st,nomadik-gpio";
    reg =  &lt;0x8012e080 0x80&gt;;
    interrupts = &lt;0 120 0x4&gt;;
    #gpio-cells = &lt;2&gt;;
    gpio-controller;
    #interrupt-cells = &lt;2&gt;;
    interrupt-controller;
    st,supports-sleepmode;
    gpio-bank = &lt;1&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>

---

# ST Microelectronics SPEAr SPI CS GPIO Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for ST Microelectronics SPEAr SPI CS 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;gpio&#47;st&#44;spear&#45;spics&#45;gpio&#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;Viresh Kumar &#60;vireshk&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">SPEAr platform provides a provision to control chipselects of ARM PL022 Prime Cell spi controller through its system registers, which otherwise remains under PL022 control. If chipselect remain under PL022 control then they would be released as soon as transfer is over and TxFIFO becomes empty. This is not desired by some of the device protocols above spi which expect (multiple) transfers without releasing their chipselects.
Chipselects can be controlled by software by turning them as GPIOs. SPEAr provides another interface through system registers through which software can directly control each PL022 chipselect. Hence, it is natural for SPEAr to export the control of this interface as gpio.</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;st&#44;spear&#45;spics&#45;gpio&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-8caa04b1163a6601ac4f"></a>

### <code>st&#45;spics&#44;peripcfg&#45;reg</code> — required here

<div id="dt-5c2b538bd32e2fd23e43">
<p style="white-space: pre-wrap">Offset of the peripcfg register.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-30286194eab501590d15">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<a id="dt-dc1955f6511132c90d70"></a>

### <code>st&#45;spics&#44;sw&#45;enable&#45;bit</code> — required here

<div id="dt-d10c670334b240151422">
<p style="white-space: pre-wrap">Bit offset to enable software chipselect control.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8e58ef0e95ab03f3732e">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<a id="dt-ef22accfd8c7b96c5719"></a>

### <code>st&#45;spics&#44;cs&#45;value&#45;bit</code> — required here

<div id="dt-d25ff1fb43caef7786fd">
<p style="white-space: pre-wrap">Bit offset to drive chipselect low or high.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-858b2cf0b40e8ae77d6d">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<a id="dt-a06eb249aa82fb34d400"></a>

### <code>st&#45;spics&#44;cs&#45;enable&#45;mask</code> — required here

<div id="dt-128e79f7100696309a3b">
<p style="white-space: pre-wrap">Bitmask selecting which chipselects to enable.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-47599bc4e25598136e09">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<a id="dt-bf641823d4f8583c239a"></a>

### <code>st&#45;spics&#44;cs&#45;enable&#45;shift</code> — required here

<div id="dt-b9ca10ce8f3a46a2249a">
<p style="white-space: pre-wrap">Bit shift for programming chipselect number.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a46e38fb8c1829fe5fd8">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;st&#45;spics&#44;peripcfg&#45;reg&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;st&#45;spics&#44;sw&#45;enable&#45;bit&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;st&#45;spics&#44;cs&#45;value&#45;bit&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;st&#45;spics&#44;cs&#45;enable&#45;mask&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;st&#45;spics&#44;cs&#45;enable&#45;shift&#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">gpio@e0700000 {
    compatible = "st,spear-spics-gpio";
    reg = &lt;0xe0700000 0x1000&gt;;
    st-spics,peripcfg-reg = &lt;0x3b0&gt;;
    st-spics,sw-enable-bit = &lt;12&gt;;
    st-spics,cs-value-bit = &lt;11&gt;;
    st-spics,cs-enable-mask = &lt;3&gt;;
    st-spics,cs-enable-shift = &lt;8&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&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>

---

# STMicroelectonics Port Expander (STMPE) GPIO Block

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for STMicroelectonics Port Expander (STMPE) GPIO Block.

<!-- 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;gpio&#47;st&#44;stmpe&#45;gpio&#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">STMicroelectronics Port Expander (STMPE) is a series of slow bus controllers for various expanded peripherals such as GPIO, keypad, touchscreen, ADC, PWM or rotator. It can contain one or several different peripherals connected to SPI or I2C. These bindings pertain to the GPIO portions of these expanders.</p>
</div>

**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>

<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;st&#44;stmpe&#45;gpio&#34;</code></span>

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-a63b03dba047b6fd45f0"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7da1f39f1fcedec6860"><code>24</code></span>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-c70934e792f28cdda24e"></a>

### <code>st&#44;norequest&#45;mask</code> — not listed as required here

<div id="dt-32ef2c8bf8d53724d85c">
<p style="white-space: pre-wrap">A bitmask of GPIO lines that cannot be requested because for for example not being connected to anything on the system</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-36436111af695b651b83">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-7b738beac91712b0cebe"></a>

### <code>&#94;&#46;&#43;&#45;hog&#40;&#45;&#91;0&#45;9&#93;&#43;&#41;&#63;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-d56645a30d9b849ee403"><code>&#34;object&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-46360908e21a7be6fd22"></a> <span id="dt-42adc5f4a97d7358bd2b"><code>&#34;gpio&#45;hog&#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.

**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;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupt&#45;controller&#34;</code></span>

## 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>

---

# Keystone 2 DSP GPIO controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for Keystone 2 DSP 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;gpio&#47;ti&#44;keystone&#45;dsp&#45;gpio&#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;Grygorii Strashko &#60;grygorii&#46;strashko&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">HOST OS userland running on ARM can send interrupts to DSP cores using
the DSP GPIO controller IP. It provides 28 IRQ signals per each DSP core.
This is one of the component used by the IPC mechanism used on Keystone SOCs.</p>
<p style="white-space: pre-wrap">For example TCI6638K2K SoC has 8 DSP GPIO controllers:
 - 8 for C66x CorePacx CPUs 0-7</p>
<pre><code>Keystone 2 DSP GPIO controller has specific features:
- each GPIO can be configured only as output pin;
- setting GPIO value to 1 causes IRQ generation on target DSP core;
- reading pin value returns 0 - if IRQ was handled or 1 - IRQ is still
  pending.</code></pre>
</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;ti&#44;keystone&#45;dsp&#45;gpio&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-bdc2a35b13e7a9d2d8dd"></a>

### <code>gpio&#44;syscon&#45;dev</code> — required here

<div id="dt-51c7aa9529447566e619">
<p style="white-space: pre-wrap">Phandle and offset of device's specific registers within the syscon state control registers</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-262e91085447ab5608df">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<a id="dt-ae37b6cc10e550c2377c"></a>

#### Array item rules (<code>items</code>)

<a id="dt-2b33375b2c87051ccc0b"></a>

**Item 1**

> <a id="dt-58ac359f4fa2b9a7944f"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-15c7eeb6b04f3eb2b9f5"></a>
>
> **Item 1**
>
> > <div id="dt-b7504cfbf7e793d19bb8">
> > <p style="white-space: pre-wrap">phandle to syscon</p>
> > </div>
>
> <a id="dt-5fe43b357e51fe4b0386"></a>
>
> **Item 2**
>
> > <div id="dt-2cf087fdb686a80ca75b">
> > <p style="white-space: pre-wrap">register offset within state control registers</p>
> > </div>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;gpio&#44;syscon&#45;dev&#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">gpio@240 {
    compatible = "ti,keystone-dsp-gpio";
    reg = &lt;0x240 0x4&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    gpio,syscon-dev = &lt;&amp;devctrl 0x240&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>

---

# OMAP GPIO controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for OMAP GPIO controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;gpio&#47;ti&#44;omap&#45;gpio&#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;Grygorii Strashko &#60;grygorii&#46;strashko&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The general-purpose interface combines general-purpose input/output (GPIO) banks.
Each GPIO banks provides up to 32 dedicated general-purpose pins with input
and output capabilities; interrupt generation in active mode and wake-up
request generation in idle mode upon the detection of external events.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;ti&#44;omap2&#45;gpio&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;ti&#44;omap3&#45;gpio&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;ti&#44;omap4&#45;gpio&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;ti&#44;am4372&#45;gpio&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;ti&#44;omap4&#45;gpio&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-e90ed33ab740dccb72d7"></a>

### <code>gpio&#45;ranges</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-a63b03dba047b6fd45f0"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7da1f39f1fcedec6860"><code>32</code></span>

<a id="dt-870d2c6e4060b5d12bcf"></a>

### <code>ti&#44;gpio&#45;always&#45;on</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-793aa575d9b58db606dd">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-1034fd2e62083d06f158">
<p style="white-space: pre-wrap">Indicates if a GPIO bank is always powered and will never lose its logic state.</p>
</div>

<a id="dt-78eb8765da1b42beba07"></a>

### <code>ti&#44;hwmods</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-af8320999c5ca0330b0f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

**Deprecated (<code>deprecated</code>):** <span id="dt-95315e1f5259eeba881e"><code>true</code></span>

<div id="dt-6a8457e4523b4b4a94b2">
<p style="white-space: pre-wrap">Name of the hwmod associated with the GPIO. Needed on some legacy OMAP SoCs which have not been converted to the ti,sysc interconnect hierarchy.</p>
</div>

<a id="dt-86fd9f47cb1316577728"></a>

### <code>ti&#44;no&#45;reset&#45;on&#45;init</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-34de9df026650925f9cd">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

**Deprecated (<code>deprecated</code>):** <span id="dt-3a1adb4498f12ea9d1d4"><code>true</code></span>

<div id="dt-a6d85dcbc341fb52d1d2">
<p style="white-space: pre-wrap">Do not reset on init. Used with ti,hwmods on some legacy OMAP SoCs which have not been converted to the ti,sysc interconnect hierarchy.</p>
</div>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-ec94f61c944937db4fec"></a>

### <code>&#94;&#40;&#46;&#43;&#45;hog&#40;&#45;&#91;0&#45;9&#93;&#43;&#41;&#63;&#41;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-3a8fcc813bbdcc2a8f90"><code>&#34;object&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-60f24b032382c79d795e"></a> <span id="dt-a3e4a723e048081b8fe8"><code>&#34;gpio&#45;hog&#34;</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;interrupts&#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">#include &lt;dt-bindings/gpio/gpio.h&gt;

gpio0: gpio@0 {
    compatible = "ti,omap4-gpio";
    reg = &lt;0x0 0x1000&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
    interrupts = &lt;96&gt;;
    ti,gpio-always-on;

    ls-buf-en-hog {
        gpio-hog;
        gpios = &lt;10 GPIO_ACTIVE_HIGH&gt;;
        output-high;
        line-name = "LS_BUF_EN";
    };
};
</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 OR BSD-2-Clause)</span></p>

</details>

---

# TI TWL4030 GPIO controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for TI TWL4030 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;gpio&#47;ti&#44;twl4030&#45;gpio&#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;Aaro Koskinen &#60;aaro&#46;koskinen&#64;iki&#46;fi&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Andreas Kemnade &#60;andreas&#64;kemnade&#46;info&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Kevin Hilman &#60;khilman&#64;baylibre&#46;com&#62;&#34;</code></span>, <span id="dt-3a197c22bf020420f520"><code>&#34;Roger Quadros &#60;rogerq&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-41b80c63dfd45c913428"><code>&#34;Tony Lindgren &#60;tony&#64;atomide&#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> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;ti&#44;twl4030&#45;gpio&#34;</code></span>

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>1</code></span>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-4e252db42ec443714012"></a>

### <code>ti&#44;debounce</code> — not listed as required here

<div id="dt-afa226ed7c25057cb96d">
<p style="white-space: pre-wrap">Debounce control bits. Each bit corresponds to a GPIO pin.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bbf018ce16c45ecb0466">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<a id="dt-bb5b7531d8c4b6249663"></a>

### <code>ti&#44;mmc&#45;cd</code> — not listed as required here

<div id="dt-715f78038d7ec4b70e5a">
<p style="white-space: pre-wrap">MMC card detect control bits. Each bit corresponds to a GPIO pin for VMMC(n+1).</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3c0999f497ec956c3879">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<a id="dt-f2e577bfd62de0cd560f"></a>

### <code>ti&#44;pullups</code> — not listed as required here

<div id="dt-efe9ebce0aff787367f6">
<p style="white-space: pre-wrap">Pull-up control bits. Each bit corresponds to a GPIO pin.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b2f8aaf56cf8b2606e44">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<a id="dt-32df2247dfe87c230257"></a>

### <code>ti&#44;pulldowns</code> — not listed as required here

<div id="dt-c4fd0d8061de66dee16c">
<p style="white-space: pre-wrap">Pull-down control bits. Each bit corresponds to a GPIO pin.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0a4ff130a8b847a9d680">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<a id="dt-2c5a2dc56aabd5aeee7c"></a>

### <code>ti&#44;use&#45;leds</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-9a9cb2d845e35c0cf765"><code>&#34;boolean&#34;</code></span>

<div id="dt-1b1153709deb0bf6a82e">
<p style="white-space: pre-wrap">Enables LEDA and LEDB outputs if set</p>
</div>

<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">gpio {
    compatible = "ti,twl4030-gpio";
    #gpio-cells = &lt;2&gt;;
    gpio-controller;
    #interrupt-cells = &lt;1&gt;;
    interrupt-controller;
    ti,use-leds;
};
</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>

---

# Toshiba Visconti ARM SoCs GPIO controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for Toshiba Visconti ARM SoCs GPIO controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;gpio&#47;toshiba&#44;gpio&#45;visconti&#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;Nobuhiro Iwamatsu &#60;nobuhiro1&#46;iwamatsu&#64;toshiba&#46;co&#46;jp&#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

<a id="dt-cc3709943397035582d2"></a>

#### Array item rules (<code>items</code>)

<a id="dt-fec97e71a4359503ae6e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-aaadfb6b044cada8472e"><code>&#34;toshiba&#44;gpio&#45;tmpv7708&#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-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-e90ed33ab740dccb72d7"></a>

### <code>gpio&#45;ranges</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">interrupt mapping one per GPIO.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>16</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>16</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;ranges&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;interrupt&#45;cells&#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">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

soc {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;

    gpio: gpio@28020000 {
        compatible = "toshiba,gpio-tmpv7708";
        reg = &lt;0 0x28020000 0 0x1000&gt;;
        #gpio-cells = &lt;0x2&gt;;
        gpio-ranges = &lt;&amp;pmux 0 0 32&gt;;
        gpio-controller;
        interrupt-controller;
        #interrupt-cells = &lt;2&gt;;
        interrupt-parent = &lt;&amp;gic&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 OR BSD-2-Clause)</span></p>

</details>

---

# Trivial 2-cell GPIO controllers

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for Trivial 2-cell GPIO controllers.

<!-- 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;gpio&#47;trivial&#45;gpio&#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;Bartosz Golaszewski &#60;brgl&#64;bgdev&#46;pl&#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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;cirrus&#44;ep7312&#45;gpio&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;cirrus&#44;ep7209&#45;gpio&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Allowed values (<code>enum</code>):** <a id="dt-ad5dbad5326d5a61ae46"></a> <span id="dt-af4759e2a8ab9583f63d"><code>&#34;apm&#44;xgene&#45;gpio&#34;</code></span>, <span id="dt-9aa1d0e5d9a73a253eb7"><code>&#34;cirrus&#44;ep7209&#45;gpio&#34;</code></span>, <span id="dt-5c9870d52793df25216b"><code>&#34;cznic&#44;moxtet&#45;gpio&#34;</code></span>, <span id="dt-5142a30d4d34242a17aa"><code>&#34;dlg&#44;slg7xl45106&#34;</code></span>, <span id="dt-ab9c88671bf820cb69ba"><code>&#34;fcs&#44;fxl6408&#34;</code></span>, <span id="dt-a21de15fab03e8d186db"><code>&#34;fsl&#44;ls1046aqds&#45;fpga&#45;gpio&#45;stat&#45;pres2&#34;</code></span>, <span id="dt-9049291986ad112b9460"><code>&#34;fsl&#44;lx2160ardb&#45;fpga&#45;gpio&#45;sfp&#34;</code></span>, <span id="dt-74cc4d9c69dece604aec"><code>&#34;gateworks&#44;pld&#45;gpio&#34;</code></span>, <span id="dt-29836840e5c159aa203d"><code>&#34;ibm&#44;ppc4xx&#45;gpio&#34;</code></span>, <span id="dt-f9a04f3559783ce3eeaf"><code>&#34;loongson&#44;ls1x&#45;gpio&#34;</code></span>, <span id="dt-4bb76281f4716b2cae54"><code>&#34;maxim&#44;max77620&#34;</code></span>, <span id="dt-85e6f5093be0f17e8f8a"><code>&#34;nintendo&#44;hollywood&#45;gpio&#34;</code></span>, <span id="dt-d3d96562e07eca58e346"><code>&#34;nxp&#44;pca9570&#34;</code></span>, <span id="dt-8893cc179b0cf688af7a"><code>&#34;nxp&#44;pca9571&#34;</code></span>, <span id="dt-4b147316a6be5329a96b"><code>&#34;rockchip&#44;rk3328&#45;grf&#45;gpio&#34;</code></span>, <span id="dt-d5d487eb96832e04acf8"><code>&#34;snps&#44;creg&#45;gpio&#45;hsdk&#34;</code></span>, <span id="dt-ee28d1a83a6e34c2c02a"><code>&#34;technologic&#44;ts4800&#45;gpio&#34;</code></span>, <span id="dt-91364152eba6754d2089"><code>&#34;technologic&#44;ts4900&#45;gpio&#34;</code></span>, <span id="dt-462a3ee32a833ea5edfd"><code>&#34;technologic&#44;ts7970&#45;gpio&#34;</code></span>, <span id="dt-5f0e4e2a6400fd0fc2aa"><code>&#34;ti&#44;741g125&#34;</code></span>, <span id="dt-bc4ebc740354e605f1aa"><code>&#34;ti&#44;741g174&#34;</code></span>, <span id="dt-97c59ffd74b26b1632e3"><code>&#34;ti&#44;742g125&#34;</code></span>, <span id="dt-0157f8673a8a1fbc3bcf"><code>&#34;ti&#44;7474&#34;</code></span>, <span id="dt-dfb6ceb6dd1962e07031"><code>&#34;ti&#44;74125&#34;</code></span>, <span id="dt-6275e53e3ac135bb8e93"><code>&#34;ti&#44;74175&#34;</code></span>, <span id="dt-2028349b0bacd4625c73"><code>&#34;ti&#44;74365&#34;</code></span>, <span id="dt-6c2ce50b99ce9dd05f79"><code>&#34;ti&#44;74174&#34;</code></span>, <span id="dt-c5158cf5e25c1bb8d66c"><code>&#34;ti&#44;74244&#34;</code></span>, <span id="dt-9d9151413e3aed7225f3"><code>&#34;ti&#44;74273&#34;</code></span>, <span id="dt-43f66d1230bc39979d14"><code>&#34;ti&#44;741624&#34;</code></span>, <span id="dt-e064375155849dae57d1"><code>&#34;ti&#44;7416374&#34;</code></span>, <span id="dt-291c6eb2cf99551e107a"><code>&#34;ti&#44;lp3943&#45;gpio&#34;</code></span>, <span id="dt-1c773c9c3fe85c707b54"><code>&#34;ti&#44;palmas&#45;gpio&#34;</code></span>, <span id="dt-9d0da4c543ea7e34f828"><code>&#34;ti&#44;tpic2810&#34;</code></span>, <span id="dt-af0cc280af8305a6eea0"><code>&#34;ti&#44;tps80036&#45;gpio&#34;</code></span>, <span id="dt-043462146804c3379903"><code>&#34;ti&#44;tps65913&#45;gpio&#34;</code></span>, <span id="dt-af51ced571a1266f5281"><code>&#34;ti&#44;tps65914&#45;gpio&#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-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-ce114a5cf59c2bad1f56"></a>

### <code>ngpios</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-2941b4b13bcf3bc13509"></a>

### <code>&#94;&#40;hog&#45;&#91;0&#45;9&#93;&#43;&#124;&#46;&#43;&#45;hog&#40;&#45;&#91;0&#45;9&#93;&#43;&#41;&#63;&#41;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-a09e5fce0037add6a887"><code>&#34;object&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-08e2e93ccfbda832756f"></a> <span id="dt-0932adcb938cd2897f50"><code>&#34;gpio&#45;hog&#34;</code></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;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b5c9dbe70762f9ad7bb5"></a> <span id="dt-d017b1b1b5a0bb01c549"><code>&#34;maxim&#44;max77620&#34;</code></span>, <span id="dt-b1891799a94ae03bda89"><code>&#34;rockchip&#44;rk3328&#45;grf&#45;gpio&#34;</code></span>, <span id="dt-f7ddd2674cdadacec733"><code>&#34;ti&#44;lp3943&#45;gpio&#34;</code></span>, <span id="dt-1afa9c359b113daf77e4"><code>&#34;ti&#44;palmas&#45;gpio&#34;</code></span>, <span id="dt-f4184526859cd3d4f83a"><code>&#34;ti&#44;tps80036&#45;gpio&#34;</code></span>, <span id="dt-5781a391973aa6c79186"><code>&#34;ti&#44;tps65913&#45;gpio&#34;</code></span>, <span id="dt-a6fb5890966cb504376f"><code>&#34;ti&#44;tps65914&#45;gpio&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-f6af340cf87a1ddfe255"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-9f814971a49b2b16029a"></a> <span id="dt-37139fbd463ab3b18082"><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">gpio@1701c000 {
    compatible = "apm,xgene-gpio";
    reg = &lt;0x1701c000 0x40&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&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>

<p id="dt-comment-1"><strong>Line 39:</strong> <span> for 741G125 (1-bit Input),</span></p>

<p id="dt-comment-2"><strong>Line 40:</strong> <span> for 741G74 (1-bit Output),</span></p>

<p id="dt-comment-3"><strong>Line 41:</strong> <span> for 742G125 (2-bit Input),</span></p>

<p id="dt-comment-4"><strong>Line 42:</strong> <span> for 7474 (2-bit Output),</span></p>

<p id="dt-comment-5"><strong>Line 43:</strong> <span> for 74125 (4-bit Input),</span></p>

<p id="dt-comment-6"><strong>Line 44:</strong> <span> for 74175 (4-bit Output),</span></p>

<p id="dt-comment-7"><strong>Line 45:</strong> <span> for 74365 (6-bit Input),</span></p>

<p id="dt-comment-8"><strong>Line 46:</strong> <span> for 74174 (6-bit Output),</span></p>

<p id="dt-comment-9"><strong>Line 47:</strong> <span> for 74244 (8-bit Input),</span></p>

<p id="dt-comment-10"><strong>Line 48:</strong> <span> for 74273 (8-bit Output),</span></p>

<p id="dt-comment-11"><strong>Line 49:</strong> <span> for 741624 (16-bit Input),</span></p>

<p id="dt-comment-12"><strong>Line 50:</strong> <span> for 7416374 (16-bit Output).</span></p>

<p id="dt-comment-13"><strong>Line 70:</strong> <span> Don't add more properties</span></p>

</details>

---

# X-Powers AXP209 GPIO

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for X-Powers AXP209 GPIO.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;gpio&#47;x&#45;powers&#44;axp209&#45;gpio&#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;Chen&#45;Yu Tsai &#60;wens&#64;csie&#46;org&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<div id="dt-70b20397c3c73794f833">
<p style="white-space: pre-wrap">The first cell is the pin number and the second is the GPIO flags.</p>
</div>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;x&#45;powers&#44;axp209&#45;gpio&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;x&#45;powers&#44;axp221&#45;gpio&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;x&#45;powers&#44;axp813&#45;gpio&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;x&#45;powers&#44;axp223&#45;gpio&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;x&#45;powers&#44;axp809&#45;gpio&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;x&#45;powers&#44;axp221&#45;gpio&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-b4cf31a5f463012e1429"><code>&#34;x&#45;powers&#44;axp803&#45;gpio&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;x&#45;powers&#44;axp813&#45;gpio&#34;</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-bfa027c13bff9b23f5ac"></a>

### <code>&#94;&#46;&#42;&#45;pins&#63;&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fe38dcc82015b6eb5369">[<code>&#47;schemas&#47;pinctrl&#47;pinmux&#45;node&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-pinctrl/pinmux-node.md#dt-root>)</span>

<a id="dt-5e4d2b592b5156e9e87e"></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-233418eaa7cfea574ef3"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-47bb6829a22647844f24"></a>

**<code>pins</code> — not listed as required here**

<a id="dt-527996500e652b5fb57e"></a>

**Array item rules (<code>items</code>)**

> **Allowed values (<code>enum</code>):** <a id="dt-ed6aced2af0694e1a157"></a> <span id="dt-658c7801a7eb5fcee6f7"><code>&#34;GPIO0&#34;</code></span>, <span id="dt-f50c6b0dbf6821f67821"><code>&#34;GPIO1&#34;</code></span>, <span id="dt-4482965a27b928e6f9ee"><code>&#34;GPIO2&#34;</code></span>, <span id="dt-c1cb27731499eabb28e8"><code>&#34;GPIO3&#34;</code></span>

<a id="dt-70be3b537aab5b84d684"></a>

**<code>function</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-43c64b44e317d1cfd1ac"></a> <span id="dt-c93dcf91cda775214a5d"><code>&#34;adc&#34;</code></span>, <span id="dt-38a52d23bb2c0a95a235"><code>&#34;ldo&#34;</code></span>, <span id="dt-14047293c65da83c3ab8"><code>&#34;gpio&#95;in&#34;</code></span>, <span id="dt-3a1aac88d2fbe0e6344e"><code>&#34;gpio&#95;out&#34;</code></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;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;gpio&#45;controller&#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.

## 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</span></p>

</details>

---

# Xilinx AXI GPIO controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for Xilinx AXI GPIO controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;gpio&#47;xlnx&#44;gpio&#45;xilinx&#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;Neeli Srinivas &#60;srinivas&#46;neeli&#64;amd&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The AXI GPIO design provides a general purpose input/output interface to an AXI4-Lite interface. The AXI GPIO can be configured as either a single or a dual-channel device. The width of each channel is independently configurable. The channels can be configured to generate an interrupt when a transition on any of their inputs occurs.</p>
</div>

<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;xlnx&#44;xps&#45;gpio&#45;1&#46;00&#46;a&#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-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

<div id="dt-f08f80c16a8648128988">
<p style="white-space: pre-wrap">strings describing the names of each gpio line</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-a63b03dba047b6fd45f0"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7da1f39f1fcedec6860"><code>64</code></span>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-430876d31352b71477a8"></a>

### <code>xlnx&#44;all&#45;inputs</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4554737d86e0a5c41d9f">[<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-6fc6505c30c34c2e605f">
<p style="white-space: pre-wrap">This option sets this GPIO channel1 bits in input mode.</p>
</div>

<a id="dt-a936ae9380b6e18267e7"></a>

### <code>xlnx&#44;all&#45;inputs&#45;2</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1863abc665fb6bd0f2c7">[<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-21f48c0bf76df93bbfd2">
<p style="white-space: pre-wrap">This option sets this GPIO channel2 bits in input mode.</p>
</div>

<a id="dt-21d1b9653d62db01b8dd"></a>

### <code>xlnx&#44;all&#45;outputs</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ee20a04cdc72c987b44c">[<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-a774ba4111c1f0c4c7b4">
<p style="white-space: pre-wrap">This option sets this GPIO channel1 bits in output mode.</p>
</div>

<a id="dt-534928b6dd504b3da6f3"></a>

### <code>xlnx&#44;all&#45;outputs&#45;2</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e77767e8b815c0c4cf03">[<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-6668ef832097c50d3955">
<p style="white-space: pre-wrap">This option sets this GPIO channel2 bits in output mode.</p>
</div>

<a id="dt-8921927e0e4cdd6a51d9"></a>

### <code>xlnx&#44;dout&#45;default</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-70295dbd5bb295a7c78f">[<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-a918778b3042f5c7fb82">
<p style="white-space: pre-wrap">Sets the default value of all the enabled bits of channel1.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-a817d71c0d56ec39c5fd"><code>0</code></span>

<a id="dt-39809ba8bf9491972248"></a>

### <code>xlnx&#44;dout&#45;default&#45;2</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f9e75f46ec3cbf5b12cf">[<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-ff5c0d3618030cb0ce59">
<p style="white-space: pre-wrap">Sets the default value of all the enabled bits of channel2.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-c72e85667802d9f04f8f"><code>0</code></span>

<a id="dt-4a5dcf165fef96ef8026"></a>

### <code>xlnx&#44;gpio&#45;width</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bb01fbc2dcb80ddbc5be">[<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-bb16827cf44bf158706e">
<p style="white-space: pre-wrap">The value defines the bit width of the GPIO channel1.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-71c91d0def33e05cd72b"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-6bace157e55a5282de25"><code>32</code></span>

**Default value (<code>default</code>):** <span id="dt-7e96d696b132d91b5b62"><code>32</code></span>

<a id="dt-cccfa5b4aa76f55e65d3"></a>

### <code>xlnx&#44;gpio2&#45;width</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d2cdded111893ce23055">[<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-efcce3b94fae6f8184e3">
<p style="white-space: pre-wrap">The value defines the bit width of the GPIO channel2.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-ccc23c81837b93cb0527"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-c11c5e2ba835645a8c78"><code>32</code></span>

**Default value (<code>default</code>):** <span id="dt-7c5c6b189934f98b9675"><code>32</code></span>

<a id="dt-98d1153d652a06ec18d9"></a>

### <code>xlnx&#44;interrupt&#45;present</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-602c6acbdf0c16959e31">[<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-742ec236aa42f770674e">
<p style="white-space: pre-wrap">This parameter enables interrupt control logic and interrupt registers in GPIO module.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-310ff0bc8790405b684e"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-18111f3bdd11afa71e03"><code>1</code></span>

**Default value (<code>default</code>):** <span id="dt-01cc17382a903c76748f"><code>0</code></span>

<a id="dt-c98c7b27297a087eb55a"></a>

### <code>xlnx&#44;is&#45;dual</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4040eaf74a7ade7b3d07">[<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-3062a83b854c9c9e7212">
<p style="white-space: pre-wrap">This parameter enables a second GPIO channel (GPIO2).</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-d97b17b75967e0d2ab5b"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-f340a66e79334d56e005"><code>1</code></span>

**Default value (<code>default</code>):** <span id="dt-af16d5996377ed5066ff"><code>0</code></span>

<a id="dt-fb178c6a533fa3183783"></a>

### <code>xlnx&#44;tri&#45;default</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4420e6857d5ca8102379">[<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-1bd3fa1773f354041cff">
<p style="white-space: pre-wrap">This value configures the input or output mode of each bit of GPIO channel1.</p>
</div>

<a id="dt-9ba3fe5489d2993140e4"></a>

### <code>xlnx&#44;tri&#45;default&#45;2</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9f648f61264e8dcff4c7">[<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-fffdd04309d169db124a">
<p style="white-space: pre-wrap">This value configures the input or output mode of each bit of GPIO channel2.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;reg&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;gpio&#45;cells&#34;</code></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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

gpio@a0020000 {
    compatible = "xlnx,xps-gpio-1.00.a";
    reg = &lt;0xa0020000 0x10000&gt;;
    #gpio-cells = &lt;2&gt;;
    #interrupt-cells = &lt;0x2&gt;;
    clocks = &lt;&amp;zynqmp_clk 71&gt;;
    gpio-controller;
    interrupt-controller;
    interrupt-names = "ip2intc_irpt";
    interrupt-parent = &lt;&amp;gic&gt;;
    interrupts = &lt;0 89 4&gt;;
    xlnx,all-inputs = &lt;0x0&gt;;
    xlnx,all-inputs-2 = &lt;0x0&gt;;
    xlnx,all-outputs = &lt;0x0&gt;;
    xlnx,all-outputs-2 = &lt;0x0&gt;;
    xlnx,dout-default = &lt;0x0&gt;;
    xlnx,dout-default-2 = &lt;0x0&gt;;
    xlnx,gpio-width = &lt;0x20&gt;;
    xlnx,gpio2-width = &lt;0x20&gt;;
    xlnx,interrupt-present = &lt;0x1&gt;;
    xlnx,is-dual = &lt;0x1&gt;;
    xlnx,tri-default = &lt;0xFFFFFFFF&gt;;
    xlnx,tri-default-2 = &lt;0xFFFFFFFF&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 OR BSD-2-Clause)</span></p>

</details>

---

# ZynqMP Mode Pin GPIO controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for ZynqMP Mode Pin 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;gpio&#47;xlnx&#44;zynqmp&#45;gpio&#45;modepin&#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">PS_MODE is 4-bits boot mode pins sampled on POR deassertion. Mode Pin GPIO controller with configurable from numbers of pins (from 0 to 3 per PS_MODE). Every pin can be configured as input/output.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Radhey Shyam Pandey &#60;radhey&#46;shyam&#46;pandey&#64;amd&#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;xlnx&#44;zynqmp&#45;gpio&#45;modepin&#34;</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-0c6076cd9d6f109c5cc6"></a>

### <code>label</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-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;gpio&#45;cells&#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">zynqmp-firmware {
    gpio {
        compatible = "xlnx,zynqmp-gpio-modepin";
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        label = "modepin";
    };
};
</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>

---

# Xylon LogiCVC GPIO controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Gpio bindings_

> Device-tree binding reference for Xylon LogiCVC GPIO controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;gpio&#47;xylon&#44;logicvc&#45;gpio&#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;Paul Kocialkowski &#60;paul&#46;kocialkowski&#64;bootlin&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The LogiCVC GPIO describes the GPIO block included in the LogiCVC display
controller. These are meant to be used for controlling display-related
signals.</p>
<p style="white-space: pre-wrap">The controller exposes GPIOs from the display and power control registers,
which are mapped by the driver as follows:
- GPIO[4:0] (display control) mapped to index 0-4
- EN_BLIGHT (power control) mapped to index 5
- EN_VDD (power control) mapped to index 6
- EN_VEE (power control) mapped to index 7
- V_EN (power control) mapped to index 8</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;gpio&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;&#34;</code></span>

<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;xylon&#44;logicvc&#45;3&#46;02&#46;a&#45;gpio&#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-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-a63b03dba047b6fd45f0"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7da1f39f1fcedec6860"><code>9</code></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#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">logicvc: logicvc@43c00000 {
  compatible = "xylon,logicvc-3.02.a", "syscon", "simple-mfd";
  reg = &lt;0x43c00000 0x6000&gt;;

  #address-cells = &lt;1&gt;;
  #size-cells = &lt;1&gt;;

  logicvc_gpio: gpio@40 {
    compatible = "xylon,logicvc-3.02.a-gpio";
    reg = &lt;0x40 0x40&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    gpio-line-names = "GPIO0", "GPIO1", "GPIO2", "GPIO3", "GPIO4",
           "EN_BLIGHT", "EN_VDD", "EN_VEE", "V_EN";
  };
};
</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 OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright 2019 Bootlin</span></p>

</details>
