# Texas Instruments ADS131M0x 2-, 3-, 4-, 6- and 8-Channel ADCs

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

> Device-tree binding reference for Texas Instruments ADS131M0x 2-, 3-, 4-, 6- and 8-Channel ADCs.

<!-- 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;ti&#44;ads131m02&#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;Oleksij Rempel &#60;o&#46;rempel&#64;pengutronix&#46;de&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The ADS131M0x are a family of multichannel, simultaneous sampling,
24-bit, delta-sigma, analog-to-digital converters (ADCs) with a
built-in programmable gain amplifier (PGA) and internal reference.
Communication with the ADC chip is via SPI.</p>
<p style="white-space: pre-wrap">Datasheets:
- ADS131M02: https://www.ti.com/lit/ds/symlink/ads131m02.pdf
- ADS131M03: https://www.ti.com/lit/ds/symlink/ads131m03.pdf
- ADS131M04: https://www.ti.com/lit/ds/symlink/ads131m04.pdf
- ADS131M06: https://www.ti.com/lit/ds/symlink/ads131m06.pdf
- ADS131M08: https://www.ti.com/lit/ds/symlink/ads131m08.pdf</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;ti&#44;ads131m02&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;ads131m03&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ti&#44;ads131m04&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;ti&#44;ads131m06&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;ti&#44;ads131m08&#34;</code></span>

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

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">SPI chip select number.</p>
</div>

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

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

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">Phandle to the external clock source required by the ADC's CLKIN pin. The datasheet recommends specific frequencies based on the desired power mode (e.g., 8.192 MHz for High-Resolution mode).</p>
</div>

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

<a id="dt-14397a69ba55f41119c5"></a>

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

<div id="dt-c928412db05126ef65e3">
<p style="white-space: pre-wrap">Analog power supply (AVDD).</p>
</div>

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

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

<div id="dt-593261d208e8b7fb5f26">
<p style="white-space: pre-wrap">Digital power supply (DVDD).</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">DRDY (Data Ready) output signal.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</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">Optional RESET signal.</p>
</div>

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

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

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

<div id="dt-d153c20aa0faf1618c41">
<p style="white-space: pre-wrap">Indicates if a crystal oscillator (XTAL) or CMOS signal is connected (CLKIN). Note that XTAL mode is only supported on ADS131M06 and ADS131M08.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-1867ab15174af1c2753f"></a> <span id="dt-b867c4484db0762649fe"><code>&#34;xtal&#34;</code></span>, <span id="dt-33bb158b0dfde511ea76"><code>&#34;clkin&#34;</code></span>

<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">Optional external reference supply (REFIN).</p>
</div>

<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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;avdd&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;dvdd&#45;supply&#34;</code></span>

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

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

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

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

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

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

<div id="dt-00e2d0fe9808f4888d42">
<p style="white-space: pre-wrap">Properties for a single ADC channel.</p>
</div>

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

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

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

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

<div id="dt-965ac54d1e171e0f27c8">
<p style="white-space: pre-wrap">The channel index (0-7).</p>
</div>

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

**Maximum value (<code>maximum</code>):** <span id="dt-4d22deeea682dfc552e7"><code>7</code></span>

<a id="dt-d0b750e23f99b1eccb51"></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-8dd6c5615154981f70ef"></a> <span id="dt-8f33eedcbd533d8ceb95"><code>&#34;reg&#34;</code></span>

<a id="dt-509c48adbe44f84a9e15"></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

> **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-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;ti&#44;ads131m02&#34;</code></span>, <span id="dt-68ac103663508bfae0ff"><code>&#34;ti&#44;ads131m03&#34;</code></span>, <span id="dt-7e71a4327a0b7f6bd804"><code>&#34;ti&#44;ads131m04&#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-dde63784a5285c3f925c"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-e95f99af79406893bd8d"><code>&#34;clkin&#34;</code></span>
> >
> > <a id="dt-c4f9cf3580722c335cff"></a>
> >
> > **<code>refin&#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**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;ti&#44;ads131m02&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-c8fcd31065f7e965d191"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-00a2d00149597ce28882"></a>
> >
> > **<code>&#94;channel&#64;&#91;0&#45;1&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-c6d60b7a8270470eb2f0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-59cc42354088da5f7f95"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-291625707d767af38ff9"><code>1</code></span>
> >
> > <a id="dt-fed095b04525e574f9c9"></a>
> >
> > **<code>&#94;channel&#64;&#91;2&#45;7&#93;&#36;</code> — name matches this regular expression**
> >
> > <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**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-5c56c46a4e287cf52ece"><code>&#34;ti&#44;ads131m03&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-9fff9961ce6722b392f4"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-ba717326b839273ff663"></a>
> >
> > **<code>&#94;channel&#64;&#91;0&#45;2&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-bc33d0900938d708989a"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-a131d38360ffed02f6da"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-319d8388b7dffd2d4ef2"><code>2</code></span>
> >
> > <a id="dt-4650ab8558f3e9487f07"></a>
> >
> > **<code>&#94;channel&#64;&#91;3&#45;7&#93;&#36;</code> — name matches this regular expression**
> >
> > <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**
> >
> > <a id="dt-2bc9a23172c2091be559"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-def647aea9878c3c7610"><code>&#34;ti&#44;ads131m04&#34;</code></span>
>
> <a id="dt-b13bdf6bf01ba2db1729"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-71e2d872d02b2110c3db"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-e3e4744b95e65e001ec8"></a>
> >
> > **<code>&#94;channel&#64;&#91;0&#45;3&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-adea7eba23a5d241d3ac"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-0758ae8286719da17806"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-86ebfa36630b1d953905"><code>3</code></span>
> >
> > <a id="dt-f54918d9f4bd1ca944e3"></a>
> >
> > **<code>&#94;channel&#64;&#91;4&#45;7&#93;&#36;</code> — name matches this regular expression**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-51879ae9be030b28e888"></a>

### Rule 6

> <a id="dt-29f1a7d11303016de0fb"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-31db8c2b34419cd49333"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-049791ad441d801be5c0"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-b015f3429cf037cca578"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-7f8a84f9de0fb496acc4"><code>&#34;ti&#44;ads131m06&#34;</code></span>
>
> <a id="dt-5d3814a6fa606b79b9a6"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-1db36e06aed26562c164"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-92a44754a2cd4c0cd3b4"></a>
> >
> > **<code>&#94;channel&#64;&#91;0&#45;5&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-3e3a08acf3a3cd9e3399"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-1e6a4de3d68817ad479a"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-8fb849fc7a64ec653f87"><code>5</code></span>
> >
> > <a id="dt-6c1304f08f79d0299366"></a>
> >
> > **<code>&#94;channel&#64;&#91;6&#45;7&#93;&#36;</code> — name matches this regular expression**
> >
> > <code>false</code> — Not permitted by this property 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-1a130cabaa8a47b058bf"></a>

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/clock/stm32mp1-clks.h&gt;

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

    adc@0 {
        compatible = "ti,ads131m02";
        reg = &lt;0&gt;;
        spi-max-frequency = &lt;8000000&gt;;

        clocks = &lt;&amp;rcc CK_MCO2&gt;;
        clock-names = "clkin";

        avdd-supply = &lt;&amp;vdd_ana&gt;;
        dvdd-supply = &lt;&amp;vdd_dig&gt;;

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

        channel@0 {
            reg = &lt;0&gt;;
            label = "input_voltage";
        };

        channel@1 {
            reg = &lt;1&gt;;
            label = "input_current";
        };
    };
};
</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 91:</strong> <span> Max channels on ADS131M08</span></p>

<p id="dt-comment-2"><strong>Line 104:</strong> <span> 20-pin devices: M02, M03, M04</span></p>

<p id="dt-comment-3"><strong>Line 105:</strong> <span> These do not support XTAL or REFIN.</span></p>

<p id="dt-comment-4"><strong>Line 119:</strong> <span> ADS131M02: 2 channels max (0-1)</span></p>

<p id="dt-comment-5"><strong>Line 133:</strong> <span> ADS131M03: 3 channels max (0-2)</span></p>

<p id="dt-comment-6"><strong>Line 147:</strong> <span> ADS131M04: 4 channels max (0-3)</span></p>

<p id="dt-comment-7"><strong>Line 161:</strong> <span> ADS131M06: 6 channels max (0-5)</span></p>

</details>
