xref: /linux/Documentation/devicetree/bindings/interrupt-controller/ti,omap4-wugen-mpu (revision 8f97c2814b5448d91a3c67081f7d978c097feabe)
1918d98dbSMarc ZyngierTI OMAP4 Wake-up Generator
2918d98dbSMarc Zyngier
3918d98dbSMarc ZyngierAll TI OMAP4/5 (and their derivatives) an interrupt controller that
4918d98dbSMarc Zyngierroutes interrupts to the GIC, and also serves as a wakeup source. It
5918d98dbSMarc Zyngieris also referred to as "WUGEN-MPU", hence the name of the binding.
6918d98dbSMarc Zyngier
7*8f97c281SEric EngestromRequired properties:
8918d98dbSMarc Zyngier
9918d98dbSMarc Zyngier- compatible : should contain at least "ti,omap4-wugen-mpu" or
10918d98dbSMarc Zyngier  "ti,omap5-wugen-mpu"
11918d98dbSMarc Zyngier- reg : Specifies base physical address and size of the registers.
12918d98dbSMarc Zyngier- interrupt-controller : Identifies the node as an interrupt controller.
13918d98dbSMarc Zyngier- #interrupt-cells : Specifies the number of cells needed to encode an
14918d98dbSMarc Zyngier  interrupt source. The value must be 3.
15918d98dbSMarc Zyngier- interrupt-parent : a phandle to the GIC these interrupts are routed
16918d98dbSMarc Zyngier  to.
17918d98dbSMarc Zyngier
18918d98dbSMarc ZyngierNotes:
19918d98dbSMarc Zyngier
20918d98dbSMarc Zyngier- Because this HW ultimately routes interrupts to the GIC, the
21918d98dbSMarc Zyngier  interrupt specifier must be that of the GIC.
22918d98dbSMarc Zyngier- Only SPIs can use the WUGEN as an interrupt parent. SGIs and PPIs
23*8f97c281SEric Engestrom  are explicitly forbidden.
24918d98dbSMarc Zyngier
25918d98dbSMarc ZyngierExample:
26918d98dbSMarc Zyngier
27918d98dbSMarc Zyngier       wakeupgen: interrupt-controller@48281000 {
28918d98dbSMarc Zyngier               compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu";
29918d98dbSMarc Zyngier               interrupt-controller;
30918d98dbSMarc Zyngier               #interrupt-cells = <3>;
31918d98dbSMarc Zyngier               reg = <0x48281000 0x1000>;
32918d98dbSMarc Zyngier               interrupt-parent = <&gic>;
33918d98dbSMarc Zyngier       };
34