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