# Analog Devices AXI ADC IP core

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

> Device-tree binding reference for Analog Devices AXI ADC IP core.

<!-- 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;axi&#45;adc&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<pre><code>Analog Devices Generic AXI ADC IP core for interfacing an ADC device
with a high speed serial (JESD204B/C) or source synchronous parallel
interface (LVDS/CMOS).
Usually, some other interface type (i.e SPI) is used as a control
interface for the actual ADC, while this IP core will interface
to the data-lines of the ADC and handle the streaming of data into
memory via DMA.
In some cases, the AXI ADC interface is used to perform specialized
operation to a particular ADC, e.g access the physical bus through
specific registers to write ADC registers.
In this case, we use a different compatible which indicates the target
IP core's name.
The following IP is currently supported:
  - AXI AD7606x: specialized version of the IP core for all the chips from
    the ad7606 family.</code></pre>
<p style="white-space: pre-wrap">https://wiki.analog.com/resources/fpga/docs/axi_adc_ip
https://analogdevicesinc.github.io/hdl/library/axi_ad408x/index.html
https://analogdevicesinc.github.io/hdl/library/axi_ad485x/index.html
http://analogdevicesinc.github.io/hdl/library/axi_ad7606x/index.html</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;adi&#44;axi&#45;adc&#45;10&#46;0&#46;a&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;adi&#44;axi&#45;ad408x&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;adi&#44;axi&#45;ad7606x&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;adi&#44;axi&#45;ad485x&#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-5bb8576c9296c5644e7f"></a>

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

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

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

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

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

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

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

**Item 1**

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

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

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

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

<div id="dt-eb0f667012e7512e2cb3">
<p style="white-space: pre-wrap">A reference to a the actual ADC to which this FPGA ADC interfaces to.</p>
</div>

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

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

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

**Exact value (<code>const</code>):** <span id="dt-ea923d36d4678ec4d4b8"><code>0</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>

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

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

<a id="dt-4180e54d6e4ac74ba299"></a>

### <code>&#94;adc&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

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

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

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

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

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

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

<a id="dt-83c55e1ed3124b00f6d2"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>true</code>

Allowed by this rule.

**Required in this object (<code>required</code>):** <a id="dt-9eab6c794e04f588409a"></a> <span id="dt-4428c885fb570288cd73"><code>&#34;compatible&#34;</code></span>, <span id="dt-0e1dd53ce3eac272ac1d"><code>&#34;reg&#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;dmas&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#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-bf9d7a6c36fc19e6cd0a"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-451f8454a4f96d20fdd9"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-7ffdfc271ed461353e09"><code>&#34;adi&#44;axi&#45;ad7606x&#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-c7b7eff4f91ab07c8771"></a>
> >
> > **<code>&#35;address&#45;cells</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-b11f274fc48015b654fd"></a>
> >
> > **<code>&#35;size&#45;cells</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-6a22a8f69a54bcbb7d12"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-9c3bb280d0e19353a6f0"></a>
> >
> > **<code>&#94;adc&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression**
> >
> > <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">adc@44a00000 {
    compatible = "adi,axi-adc-10.0.a";
    reg = &lt;0x44a00000 0x10000&gt;;
    dmas = &lt;&amp;rx_dma 0&gt;;
    dma-names = "rx";
    clocks = &lt;&amp;axi_clk&gt;;
    #io-backend-cells = &lt;0&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/gpio/gpio.h&gt;
parallel_bus_controller@44a00000 {
    compatible = "adi,axi-ad7606x";
    reg = &lt;0x44a00000 0x10000&gt;;
    dmas = &lt;&amp;rx_dma 0&gt;;
    dma-names = "rx";
    clocks = &lt;&amp;ext_clk&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    adc@0 {
        compatible = "adi,ad7606b";
        reg = &lt;0&gt;;
        pwms = &lt;&amp;axi_pwm_gen 0 0&gt;;
        pwm-names = "convst1";
        avcc-supply = &lt;&amp;adc_vref&gt;;
        vdrive-supply = &lt;&amp;vdd_supply&gt;;
        reset-gpios = &lt;&amp;gpio0 91 GPIO_ACTIVE_HIGH&gt;;
        standby-gpios = &lt;&amp;gpio0 90 GPIO_ACTIVE_LOW&gt;;
        adi,range-gpios = &lt;&amp;gpio0 89 GPIO_ACTIVE_HIGH&gt;;
        adi,oversampling-ratio-gpios = &lt;&amp;gpio0 88 GPIO_ACTIVE_HIGH
                        &amp;gpio0 87 GPIO_ACTIVE_HIGH
                        &amp;gpio0 86 GPIO_ACTIVE_HIGH&gt;;
        io-backends = &lt;&amp;parallel_bus_controller&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>
