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