# Analog Devices Simultaneous Sampling Analog to Digital Converters

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Industrial I/O bindings / adc_

> Device-tree binding reference for Analog Devices Simultaneous Sampling Analog to Digital Converters.

<!-- 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;iio&#47;adc&#47;adi&#44;ad7380&#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 Hennerich &#60;Michael&#46;Hennerich&#64;analog&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Nuno Sá &#60;nuno&#46;sa&#64;analog&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">* https://www.analog.com/en/products/ad7380.html
* https://www.analog.com/en/products/ad7381.html
* https://www.analog.com/en/products/ad7383.html
* https://www.analog.com/en/products/ad7384.html
* https://www.analog.com/en/products/ad7386.html
* https://www.analog.com/en/products/ad7387.html
* https://www.analog.com/en/products/ad7388.html
* https://www.analog.com/en/products/ad7380-4.html
* https://www.analog.com/en/products/ad7381-4.html
* https://www.analog.com/en/products/ad7383-4.html
* https://www.analog.com/en/products/ad7384-4.html
* https://www.analog.com/en/products/ad7386-4.html
* https://www.analog.com/en/products/ad7387-4.html
* https://www.analog.com/en/products/ad7388-4.html
* https://www.analog.com/en/products/ad7389-4.html
* https://www.analog.com/en/products/adaq4370-4.html
* https://www.analog.com/en/products/adaq4380-4.html
* https://www.analog.com/en/products/adaq4381-4.html</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<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-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;ad7380&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;adi&#44;ad7381&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;adi&#44;ad7383&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;adi&#44;ad7384&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;adi&#44;ad7386&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;adi&#44;ad7387&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;adi&#44;ad7388&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;adi&#44;ad7380&#45;4&#34;</code></span>, <span id="dt-07feb33463d5c114ab05"><code>&#34;adi&#44;ad7381&#45;4&#34;</code></span>, <span id="dt-1e634b71c3167df349bb"><code>&#34;adi&#44;ad7383&#45;4&#34;</code></span>, <span id="dt-70e866729f00cfce3510"><code>&#34;adi&#44;ad7384&#45;4&#34;</code></span>, <span id="dt-81f973819a6dd2302321"><code>&#34;adi&#44;ad7386&#45;4&#34;</code></span>, <span id="dt-e5cbf931a6c5d40231a9"><code>&#34;adi&#44;ad7387&#45;4&#34;</code></span>, <span id="dt-5235cdfd9421f63db578"><code>&#34;adi&#44;ad7388&#45;4&#34;</code></span>, <span id="dt-d43d2d7f137c2a014614"><code>&#34;adi&#44;ad7389&#45;4&#34;</code></span>, <span id="dt-550b25c2a121e87d781f"><code>&#34;adi&#44;adaq4370&#45;4&#34;</code></span>, <span id="dt-da56dd3331033aff7561"><code>&#34;adi&#44;adaq4380&#45;4&#34;</code></span>, <span id="dt-d9315c8e8ee3234b7e87"><code>&#34;adi&#44;adaq4381&#45;4&#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-03a3b4f56bf191dde680"></a>

### <code>spi&#45;max&#45;frequency</code> — not listed as required here

**Maximum value (<code>maximum</code>):** <span id="dt-f17e1c3bb71259096275"><code>80000000</code></span>

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

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

### <code>spi&#45;cpha</code> — not listed as required here

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

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

### <code>vcc&#45;supply</code> — required here

<div id="dt-304923183fea32e69a40">
<p style="white-space: pre-wrap">A 3V to 3.6V supply that powers the chip.</p>
</div>

<a id="dt-06e3134522238a83a2fe"></a>

### <code>vlogic&#45;supply</code> — required here

<div id="dt-d675d3796e3b97af0c13">
<p style="white-space: pre-wrap">A 1.65V to 3.6V supply for the logic pins.</p>
</div>

<a id="dt-5987816858329f973218"></a>

### <code>refio&#45;supply</code> — not listed as required here

<div id="dt-b9db2e0da466248f10aa">
<p style="white-space: pre-wrap">A 2.5V to 3.3V supply for the external reference voltage. When omitted, the internal 2.5V reference is used.</p>
</div>

<a id="dt-84e2e3a75b9cc8ae2fc7"></a>

### <code>refin&#45;supply</code> — not listed as required here

<div id="dt-b738ecee2d7603dfe032">
<p style="white-space: pre-wrap">A 2.5V to 3.3V supply for external reference voltage, for ad7380-4 only. For adaq devices, a 5V supply voltage. A 3.3V internal reference is derived from it. Connect to vs-p-supply for normal operation.</p>
</div>

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

### <code>vs&#45;p&#45;supply</code> — not listed as required here

<div id="dt-f5567fe03a9e26ec81b0">
<p style="white-space: pre-wrap">Amplifiers positive supply.</p>
</div>

<a id="dt-943d6c494a99ba2fb5c6"></a>

### <code>vs&#45;n&#45;supply</code> — not listed as required here

<div id="dt-29c45713d4ac6a29a26a">
<p style="white-space: pre-wrap">Amplifiers negative supply.</p>
</div>

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

### <code>ldo&#45;supply</code> — not listed as required here

<div id="dt-a5805bd873107feae35f">
<p style="white-space: pre-wrap">LDO supply. Connect to vs-p-supply or a 3.6 to 5.5 V supply.</p>
</div>

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

### <code>aina&#45;supply</code> — not listed as required here

<div id="dt-1d4c70c8b4bcfa644f57">
<p style="white-space: pre-wrap">The common mode voltage supply for the AINA- pin on pseudo-differential chips.</p>
</div>

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

### <code>ainb&#45;supply</code> — not listed as required here

<div id="dt-9c1d031dc1059bf51129">
<p style="white-space: pre-wrap">The common mode voltage supply for the AINB- pin on pseudo-differential chips.</p>
</div>

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

### <code>ainc&#45;supply</code> — not listed as required here

<div id="dt-06e00754cef787709220">
<p style="white-space: pre-wrap">The common mode voltage supply for the AINC- pin on pseudo-differential chips.</p>
</div>

<a id="dt-428dac33975441655b71"></a>

### <code>aind&#45;supply</code> — not listed as required here

<div id="dt-fa5cc0627de3fae8c174">
<p style="white-space: pre-wrap">The common mode voltage supply for the AIND- pin on pseudo-differential chips.</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">When the device is using 1-wire mode, this property is used to optionally specify the ALERT interrupt.</p>
</div>

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

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

### <code>&#35;address&#45;cells</code> — not listed as 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> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</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;vcc&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;vlogic&#45;supply&#34;</code></span>

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

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

<a id="dt-851beb48e74b776e2b4b"></a>

### <code>&#94;channel&#64;&#91;0&#45;3&#93;&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-18a2ccaf45a0cc940a13">[<code>adc&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-iio/adc/adc.md#dt-root>)</span>

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

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

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

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

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

<div id="dt-37064238cfe14c8d59ca">
<p style="white-space: pre-wrap">The channel number. From 0 to 3 corresponding to channels A,B,C,D</p>
</div>

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

**Maximum value (<code>maximum</code>):** <span id="dt-90e673016c8c58728574"><code>3</code></span>

<a id="dt-65b93b5f11ef0f54d55f"></a>

**<code>adi&#44;gain&#45;milli</code> — not listed as required here**

<div id="dt-5ab9f4f0547dbd327075">
<p style="white-space: pre-wrap">The hardware gain applied to the ADC input (in milli units). If not present, default to 1000 (no actual gain applied). Refer to the typical connection diagrams section of the datasheet for pin wiring.</p>
</div>

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

**Allowed values (<code>enum</code>):** <a id="dt-7161159772f31364ae13"></a> <span id="dt-ef83511d5762bec91010"><code>300</code></span>, <span id="dt-5f3fb39184542e9dd9b0"><code>600</code></span>, <span id="dt-73e12de9d6afdace8749"><code>1000</code></span>, <span id="dt-c4cc8150e28e9938cb78"><code>1600</code></span>

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

**Required in this object (<code>required</code>):** <a id="dt-ed8c88f28db5f41ceea0"></a> <span id="dt-2369497c99afd9cc977c"><code>&#34;reg&#34;</code></span>

<a id="dt-c3f2dcc6cff4fd880215"></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-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**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-867fe1927430e9b33ede"></a> <span id="dt-7226965ee25a457638c7"><code>&#34;adi&#44;ad7383&#34;</code></span>, <span id="dt-2f3cfadcb56c1f0fc8f8"><code>&#34;adi&#44;ad7384&#34;</code></span>, <span id="dt-26e3f364c6eac5aaaf0e"><code>&#34;adi&#44;ad7383&#45;4&#34;</code></span>, <span id="dt-d148378bce6d3a37d9a0"><code>&#34;adi&#44;ad7384&#45;4&#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;aina&#45;supply&#34;</code></span>, <span id="dt-5652a54c9ddda3dcd6bf"><code>&#34;ainb&#45;supply&#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-a56d36177c7a84685449"></a>
> >
> > **<code>aina&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-97d81d1289b3c4d7a04f"></a>
> >
> > **<code>ainb&#45;supply</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>)
>
> > <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;adi&#44;ad7383&#45;4&#34;</code></span>, <span id="dt-68ac103663508bfae0ff"><code>&#34;adi&#44;ad7384&#45;4&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;ainc&#45;supply&#34;</code></span>, <span id="dt-5daae4bef35eb1615659"><code>&#34;aind&#45;supply&#34;</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-d1bfbe39c60ceacc1bb5"></a>
> >
> > **<code>ainc&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-993078db6d295070a010"></a>
> >
> > **<code>aind&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<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;adi&#44;ad7380&#45;4&#34;</code></span>, <span id="dt-fafe3320c4ddddf69a25"><code>&#34;adi&#44;adaq4370&#45;4&#34;</code></span>, <span id="dt-52e71aebe47f0bb965da"><code>&#34;adi&#44;adaq4380&#45;4&#34;</code></span>, <span id="dt-8bea9a59d4e8e2834b71"><code>&#34;adi&#44;adaq4381&#45;4&#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-3e3e51d281e6f7ef0437"></a>
> >
> > **<code>refio&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > **Required in this object (<code>required</code>):** <a id="dt-caec4da91c2837148d80"></a> <span id="dt-aa785038ee05bfb1e067"><code>&#34;refin&#45;supply&#34;</code></span>
>
> <a id="dt-a27f5f4fc91750ae210f"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-10a581729d134f7b8a73"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-89da27ced19212bc59e4"></a>
> >
> > **<code>refin&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<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**
> >
> > **Exact value (<code>const</code>):** <span id="dt-a467c629e24e4e59c2d9"><code>&#34;adi&#44;ad7389&#45;4&#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-361e8d190aacbc7c79b0"></a>
> >
> > **<code>refio&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

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

### Rule 5

> <a id="dt-30dd43480a02ff52099e"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-815e247e2e39708faa21"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-95159efb137dae08a1e1"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-829d5c784596f6a68df6"></a> <span id="dt-d596a14094bd1fb27e37"><code>&#34;adi&#44;adaq4370&#45;4&#34;</code></span>, <span id="dt-f2263f907702f052350a"><code>&#34;adi&#44;adaq4380&#45;4&#34;</code></span>, <span id="dt-cb4eb72e707c119367de"><code>&#34;adi&#44;adaq4381&#45;4&#34;</code></span>
>
> <a id="dt-b13bdf6bf01ba2db1729"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-d0be233c145bb706d4e5"></a> <span id="dt-70d480dba72a9448693e"><code>&#34;vs&#45;p&#45;supply&#34;</code></span>, <span id="dt-72a4536eb362c1dd710e"><code>&#34;vs&#45;n&#45;supply&#34;</code></span>, <span id="dt-68aa2423fbe5ceca1cfe"><code>&#34;ldo&#45;supply&#34;</code></span>
>
> <a id="dt-93772ef337bf2b53b663"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-014a2988824dd8d8cbb7"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-b00f9112d69327e64f7c"></a>
> >
> > **<code>vs&#45;p&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-5ccaad2bea17a25697fc"></a>
> >
> > **<code>vs&#45;n&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-34b42c32aa567eac5a9c"></a>
> >
> > **<code>ldo&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-72ea3ab1b0a9883fb21c"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-d0ad91ca18c315863444"></a>
> >
> > **<code>&#94;channel&#64;&#91;0&#45;3&#93;&#36;</code> — name matches this regular expression**
> >
> > <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/interrupt-controller/irq.h&gt;

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

    adc@0 {
        compatible = "adi,ad7380";
        reg = &lt;0&gt;;

        spi-cpol;
        spi-cpha;
        spi-max-frequency = &lt;80000000&gt;;

        interrupts = &lt;27 IRQ_TYPE_EDGE_FALLING&gt;;
        interrupt-parent = &lt;&amp;gpio0&gt;;

        vcc-supply = &lt;&amp;supply_3_3V&gt;;
        vlogic-supply = &lt;&amp;supply_3_3V&gt;;
        refio-supply = &lt;&amp;supply_2_5V&gt;;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

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

    adc@0 {
        compatible = "adi,adaq4380-4";
        reg = &lt;0&gt;;

        spi-cpol;
        spi-cpha;
        spi-max-frequency = &lt;80000000&gt;;

        interrupts = &lt;27 IRQ_TYPE_EDGE_FALLING&gt;;
        interrupt-parent = &lt;&amp;gpio0&gt;;

        vcc-supply = &lt;&amp;supply_3_3V&gt;;
        vlogic-supply = &lt;&amp;supply_3_3V&gt;;
        refin-supply = &lt;&amp;supply_5V&gt;;
        vs-p-supply = &lt;&amp;supply_5V&gt;;
        vs-n-supply = &lt;&amp;supply_0V&gt;;
        ldo-supply = &lt;&amp;supply_5V&gt;;

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

        channel@0 {
            reg = &lt;0&gt;;
            adi,gain-milli = /bits/ 16 &lt;300&gt;;
        };

        channel@2 {
            reg = &lt;2&gt;;
            adi,gain-milli = /bits/ 16 &lt;600&gt;;
        };

        channel@3 {
            reg = &lt;3&gt;;
            adi,gain-milli = /bits/ 16 &lt;1000&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 163:</strong> <span> pseudo-differential chips require common mode voltage supplies,</span></p>

<p id="dt-comment-2"><strong>Line 164:</strong> <span> true differential chips don't use them</span></p>

<p id="dt-comment-3"><strong>Line 196:</strong> <span> ad7380-4 uses refin-supply as external reference.</span></p>

<p id="dt-comment-4"><strong>Line 197:</strong> <span> adaq devices use internal reference only, derived from refin-supply</span></p>

<p id="dt-comment-5"><strong>Line 198:</strong> <span> All other chips from ad738x family use refio as optional external reference.</span></p>

<p id="dt-comment-6"><strong>Line 199:</strong> <span> When refio-supply is omitted, internal reference is used.</span></p>

<p id="dt-comment-7"><strong>Line 217:</strong> <span> adi,ad7389-4 is internal reference only</span></p>

<p id="dt-comment-8"><strong>Line 226:</strong> <span> adaq devices need more supplies and using channel to declare gain property</span></p>

<p id="dt-comment-9"><strong>Line 227:</strong> <span> only applies to adaq devices</span></p>

</details>
