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