Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/interrupt-controller/socionext,uniphier-aidet.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: UniPhier AIDET
0008 
0009 description: |
0010   UniPhier AIDET (ARM Interrupt Detector) is an add-on block for ARM GIC
0011   (Generic Interrupt Controller). GIC itself can handle only high level and
0012   rising edge interrupts. The AIDET provides logic inverter to support low
0013   level and falling edge interrupts.
0014 
0015 maintainers:
0016   - Masahiro Yamada <yamada.masahiro@socionext.com>
0017 
0018 allOf:
0019   - $ref: /schemas/interrupt-controller.yaml#
0020 
0021 properties:
0022   compatible:
0023     enum:
0024       - socionext,uniphier-ld4-aidet
0025       - socionext,uniphier-pro4-aidet
0026       - socionext,uniphier-sld8-aidet
0027       - socionext,uniphier-pro5-aidet
0028       - socionext,uniphier-pxs2-aidet
0029       - socionext,uniphier-ld6b-aidet
0030       - socionext,uniphier-ld11-aidet
0031       - socionext,uniphier-ld20-aidet
0032       - socionext,uniphier-pxs3-aidet
0033       - socionext,uniphier-nx1-aidet
0034 
0035   reg:
0036     maxItems: 1
0037 
0038   interrupt-controller: true
0039 
0040   '#interrupt-cells':
0041     description: |
0042       The first cell defines the interrupt number (corresponds to the SPI
0043       interrupt number of GIC). The second cell specifies the trigger type as
0044       defined in interrupts.txt in this directory.
0045     const: 2
0046 
0047 required:
0048   - compatible
0049   - reg
0050   - interrupt-controller
0051   - '#interrupt-cells'
0052 
0053 additionalProperties: false
0054 
0055 examples:
0056   - |
0057     interrupt-controller@5fc20000 {
0058         compatible = "socionext,uniphier-pro4-aidet";
0059         reg = <0x5fc20000 0x200>;
0060         interrupt-controller;
0061         #interrupt-cells = <2>;
0062     };