diff options
| author | Florian Fainelli <f.fainelli@gmail.com> | 2014-05-23 20:40:54 -0400 |
|---|---|---|
| committer | Jason Cooper <jason@lakedaemon.net> | 2014-05-27 10:43:36 -0400 |
| commit | c8dfe94bc7a14c6a644ce55ef77b7a81505c696f (patch) | |
| tree | 105dd1fa064b523c8395e7c8ec799058275170c9 /Documentation/devicetree/bindings/interrupt-controller | |
| parent | 7f646e92766e2070f31dbe542a80b4383918d81d (diff) | |
Documentation: brcmstb-l2: Add Broadcom STB Level-2 interrupt controller binding
This patch adds the Device Tree binding document for the Broadcom
Set-top-box Level 2 interrupt controller hardware.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Link: https://lkml.kernel.org/r/1400892054-24457-3-git-send-email-f.fainelli@gmail.com
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'Documentation/devicetree/bindings/interrupt-controller')
| -rw-r--r-- | Documentation/devicetree/bindings/interrupt-controller/brcm,l2-intc.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/interrupt-controller/brcm,l2-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/brcm,l2-intc.txt new file mode 100644 index 000000000000..448273a30a11 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/brcm,l2-intc.txt | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | Broadcom Generic Level 2 Interrupt Controller | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | |||
| 5 | - compatible: should be "brcm,l2-intc" | ||
| 6 | - reg: specifies the base physical address and size of the registers | ||
| 7 | - interrupt-controller: identifies the node as an interrupt controller | ||
| 8 | - #interrupt-cells: specifies the number of cells needed to encode an | ||
| 9 | interrupt source. Should be 1. | ||
| 10 | - interrupt-parent: specifies the phandle to the parent interrupt controller | ||
| 11 | this controller is cacaded from | ||
| 12 | - interrupts: specifies the interrupt line in the interrupt-parent irq space | ||
| 13 | to be used for cascading | ||
| 14 | |||
| 15 | Optional properties: | ||
| 16 | |||
| 17 | - brcm,irq-can-wake: If present, this means the L2 controller can be used as a | ||
| 18 | wakeup source for system suspend/resume. | ||
| 19 | |||
| 20 | Example: | ||
| 21 | |||
| 22 | hif_intr2_intc: interrupt-controller@f0441000 { | ||
| 23 | compatible = "brcm,l2-intc"; | ||
| 24 | reg = <0xf0441000 0x30>; | ||
| 25 | interrupt-controller; | ||
| 26 | #interrupt-cells = <1>; | ||
| 27 | interrupt-parent = <&intc>; | ||
| 28 | interrupts = <0x0 0x20 0x0>; | ||
| 29 | }; | ||
