| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/interrupt-controller/ti,omap4-wugen-mpu.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: TI OMAP4 Wake-up Generator |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Krzysztof Kozlowski <[email protected]> |
| 11 |
|
| 12 |
description: > |
| 13 |
All TI OMAP4/5 (and their derivatives) are interrupt controllers that route |
| 14 |
interrupts to the GIC, and also serve as wakeup sources. They are also |
| 15 |
referred to as "WUGEN-MPU", hence the name of the binding. |
| 16 |
|
| 17 |
Notes: |
| 18 |
|
| 19 |
- Because this HW ultimately routes interrupts to the GIC, the interrupt |
| 20 |
specifier must be that of the GIC. |
| 21 |
- Only SPIs can use the WUGEN as an interrupt parent. SGIs and PPIs are |
| 22 |
explicitly forbidden. |
| 23 |
|
| 24 |
properties: |
| 25 |
compatible: |
| 26 |
oneOf: |
| 27 |
- items: |
| 28 |
- const: ti,omap5-wugen-mpu |
| 29 |
- const: ti,omap4-wugen-mpu |
| 30 |
- const: ti,omap4-wugen-mpu |
| 31 |
|
| 32 |
reg: |
| 33 |
maxItems: 1 |
| 34 |
|
| 35 |
interrupt-controller: true |
| 36 |
|
| 37 |
'#interrupt-cells': |
| 38 |
const: 3 |
| 39 |
|
| 40 |
required: |
| 41 |
- compatible |
| 42 |
- reg |
| 43 |
- interrupt-controller |
| 44 |
- '#interrupt-cells' |
| 45 |
|
| 46 |
additionalProperties: false |
| 47 |
|
| 48 |
examples: |
| 49 |
- | |
| 50 |
interrupt-controller@48281000 { |
| 51 |
compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu"; |
| 52 |
reg = <0x48281000 0x1000>; |
| 53 |
interrupt-controller; |
| 54 |
#interrupt-cells = <3>; |
| 55 |
}; |