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/socionext,uniphier-aidet.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: UniPhier AIDET
8
9description: |
10  UniPhier AIDET (ARM Interrupt Detector) is an add-on block for ARM GIC
11  (Generic Interrupt Controller). GIC itself can handle only high level and
12  rising edge interrupts. The AIDET provides logic inverter to support low
13  level and falling edge interrupts.
14
15maintainers:
16  - Masahiro Yamada <yamada.masahiro@socionext.com>
17
18allOf:
19  - $ref: /schemas/interrupt-controller.yaml#
20
21properties:
22  compatible:
23    enum:
24      - socionext,uniphier-ld4-aidet
25      - socionext,uniphier-pro4-aidet
26      - socionext,uniphier-sld8-aidet
27      - socionext,uniphier-pro5-aidet
28      - socionext,uniphier-pxs2-aidet
29      - socionext,uniphier-ld6b-aidet
30      - socionext,uniphier-ld11-aidet
31      - socionext,uniphier-ld20-aidet
32      - socionext,uniphier-pxs3-aidet
33      - socionext,uniphier-nx1-aidet
34
35  reg:
36    maxItems: 1
37
38  interrupt-controller: true
39
40  '#interrupt-cells':
41    description: |
42      The first cell defines the interrupt number (corresponds to the SPI
43      interrupt number of GIC). The second cell specifies the trigger type as
44      defined in interrupts.txt in this directory.
45    const: 2
46
47required:
48  - compatible
49  - reg
50  - interrupt-controller
51  - '#interrupt-cells'
52
53additionalProperties: false
54
55examples:
56  - |
57    interrupt-controller@5fc20000 {
58        compatible = "socionext,uniphier-pro4-aidet";
59        reg = <0x5fc20000 0x200>;
60        interrupt-controller;
61        #interrupt-cells = <2>;
62    };
63