xref: /linux/Documentation/devicetree/bindings/interrupt-controller/ti,omap4-wugen-mpu (revision 918d98db8c97c01e538e6438e18a69cbceeb5ec6)
1*918d98dbSMarc ZyngierTI OMAP4 Wake-up Generator
2*918d98dbSMarc Zyngier
3*918d98dbSMarc ZyngierAll TI OMAP4/5 (and their derivatives) an interrupt controller that
4*918d98dbSMarc Zyngierroutes interrupts to the GIC, and also serves as a wakeup source. It
5*918d98dbSMarc Zyngieris also referred to as "WUGEN-MPU", hence the name of the binding.
6*918d98dbSMarc Zyngier
7*918d98dbSMarc ZyngierReguired properties:
8*918d98dbSMarc Zyngier
9*918d98dbSMarc Zyngier- compatible : should contain at least "ti,omap4-wugen-mpu" or
10*918d98dbSMarc Zyngier  "ti,omap5-wugen-mpu"
11*918d98dbSMarc Zyngier- reg : Specifies base physical address and size of the registers.
12*918d98dbSMarc Zyngier- interrupt-controller : Identifies the node as an interrupt controller.
13*918d98dbSMarc Zyngier- #interrupt-cells : Specifies the number of cells needed to encode an
14*918d98dbSMarc Zyngier  interrupt source. The value must be 3.
15*918d98dbSMarc Zyngier- interrupt-parent : a phandle to the GIC these interrupts are routed
16*918d98dbSMarc Zyngier  to.
17*918d98dbSMarc Zyngier
18*918d98dbSMarc ZyngierNotes:
19*918d98dbSMarc Zyngier
20*918d98dbSMarc Zyngier- Because this HW ultimately routes interrupts to the GIC, the
21*918d98dbSMarc Zyngier  interrupt specifier must be that of the GIC.
22*918d98dbSMarc Zyngier- Only SPIs can use the WUGEN as an interrupt parent. SGIs and PPIs
23*918d98dbSMarc Zyngier  are explicitly forbiden.
24*918d98dbSMarc Zyngier
25*918d98dbSMarc ZyngierExample:
26*918d98dbSMarc Zyngier
27*918d98dbSMarc Zyngier       wakeupgen: interrupt-controller@48281000 {
28*918d98dbSMarc Zyngier               compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu";
29*918d98dbSMarc Zyngier               interrupt-controller;
30*918d98dbSMarc Zyngier               #interrupt-cells = <3>;
31*918d98dbSMarc Zyngier               reg = <0x48281000 0x1000>;
32*918d98dbSMarc Zyngier               interrupt-parent = <&gic>;
33*918d98dbSMarc Zyngier       };
34