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