# Freescale Elo3 DMA Controller

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

> Device-tree binding reference for Freescale Elo3 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;fsl&#44;elo3&#45;dma&#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;J&#46; Neuschäfer &#60;j&#46;ne&#64;posteo&#46;net&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">DMA controller which has same function as EloPlus except that Elo3 has 8 channels while EloPlus has only 4, it is used in Freescale Txxx and Bxxx series chips, such as t1040, t4240, b4860.</p>
</div>

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

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

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

### <code>compatible</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;fsl&#44;elo3&#45;dma&#34;</code></span>

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

### <code>reg</code> — not listed as required here

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

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

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">DMA General Status Registers starting from DGSR0, for channel 1~4</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">DMA General Status Registers starting from DGSR1, for channel 5~8</p>
> </div>

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

### <code>ranges</code> — not listed as required here

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

<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>1</code></span>

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

### <code>interrupts</code> — not listed as required here

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

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

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

<a id="dt-7d0cec28e7766dc12dc3"></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-6f78bb417f58c9c8d251"><code>&#34;object&#34;</code></span>

<a id="dt-d776e7ed7a090e1058ec"></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-17a1f46ab2e21cc152e4"></a>

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

<a id="dt-82052a11c0387676563a"></a>

**<code>compatible</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-bdf23940d4e46f31bd62"></a> <span id="dt-d6e46d7504c19f2d2c79"><code>&#34;fsl&#44;eloplus&#45;dma&#45;channel&#34;</code></span>, <span id="dt-ef608483704871b7eb4f"><code>&#34;fsl&#44;ssi&#45;dma&#45;channel&#34;</code></span>

<a id="dt-402b776e471ae9c6d765"></a>

**<code>reg</code> — not listed as required here**

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

<a id="dt-099714f0b23c77cf6cd5"></a>

**<code>interrupts</code> — not listed as required here**

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

<div id="dt-9b7fc6d527d149f6d1f5">
<p style="white-space: pre-wrap">Per-channel interrupt. Only necessary if no controller interrupt has been provided.</p>
</div>

<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/interrupt-controller/irq.h&gt;

dma@100300 {
    compatible = "fsl,elo3-dma";
    reg = &lt;0x100300 0x4&gt;,
          &lt;0x100600 0x4&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    ranges = &lt;0x0 0x100100 0x500&gt;;

    dma-channel@0 {
        compatible = "fsl,eloplus-dma-channel";
        reg = &lt;0x0 0x80&gt;;
        interrupts = &lt;28 IRQ_TYPE_EDGE_FALLING 0 0&gt;;
    };

    dma-channel@80 {
        compatible = "fsl,eloplus-dma-channel";
        reg = &lt;0x80 0x80&gt;;
        interrupts = &lt;29 IRQ_TYPE_EDGE_FALLING 0 0&gt;;
    };

    dma-channel@100 {
        compatible = "fsl,eloplus-dma-channel";
        reg = &lt;0x100 0x80&gt;;
        interrupts = &lt;30 IRQ_TYPE_EDGE_FALLING 0 0&gt;;
    };

    dma-channel@180 {
        compatible = "fsl,eloplus-dma-channel";
        reg = &lt;0x180 0x80&gt;;
        interrupts = &lt;31 IRQ_TYPE_EDGE_FALLING 0 0&gt;;
    };

    dma-channel@300 {
        compatible = "fsl,eloplus-dma-channel";
        reg = &lt;0x300 0x80&gt;;
        interrupts = &lt;76 IRQ_TYPE_EDGE_FALLING 0 0&gt;;
    };

    dma-channel@380 {
        compatible = "fsl,eloplus-dma-channel";
        reg = &lt;0x380 0x80&gt;;
        interrupts = &lt;77 IRQ_TYPE_EDGE_FALLING 0 0&gt;;
    };

    dma-channel@400 {
        compatible = "fsl,eloplus-dma-channel";
        reg = &lt;0x400 0x80&gt;;
        interrupts = &lt;78 IRQ_TYPE_EDGE_FALLING 0 0&gt;;
    };

    dma-channel@480 {
        compatible = "fsl,eloplus-dma-channel";
        reg = &lt;0x480 0x80&gt;;
        interrupts = &lt;79 IRQ_TYPE_EDGE_FALLING 0 0&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 47:</strong> <span> native DMA channel</span></p>

<p id="dt-comment-2"><strong>Line 50:</strong> <span> audio DMA channel, see fsl,ssi.yaml</span></p>

</details>
