Skip to content

Commit 815e7a3

Browse files
anholtKAGA-KOKO
authored andcommitted
irqchip: Add documentation for the bcm2836 interrupt controller
This is a new per-cpu root interrupt controller on the Raspberry Pi 2, which will chain to the bcm2835 interrupt controller for peripheral interrupts. Signed-off-by: Eric Anholt <[email protected]> Acked-by: Stephen Warren <[email protected]> Cc: [email protected] Cc: Lee Jones <[email protected]> Cc: Jason Cooper <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
1 parent a493f33 commit 815e7a3

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
BCM2836 per-CPU interrupt controller
2+
3+
The BCM2836 has a per-cpu interrupt controller for the timer, PMU
4+
events, and SMP IPIs. One of the CPUs may receive interrupts for the
5+
peripheral (GPU) events, which chain to the BCM2835-style interrupt
6+
controller.
7+
8+
Required properties:
9+
10+
- compatible: Should be "brcm,bcm2836-l1-intc"
11+
- reg: Specifies base physical address and size of the
12+
registers
13+
- interrupt-controller: Identifies the node as an interrupt controller
14+
- #interrupt-cells: Specifies the number of cells needed to encode an
15+
interrupt source. The value shall be 1
16+
17+
Please refer to interrupts.txt in this directory for details of the common
18+
Interrupt Controllers bindings used by client devices.
19+
20+
The interrupt sources are as follows:
21+
22+
0: CNTPSIRQ
23+
1: CNTPNSIRQ
24+
2: CNTHPIRQ
25+
3: CNTVIRQ
26+
8: GPU_FAST
27+
9: PMU_FAST
28+
29+
Example:
30+
31+
local_intc: local_intc {
32+
compatible = "brcm,bcm2836-l1-intc";
33+
reg = <0x40000000 0x100>;
34+
interrupt-controller;
35+
#interrupt-cells = <1>;
36+
interrupt-parent = <&local_intc>;
37+
};

0 commit comments

Comments
 (0)