xref: /linux/Documentation/devicetree/bindings/interrupt-controller/ti,omap4-wugen-mpu (revision 3eb66e91a25497065c5322b1268cbc3953642227)
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
16918d98dbSMarc ZyngierNotes:
17918d98dbSMarc Zyngier
18918d98dbSMarc Zyngier- Because this HW ultimately routes interrupts to the GIC, the
19918d98dbSMarc Zyngier  interrupt specifier must be that of the GIC.
20918d98dbSMarc Zyngier- Only SPIs can use the WUGEN as an interrupt parent. SGIs and PPIs
21*8f97c281SEric Engestrom  are explicitly forbidden.
22918d98dbSMarc Zyngier
23918d98dbSMarc ZyngierExample:
24918d98dbSMarc Zyngier
25918d98dbSMarc Zyngier       wakeupgen: interrupt-controller@48281000 {
26918d98dbSMarc Zyngier               compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu";
27918d98dbSMarc Zyngier               interrupt-controller;
28918d98dbSMarc Zyngier               #interrupt-cells = <3>;
29918d98dbSMarc Zyngier               reg = <0x48281000 0x1000>;
30918d98dbSMarc Zyngier               interrupt-parent = <&gic>;
31918d98dbSMarc Zyngier       };
32