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