# Marvell XOR engine

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

> Device-tree binding reference for Marvell XOR engine.

<!-- 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;marvell&#44;orion&#45;xor&#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;Andrew Lunn &#60;andrew&#64;lunn&#46;ch&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Gregory Clement &#60;gregory&#46;clement&#64;bootlin&#46;com&#62;&#34;</code></span>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5deec2612224d8d915da"><code>&#34;marvell&#44;armada&#45;380&#45;xor&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;marvell&#44;orion&#45;xor&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Allowed values (<code>enum</code>):** <a id="dt-ad5dbad5326d5a61ae46"></a> <span id="dt-af4759e2a8ab9583f63d"><code>&#34;marvell&#44;armada&#45;3700&#45;xor&#34;</code></span>, <span id="dt-9aa1d0e5d9a73a253eb7"><code>&#34;marvell&#44;orion&#45;xor&#34;</code></span>

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

### <code>reg</code> — 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">Low registers for the XOR engine</p>
> </div>

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

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">High registers for the XOR engine</p>
> </div>

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

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

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

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

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

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

### <code>&#94;&#40;channel&#124;xor&#41;&#91;0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

<div id="dt-d1797326b02b88eacbf5">
<p style="white-space: pre-wrap">XOR channel sub-node</p>
</div>

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

<a id="dt-9f8aff6e4f2197267980"></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-abd6ae81fb0d3122ad7a"></a>

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

<a id="dt-6d34c7539a78441666c1"></a>

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

<div id="dt-d57df5e2fd9fb14d6fed">
<p style="white-space: pre-wrap">Interrupt specifier for the XOR channel</p>
</div>

<a id="dt-40538d1fa7812345a612"></a>

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

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

**Item 1**

> <div id="dt-e58fb24eaa77c7153eeb">
> <p style="white-space: pre-wrap">Interrupt for this channel</p>
> </div>

<a id="dt-63e62e1b375b4f918c15"></a>

**<code>dmacap&#44;memcpy</code> — not listed as required here**

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

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

<div id="dt-6c96f33512768fef706a">
<p style="white-space: pre-wrap">Indicates that the XOR channel is capable of memcpy operations</p>
</div>

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

**<code>dmacap&#44;memset</code> — not listed as required here**

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

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

<div id="dt-faf530f59c8cee33f07b">
<p style="white-space: pre-wrap">Indicates that the XOR channel is capable of memset operations</p>
</div>

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

**<code>dmacap&#44;xor</code> — not listed as required here**

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

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

<div id="dt-294b06fcf7f6df9ac931">
<p style="white-space: pre-wrap">Indicates that the XOR channel is capable of xor operations</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-1d84012012271d4a6c13"></a> <span id="dt-de749277361745f2fb2b"><code>&#34;interrupts&#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>

<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">xor@d0060900 {
    compatible = "marvell,orion-xor";
    reg = &lt;0xd0060900 0x100&gt;,
          &lt;0xd0060b00 0x100&gt;;
    clocks = &lt;&amp;coreclk 0&gt;;

    xor00 {
        interrupts = &lt;51&gt;;
    };
    xor01 {
        interrupts = &lt;52&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>
