# Texas Instruments K3 Interrupt Aggregator

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

> Device-tree binding reference for Texas Instruments K3 Interrupt Aggregator.

<!-- SPDX-License-Identifier: (GPL-2.0 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;interrupt&#45;controller&#47;ti&#44;sci&#45;inta&#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;Lokesh Vutla &#60;lokeshvutla&#64;ti&#46;com&#62;&#34;</code></span>

<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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Interrupt Aggregator (INTA) provides a centralized machine
which handles the termination of system events to that they can
be coherently processed by the host(s) in the system. A maximum
of 64 events can be mapped to a single interrupt.</p>
<pre><code>                              Interrupt Aggregator
                     +-----------------------------------------+
                     |      Intmap            VINT             |
                     | +--------------+  +------------+        |
            m ------&gt;| | vint  | bit  |  | 0 |.....|63| vint0  |
               .     | +--------------+  +------------+        |      +------+
               .     |         .               .               |      | HOST |
Globalevents  ------&gt;|         .               .               |-----&gt;| IRQ  |
               .     |         .               .               |      | CTRL |
               .     |         .               .               |      +------+
            n ------&gt;| +--------------+  +------------+        |
                     | | vint  | bit  |  | 0 |.....|63| vintx  |
                     | +--------------+  +------------+        |
                     |                                         |
                     |      Unmap                              |
                     | +--------------+                        |
Unmapped events ----&gt;| |   umapidx    |-------------------------&gt; Globalevents
                     | +--------------+                        |
                     |                                         |
                     +-----------------------------------------+</code></pre>
<p style="white-space: pre-wrap">Configuration of these Intmap registers that maps global events to vint is
done by a system controller (like the Device Memory and Security Controller
on AM654 SoC). Driver should request the system controller to get the range
of global events and vints assigned to the requesting host. Management
of these requested resources should be handled by driver and requests
system controller to map specific global event to vint, bit pair.</p>
<p style="white-space: pre-wrap">Communication between the host processor running an OS and the system
controller happens through a protocol called TI System Control Interface
(TISCI protocol).</p>
</div>

<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;ti&#44;sci&#45;inta&#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-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

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

<a id="dt-2614987f6ab7ae9e99b5"></a>

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

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

<a id="dt-3b0e2dab46bc3c725dee"></a>

### <code>ti&#44;interrupt&#45;ranges</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2a37aebb0c58063bb0aa">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;matrix</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d948f2945b497d9aa3c7>)</span>

<div id="dt-7c3fac4a8dd5e87ccdb5">
<p style="white-space: pre-wrap">Interrupt ranges that converts the INTA output hw irq numbers
to parents's input interrupt numbers.</p>
</div>

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

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

> <a id="dt-fc9d8abf96c8c5521a54"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-bbd93dc16d1b670b0079"></a>
>
> **Item 1**
>
> > <div id="dt-d33df672ff695a639a71">
> > <p style="white-space: pre-wrap">"output_irq" specifies the base for inta output irq</p>
> > </div>
>
> <a id="dt-ee8e0a85c805ca514d39"></a>
>
> **Item 2**
>
> > <div id="dt-39a02988d7bf241fdf7c">
> > <p style="white-space: pre-wrap">"parent's input irq" specifies the base for parent irq</p>
> > </div>
>
> <a id="dt-3f53faa1cf5e5b61f2ad"></a>
>
> **Item 3**
>
> > <div id="dt-3b3382c956a6eff3dee9">
> > <p style="white-space: pre-wrap">"limit" specifies the limit for translation</p>
> > </div>

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

### <code>ti&#44;unmapped&#45;event&#45;sources</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-79c14d093036bb220314">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

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

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

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

<div id="dt-6e8304cdffc90f1fe660">
<p style="white-space: pre-wrap">Array of phandles to DMA controllers where the unmapped events originate.</p>
</div>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</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;interrupt&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;msi&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;ti&#44;sci&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;ti&#44;sci&#45;dev&#45;id&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;ti&#44;interrupt&#45;ranges&#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;;

    main_udmass_inta: msi-controller@33d00000 {
        compatible = "ti,sci-inta";
        reg = &lt;0x0 0x33d00000 0x0 0x100000&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;0&gt;;
        msi-controller;
        interrupt-parent = &lt;&amp;main_navss_intr&gt;;
        ti,sci = &lt;&amp;dmsc&gt;;
        ti,sci-dev-id = &lt;179&gt;;
        ti,interrupt-ranges = &lt;0 0 256&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 OR BSD-2-Clause)</span></p>

</details>
