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