linux-stable/Documentation/devicetree/bindings/interrupt-controller/socionext,uniphier-aidet.yaml
Kunihiko Hayashi df089e6f07 dt-bindings: interrupt-controller/uniphier-aidet: Add bindings for NX1 SoC
Update uniphier-aidet binding document for UniPhier NX1 SoC.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/1653023822-19229-2-git-send-email-hayashi.kunihiko@socionext.com
2022-06-09 17:41:57 +01:00

62 lines
1.6 KiB
YAML

# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/interrupt-controller/socionext,uniphier-aidet.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: UniPhier AIDET
description: |
UniPhier AIDET (ARM Interrupt Detector) is an add-on block for ARM GIC
(Generic Interrupt Controller). GIC itself can handle only high level and
rising edge interrupts. The AIDET provides logic inverter to support low
level and falling edge interrupts.
maintainers:
- Masahiro Yamada <yamada.masahiro@socionext.com>
allOf:
- $ref: /schemas/interrupt-controller.yaml#
properties:
compatible:
enum:
- socionext,uniphier-ld4-aidet
- socionext,uniphier-pro4-aidet
- socionext,uniphier-sld8-aidet
- socionext,uniphier-pro5-aidet
- socionext,uniphier-pxs2-aidet
- socionext,uniphier-ld6b-aidet
- socionext,uniphier-ld11-aidet
- socionext,uniphier-ld20-aidet
- socionext,uniphier-pxs3-aidet
- socionext,uniphier-nx1-aidet
reg:
maxItems: 1
interrupt-controller: true
'#interrupt-cells':
description: |
The first cell defines the interrupt number (corresponds to the SPI
interrupt number of GIC). The second cell specifies the trigger type as
defined in interrupts.txt in this directory.
const: 2
required:
- compatible
- reg
- interrupt-controller
- '#interrupt-cells'
additionalProperties: false
examples:
- |
interrupt-controller@5fc20000 {
compatible = "socionext,uniphier-pro4-aidet";
reg = <0x5fc20000 0x200>;
interrupt-controller;
#interrupt-cells = <2>;
};