Merge branch 'uaccess' into fixes
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / interrupt-controller / socionext,uniphier-aidet.yaml
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
7 title: UniPhier AIDET
8
9 description: |
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
15 maintainers:
16   - Masahiro Yamada <yamada.masahiro@socionext.com>
17
18 allOf:
19   - $ref: /schemas/interrupt-controller.yaml#
20
21 properties:
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
34   reg:
35     maxItems: 1
36
37   interrupt-controller: true
38
39   '#interrupt-cells':
40     description: |
41       The first cell defines the interrupt number (corresponds to the SPI
42       interrupt number of GIC). The second cell specifies the trigger type as
43       defined in interrupts.txt in this directory.
44     const: 2
45
46 required:
47   - compatible
48   - reg
49   - interrupt-controller
50   - '#interrupt-cells'
51
52 additionalProperties: false
53
54 examples:
55   - |
56     interrupt-controller@5fc20000 {
57         compatible = "socionext,uniphier-pro4-aidet";
58         reg = <0x5fc20000 0x200>;
59         interrupt-controller;
60         #interrupt-cells = <2>;
61     };