diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2015-03-11 11:43:48 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2015-03-14 20:56:08 -0400 |
commit | 918d98db8c97c01e538e6438e18a69cbceeb5ec6 (patch) | |
tree | 004d73b1ed29b52e4378c6f60f0452ec2c58776c | |
parent | 994dd8a3283cd332801ccbe099b2517e8b7055d0 (diff) |
DT: omap4/5: add binding for the wake-up generator
Add a binding for the OMAP4/5 wake-up generator, which acts as
an interrupt controller feeding into the GIC.
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Link: https://lkml.kernel.org/r/1426088629-15377-7-git-send-email-marc.zyngier@arm.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
-rw-r--r-- | Documentation/devicetree/bindings/interrupt-controller/ti,omap4-wugen-mpu | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/interrupt-controller/ti,omap4-wugen-mpu b/Documentation/devicetree/bindings/interrupt-controller/ti,omap4-wugen-mpu new file mode 100644 index 000000000000..43effa0a4fe7 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/ti,omap4-wugen-mpu | |||
@@ -0,0 +1,33 @@ | |||
1 | TI OMAP4 Wake-up Generator | ||
2 | |||
3 | All TI OMAP4/5 (and their derivatives) an interrupt controller that | ||
4 | routes interrupts to the GIC, and also serves as a wakeup source. It | ||
5 | is also referred to as "WUGEN-MPU", hence the name of the binding. | ||
6 | |||
7 | Reguired properties: | ||
8 | |||
9 | - compatible : should contain at least "ti,omap4-wugen-mpu" or | ||
10 | "ti,omap5-wugen-mpu" | ||
11 | - reg : Specifies base physical address and size of the registers. | ||
12 | - interrupt-controller : Identifies the node as an interrupt controller. | ||
13 | - #interrupt-cells : Specifies the number of cells needed to encode an | ||
14 | interrupt source. The value must be 3. | ||
15 | - interrupt-parent : a phandle to the GIC these interrupts are routed | ||
16 | to. | ||
17 | |||
18 | Notes: | ||
19 | |||
20 | - Because this HW ultimately routes interrupts to the GIC, the | ||
21 | interrupt specifier must be that of the GIC. | ||
22 | - Only SPIs can use the WUGEN as an interrupt parent. SGIs and PPIs | ||
23 | are explicitly forbiden. | ||
24 | |||
25 | Example: | ||
26 | |||
27 | wakeupgen: interrupt-controller@48281000 { | ||
28 | compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu"; | ||
29 | interrupt-controller; | ||
30 | #interrupt-cells = <3>; | ||
31 | reg = <0x48281000 0x1000>; | ||
32 | interrupt-parent = <&gic>; | ||
33 | }; | ||