# STMicroelectronics STi System Configuration Controlled IRQs

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

> Device-tree binding reference for STMicroelectronics STi System Configuration Controlled IRQs.

<!-- 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;interrupt&#45;controller&#47;st&#44;stih407&#45;irq&#45;syscfg&#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;Patrice Chotard &#60;patrice&#46;chotard&#64;foss&#46;st&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">On STi based systems; External, CTI (Core Sight), PMU (Performance Management), and PL310 L2 Cache IRQs are controlled using System Configuration registers.  This device is used to unmask them prior to use.</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;st&#44;stih407&#45;irq&#45;syscfg&#34;</code></span>

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

### <code>st&#44;syscfg</code> — required here

<div id="dt-cd46a6ff2c24fa7b007e">
<p style="white-space: pre-wrap">Phandle to Cortex-A9 IRQ system config registers</p>
</div>

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

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

### <code>st&#44;irq&#45;device</code> — required here

<div id="dt-91873d9f7e153db308bb">
<p style="white-space: pre-wrap">Array of IRQs to enable.</p>
</div>

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

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

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

<a id="dt-8ff4843e1861c57edc4e"></a>

**Item 1**

> <div id="dt-6da2ee66765493a02d82">
> <p style="white-space: pre-wrap">Enable the IRQ of the channel one.</p>
> </div>

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

**Item 2**

> <div id="dt-148b7ff58b30b96c95f9">
> <p style="white-space: pre-wrap">Enable the IRQ of the channel two.</p>
> </div>

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

### <code>st&#44;fiq&#45;device</code> — required here

<div id="dt-1338fca93cc99fae455c">
<p style="white-space: pre-wrap">Array of FIQs to enable.</p>
</div>

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

<a id="dt-3022eb30d3b88d51691a"></a>

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

<a id="dt-021a1a997e99759e665b"></a>

**Item 1**

> <div id="dt-56b4785940ca71665bf6">
> <p style="white-space: pre-wrap">Enable the IRQ of the channel one.</p>
> </div>

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

**Item 2**

> <div id="dt-c2a48daa9b831e0e9c77">
> <p style="white-space: pre-wrap">Enable the IRQ of the channel two.</p>
> </div>

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

### <code>st&#44;invert&#45;ext</code> — not listed as required here

<div id="dt-91df9ed4f5b75ac63584">
<p style="white-space: pre-wrap">External IRQs can be inverted at will. This property inverts these three IRQs using bitwise logic, each one being encoded respectively on the first, second and fourth bit.</p>
</div>

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

**Allowed values (<code>enum</code>):** <a id="dt-50e326095dc9ce5e0405"></a> <span id="dt-21f6df49323411cb0380"><code>1</code></span>, <span id="dt-abc373e8bdff49690854"><code>2</code></span>, <span id="dt-71b7ccacc19e62485579"><code>3</code></span>, <span id="dt-79a8c890497653f6d605"><code>4</code></span>, <span id="dt-7f328877c46531769556"><code>5</code></span>, <span id="dt-7f2a03e2a178faf06932"><code>6</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;st&#44;syscfg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;st&#44;irq&#45;device&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;st&#44;fiq&#45;device&#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">#include &lt;dt-bindings/interrupt-controller/irq-st.h&gt;
irq-syscfg {
    compatible = "st,stih407-irq-syscfg";
    st,syscfg = &lt;&amp;syscfg_cpu&gt;;
    st,irq-device = &lt;ST_IRQ_SYSCFG_PMU_0&gt;,
                    &lt;ST_IRQ_SYSCFG_PMU_1&gt;;
    st,fiq-device = &lt;ST_IRQ_SYSCFG_DISABLED&gt;,
                    &lt;ST_IRQ_SYSCFG_DISABLED&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>
