# BCM2835 ARMCTRL Interrupt Controller

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

> Device-tree binding reference for BCM2835 ARMCTRL Interrupt Controller.


<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;brcm&#44;bcm2835&#45;armctrl&#45;ic&#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;Florian Fainelli &#60;florian&#46;fainelli&#64;broadcom&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Raspberry Pi Kernel Maintenance &#60;kernel&#45;list&#64;raspberrypi&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<pre><code>The BCM2835 contains a custom top-level interrupt controller, which supports 72 interrupt sources using a 2-level register scheme. The interrupt controller, or the HW block containing it, is referred to occasionally as "armctrl" in the SoC documentation, hence naming of this binding.
The BCM2836 contains the same interrupt controller with the same interrupts, but the per-CPU interrupt controller is the root, and an interrupt there indicates that the ARMCTRL has an interrupt to handle.
The interrupt sources are as follows:
Bank 0:
  0: ARM_TIMER
  1: ARM_MAILBOX
  2: ARM_DOORBELL_0
  3: ARM_DOORBELL_1
  4: VPU0_HALTED
  5: VPU1_HALTED
  6: ILLEGAL_TYPE0
  7: ILLEGAL_TYPE1</code></pre>
<pre><code>Bank 1:
  0: TIMER0
  1: TIMER1
  2: TIMER2
  3: TIMER3
  4: CODEC0
  5: CODEC1
  6: CODEC2
  7: VC_JPEG
  8: ISP
  9: VC_USB
  10: VC_3D
  11: TRANSPOSER
  12: MULTICORESYNC0
  13: MULTICORESYNC1
  14: MULTICORESYNC2
  15: MULTICORESYNC3
  16: DMA0
  17: DMA1
  18: VC_DMA2
  19: VC_DMA3
  20: DMA4
  21: DMA5
  22: DMA6
  23: DMA7
  24: DMA8
  25: DMA9
  26: DMA10
  27: DMA11-14 - shared interrupt for DMA 11 to 14
  28: DMAALL - triggers on all dma interrupts (including channel 15)
  29: AUX
  30: ARM
  31: VPUDMA</code></pre>
<pre><code>Bank 2:
  0: HOSTPORT
  1: VIDEOSCALER
  2: CCP2TX
  3: SDC
  4: DSI0
  5: AVE
  6: CAM0
  7: CAM1
  8: HDMI0
  9: HDMI1
  10: PIXELVALVE1
  11: I2CSPISLV
  12: DSI1
  13: PWA0
  14: PWA1
  15: CPR
  16: SMI
  17: GPIO0
  18: GPIO1
  19: GPIO2
  20: GPIO3
  21: VC_I2C
  22: VC_SPI
  23: VC_I2SPCM
  24: VC_SDIO
  25: VC_UART
  26: SLIMBUS
  27: VEC
  28: CPG
  29: RNG
  30: VC_ARASANSDIO
  31: AVSPMON</code></pre>
</div>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;brcm&#44;bcm2835&#45;armctrl&#45;ic&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;brcm&#44;bcm2836&#45;armctrl&#45;ic&#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> — required here

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

<div id="dt-0cc2c51365b6879fba3b">
<p style="white-space: pre-wrap">The 1st cell is the interrupt bank; 0 for interrupts in the "IRQ basic pending" register, or 1/2 respectively for interrupts in the "IRQ pending 1/2" register.
The 2nd cell contains the interrupt number within the bank. Valid values are 0..7 for bank 0, and 0..31 for bank 1.</p>
</div>

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

**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;&#35;interrupt&#45;cells&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;brcm&#44;bcm2836&#45;armctrl&#45;ic&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-b0b2f2243ff9a854f151"></a> <span id="dt-4e9ead0e861b67997dec"><code>&#34;interrupts&#34;</code></span>
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-0b56c96a40292905ded0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-c67bbe72af985902ec8f"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<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">interrupt-controller@7e00b200 {
    compatible = "brcm,bcm2835-armctrl-ic";
    reg = &lt;0x7e00b200 0x200&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">interrupt-controller@7e00b200 {
    compatible = "brcm,bcm2836-armctrl-ic";
    reg = &lt;0x7e00b200 0x200&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;2&gt;;
    interrupts = &lt;8&gt;;
};
</code></pre>
