Marc Zyngier | 918d98d | 2015-03-11 15:43:48 +0000 | [diff] [blame] | 1 | TI OMAP4 Wake-up Generator |
| 2 | |
| 3 | All TI OMAP4/5 (and their derivatives) an interrupt controller that |
| 4 | routes interrupts to the GIC, and also serves as a wakeup source. It |
| 5 | is also referred to as "WUGEN-MPU", hence the name of the binding. |
| 6 | |
Eric Engestrom | 8f97c28 | 2016-04-25 01:24:10 +0100 | [diff] [blame] | 7 | Required properties: |
Marc Zyngier | 918d98d | 2015-03-11 15:43:48 +0000 | [diff] [blame] | 8 | |
| 9 | - compatible : should contain at least "ti,omap4-wugen-mpu" or |
| 10 | "ti,omap5-wugen-mpu" |
| 11 | - reg : Specifies base physical address and size of the registers. |
| 12 | - interrupt-controller : Identifies the node as an interrupt controller. |
| 13 | - #interrupt-cells : Specifies the number of cells needed to encode an |
| 14 | interrupt source. The value must be 3. |
| 15 | - interrupt-parent : a phandle to the GIC these interrupts are routed |
| 16 | to. |
| 17 | |
| 18 | Notes: |
| 19 | |
| 20 | - Because this HW ultimately routes interrupts to the GIC, the |
| 21 | interrupt specifier must be that of the GIC. |
| 22 | - Only SPIs can use the WUGEN as an interrupt parent. SGIs and PPIs |
Eric Engestrom | 8f97c28 | 2016-04-25 01:24:10 +0100 | [diff] [blame] | 23 | are explicitly forbidden. |
Marc Zyngier | 918d98d | 2015-03-11 15:43:48 +0000 | [diff] [blame] | 24 | |
| 25 | Example: |
| 26 | |
| 27 | wakeupgen: interrupt-controller@48281000 { |
| 28 | compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu"; |
| 29 | interrupt-controller; |
| 30 | #interrupt-cells = <3>; |
| 31 | reg = <0x48281000 0x1000>; |
| 32 | interrupt-parent = <&gic>; |
| 33 | }; |