forked from Minki/linux
7b7230e70e
These controllers support multiple enable/status pairs (64+ IRQs), can put the enable/status words at different offsets, and do not support multiple parent IRQs. Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Cc: f.fainelli@gmail.com Cc: jaedon.shin@gmail.com Cc: abrestic@chromium.org Cc: tglx@linutronix.de Cc: jason@lakedaemon.net Cc: jogo@openwrt.org Cc: arnd@arndb.de Cc: computersforpeace@gmail.com Cc: linux-mips@linux-mips.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/8843/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
Broadcom BCM3380-style Level 1 / Level 2 interrupt controller
|
|
|
|
This interrupt controller shows up in various forms on many BCM338x/BCM63xx
|
|
chipsets. It has the following properties:
|
|
|
|
- outputs a single interrupt signal to its interrupt controller parent
|
|
|
|
- contains one or more enable/status word pairs, which often appear at
|
|
different offsets in different blocks
|
|
|
|
- no atomic set/clear operations
|
|
|
|
Required properties:
|
|
|
|
- compatible: should be "brcm,bcm3380-l2-intc"
|
|
- reg: specifies one or more enable/status pairs, in the following format:
|
|
<enable_reg 0x4 status_reg 0x4>...
|
|
- interrupt-controller: identifies the node as an interrupt controller
|
|
- #interrupt-cells: specifies the number of cells needed to encode an interrupt
|
|
source, should be 1.
|
|
- interrupt-parent: specifies the phandle to the parent interrupt controller
|
|
this one is cascaded from
|
|
- interrupts: specifies the interrupt line in the interrupt-parent controller
|
|
node, valid values depend on the type of parent interrupt controller
|
|
|
|
Optional properties:
|
|
|
|
- brcm,irq-can-wake: if present, this means the L2 controller can be used as a
|
|
wakeup source for system suspend/resume.
|
|
|
|
Example:
|
|
|
|
irq0_intc: interrupt-controller@10000020 {
|
|
compatible = "brcm,bcm3380-l2-intc";
|
|
reg = <0x10000024 0x4 0x1000002c 0x4>,
|
|
<0x10000020 0x4 0x10000028 0x4>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <1>;
|
|
interrupt-parent = <&cpu_intc>;
|
|
interrupts = <2>;
|
|
};
|