18c2ecf20Sopenharmony_ciTI OMAP4 Wake-up Generator 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciAll TI OMAP4/5 (and their derivatives) an interrupt controller that 48c2ecf20Sopenharmony_ciroutes interrupts to the GIC, and also serves as a wakeup source. It 58c2ecf20Sopenharmony_ciis also referred to as "WUGEN-MPU", hence the name of the binding. 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciRequired properties: 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci- compatible : should contain at least "ti,omap4-wugen-mpu" or 108c2ecf20Sopenharmony_ci "ti,omap5-wugen-mpu" 118c2ecf20Sopenharmony_ci- reg : Specifies base physical address and size of the registers. 128c2ecf20Sopenharmony_ci- interrupt-controller : Identifies the node as an interrupt controller. 138c2ecf20Sopenharmony_ci- #interrupt-cells : Specifies the number of cells needed to encode an 148c2ecf20Sopenharmony_ci interrupt source. The value must be 3. 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ciNotes: 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci- Because this HW ultimately routes interrupts to the GIC, the 198c2ecf20Sopenharmony_ci interrupt specifier must be that of the GIC. 208c2ecf20Sopenharmony_ci- Only SPIs can use the WUGEN as an interrupt parent. SGIs and PPIs 218c2ecf20Sopenharmony_ci are explicitly forbidden. 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ciExample: 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci wakeupgen: interrupt-controller@48281000 { 268c2ecf20Sopenharmony_ci compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu"; 278c2ecf20Sopenharmony_ci interrupt-controller; 288c2ecf20Sopenharmony_ci #interrupt-cells = <3>; 298c2ecf20Sopenharmony_ci reg = <0x48281000 0x1000>; 308c2ecf20Sopenharmony_ci interrupt-parent = <&gic>; 318c2ecf20Sopenharmony_ci }; 32