# Analog Devices AXI-DMAC DMA controller

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

> Device-tree binding reference for Analog Devices AXI-DMAC DMA 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;dma&#47;adi&#44;axi&#45;dmac&#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">FPGA-based DMA controller designed for use with high-speed converter hardware.</p>
<p style="white-space: pre-wrap">http://analogdevicesinc.github.io/hdl/library/axi_dmac/index.html</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Nuno Sa &#60;nuno&#46;sa&#64;analog&#46;com&#62;&#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-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;adi&#44;axi&#45;dmac&#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-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-a987fd9c3db53ecacc54"></a>

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

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

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

### <code>adi&#44;channels</code> — not listed as required here

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

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

<div id="dt-7b577cf23b9dd65ff219">
<p style="white-space: pre-wrap">This sub-node must contain a sub-node for each DMA channel. This node is only required for IP versions older than 4.3.a and should otherwise be omitted.</p>
</div>

<a id="dt-255c1de3d9f9fbb1097d"></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-bb550ec9874d680e066a"></a>

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

<a id="dt-75607b2f5a607304f2f8"></a>

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

**Exact value (<code>const</code>):** <span id="dt-c4c8be4b1d01e517a7a7"><code>0</code></span>

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

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

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

<a id="dt-91b7db8174666f747f19"></a>

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

<a id="dt-75c1fceefa17bf024185"></a>

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

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

<div id="dt-85d300d0eccbd85c9074">
<p style="white-space: pre-wrap">DMA channel properties based on HDL compile-time configuration.</p>
</div>

<a id="dt-b7e3e02bdeee5294d7aa"></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-01c2b1ddd8e91abff0de"></a>

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

<a id="dt-936b58a3bca466c9282b"></a>

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

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

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

**<code>adi&#44;source&#45;bus&#45;width</code> — required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0649ff3c84a068e695f9">[<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-a2e006dc67ad290224da">
<p style="white-space: pre-wrap">Width of the source bus in bits.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-d2d69b270ec30900977e"></a> <span id="dt-9d59f69f5aae2f362437"><code>8</code></span>, <span id="dt-490a49152e3fcb20a668"><code>16</code></span>, <span id="dt-8658c1967d0998107a28"><code>32</code></span>, <span id="dt-dc32fed318a94f8f26e8"><code>64</code></span>, <span id="dt-526508caefdb71928768"><code>128</code></span>

<a id="dt-27e2092cec9f60816f0a"></a>

**<code>adi&#44;destination&#45;bus&#45;width</code> — required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-839ac797312041db76a3">[<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-678bb071028ed20556c9">
<p style="white-space: pre-wrap">Width of the destination bus in bits.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-41732aace67d0d025a33"></a> <span id="dt-c11611398504e0cb776f"><code>8</code></span>, <span id="dt-919ecde994295ca77c3a"><code>16</code></span>, <span id="dt-98ff43d68f13c18b6234"><code>32</code></span>, <span id="dt-dff592e4d4c8eb3eaa21"><code>64</code></span>, <span id="dt-fe53c26348a4a0508bab"><code>128</code></span>

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

**<code>adi&#44;source&#45;bus&#45;type</code> — required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3320303f969833cac178">[<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-cda9b8ecc329a8fcfd4f">
<p style="white-space: pre-wrap">Type of the source bus.</p>
<p style="white-space: pre-wrap">0: Memory mapped AXI interface
1: Streaming AXI interface
2: FIFO interface</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-aaabf342fae92b466a49"></a> <span id="dt-142fe29f8c9243404f2b"><code>0</code></span>, <span id="dt-1fd8827f951eae32f9f7"><code>1</code></span>, <span id="dt-d38847b6a773fde69864"><code>2</code></span>

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

**<code>adi&#44;destination&#45;bus&#45;type</code> — required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a9ce1a51111431d2268f">[<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-0278739ef52cb0533416">
<p style="white-space: pre-wrap">Type of the destination bus (see adi,source-bus-type).</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-084c0a1f4a769ae7c193"></a> <span id="dt-2ab6b0261be6eb463bfc"><code>0</code></span>, <span id="dt-f75eccaa735974932c46"><code>1</code></span>, <span id="dt-1ab5c104378aa3666eee"><code>2</code></span>

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

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bd242bd1d5d43b2d9f21">[<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-5d65fd5b8aeb0374f5b3">
<p style="white-space: pre-wrap">Width of the DMA transfer length register.</p>
</div>

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

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

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

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

<div id="dt-b8bf98082cb4aebfe5be">
<p style="white-space: pre-wrap">Must be set if the channel supports hardware cyclic DMA transfers.</p>
</div>

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

**<code>adi&#44;2d</code> — not listed as required here**

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

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

<div id="dt-6d62a109c7a76c2f7c57">
<p style="white-space: pre-wrap">Must be set if the channel supports hardware 2D DMA transfers.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-54ebb584b4753856b991"></a> <span id="dt-98f057c26ead3546fcd7"><code>&#34;reg&#34;</code></span>, <span id="dt-be119bee3dcf6fe37508"><code>&#34;adi&#44;source&#45;bus&#45;width&#34;</code></span>, <span id="dt-6fa6c37fe0d49950f2bb"><code>&#34;adi&#44;destination&#45;bus&#45;width&#34;</code></span>, <span id="dt-faf315e1cad59a86e4a7"><code>&#34;adi&#44;source&#45;bus&#45;type&#34;</code></span>, <span id="dt-36f9383989b603d1a00e"><code>&#34;adi&#44;destination&#45;bus&#45;type&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-43ddc4e1259668c1cb91"></a> <span id="dt-bd1730f4711519f951f7"><code>&#34;&#35;size&#45;cells&#34;</code></span>, <span id="dt-2830904d4bf211570d43"><code>&#34;&#35;address&#45;cells&#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;&#35;dma&#45;cells&#34;</code></span>

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">dma-controller@7c420000 {
    compatible = "adi,axi-dmac-1.00.a";
    reg = &lt;0x7c420000 0x10000&gt;;
    interrupts = &lt;0 57 0&gt;;
    clocks = &lt;&amp;clkc 16&gt;;
    #dma-cells = &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>
