# Texas Instruments K3 NavigatorSS Ring Accelerator

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Soc bindings / ti_

> Device-tree binding reference for Texas Instruments K3 NavigatorSS Ring Accelerator.

<!-- 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;soc&#47;ti&#47;k3&#45;ringacc&#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;Santosh Shilimkar &#60;ssantosh&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Grygorii Strashko &#60;grygorii&#46;strashko&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Ring Accelerator (RA) is a machine which converts read/write accesses
from/to a constant address into corresponding read/write accesses from/to a
circular data structure in memory. The RA eliminates the need for each DMA
controller which needs to access ring elements from having to know the current
state of the ring (base address, current offset). The DMA controller
performs a read or write access to a specific address range (which maps to the
source interface on the RA) and the RA replaces the address for the transaction
with a new address which corresponds to the head or tail element of the ring
(head for reads, tail for writes).</p>
<p style="white-space: pre-wrap">The Ring Accelerator is a hardware module that is responsible for accelerating
management of the packet queues. The K3 SoCs can have more than one RA instances</p>
</div>

<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;arm&#47;keystone&#47;ti&#44;k3&#45;sci&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-arm/keystone/ti-k3-sci-common.md#dt-root>)</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-cc3709943397035582d2"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-aaadfb6b044cada8472e"><code>&#34;ti&#44;am654&#45;navss&#45;ringacc&#34;</code></span>

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-4b3e7791b11b96c3db87"><code>4</code></span>

<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">real time registers regions</p>
> </div>

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

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">fifos registers regions</p>
> </div>

<a id="dt-80d36cb915ffeff5364a"></a>

**Item 3**

> <div id="dt-5151e97c331b693ee0dd">
> <p style="white-space: pre-wrap">proxy gcfg registers regions</p>
> </div>

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

**Item 4**

> <div id="dt-e7b71b4619e949c538b1">
> <p style="white-space: pre-wrap">proxy target registers regions</p>
> </div>

<a id="dt-55b482bd3ef74ad8e49c"></a>

**Item 5**

> <div id="dt-9034b08616e8a84a1200">
> <p style="white-space: pre-wrap">configuration registers region</p>
> </div>

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-3f2820449161ca72af98"><code>4</code></span>

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

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

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

**Item 1**

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

<a id="dt-12013039402717d72b48"></a>

**Item 2**

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

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

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-bd78c6ffbdc5ce20feb0"><code>&#34;proxy&#95;gcfg&#34;</code></span>

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

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-98e4b3caabf49b98c17d"><code>&#34;proxy&#95;target&#34;</code></span>

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

**Item 5**

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

<a id="dt-7f9784704b6acffabda3"></a>

### <code>msi&#45;parent</code> — required here

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

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

### <code>ti&#44;num&#45;rings</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-cbce59b396e765aee0e4">[<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-6d3b6e9fb219d6b4752c">
<p style="white-space: pre-wrap">Number of rings supported by RA</p>
</div>

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

### <code>ti&#44;sci&#45;rm&#45;range&#45;gp&#45;rings</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-91f6948568dba6f78db2">[<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-b3807701c4eb2518c6a2">
<p style="white-space: pre-wrap">TI-SCI RM subtype for GP ring range</p>
</div>

**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;reg&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;msi&#45;parent&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;ti&#44;num&#45;rings&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;ti&#44;sci&#45;rm&#45;range&#45;gp&#45;rings&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;ti&#44;sci&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;ti&#44;sci&#45;dev&#45;id&#34;</code></span>

<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">bus {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;

    ringacc: ringacc@3c000000 {
        compatible = "ti,am654-navss-ringacc";
        reg = &lt;0x0 0x3c000000 0x0 0x400000&gt;,
              &lt;0x0 0x38000000 0x0 0x400000&gt;,
              &lt;0x0 0x31120000 0x0 0x100&gt;,
              &lt;0x0 0x33000000 0x0 0x40000&gt;,
              &lt;0x0 0x31080000 0x0 0x40000&gt;;
              reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target", "cfg";
        ti,num-rings = &lt;818&gt;;
        ti,sci-rm-range-gp-rings = &lt;0x2&gt;; /* GP ring range */
        ti,sci = &lt;&amp;dmsc&gt;;
        ti,sci-dev-id = &lt;187&gt;;
        msi-parent = &lt;&amp;inta_main_udmass&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 2:</strong> <span> Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/</span></p>

</details>
