Commit 5314187a authored by Rob Herring's avatar Rob Herring

dt-bindings: interrupt-controller: Convert Synquacer EXIU to DT schema

Convert the Socionext Synquacer EXIU interrupt controller to DT schema
format.
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221209171636.3351602-1-robh@kernel.orgSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent a98bf9df
Socionext SynQuacer External Interrupt Unit (EXIU)
The Socionext Synquacer SoC has an external interrupt unit (EXIU)
that forwards a block of 32 configurable input lines to 32 adjacent
level-high type GICv3 SPIs.
Required properties:
- compatible : Should be "socionext,synquacer-exiu".
- reg : Specifies base physical address and size of the
control registers.
- interrupt-controller : Identifies the node as an interrupt controller.
- #interrupt-cells : Specifies the number of cells needed to encode an
interrupt source. The value must be 3.
- socionext,spi-base : The SPI number of the first SPI of the 32 adjacent
ones the EXIU forwards its interrups to.
Notes:
- Only SPIs can use the EXIU as an interrupt parent.
Example:
exiu: interrupt-controller@510c0000 {
compatible = "socionext,synquacer-exiu";
reg = <0x0 0x510c0000 0x0 0x20>;
interrupt-controller;
interrupt-parent = <&gic>;
#interrupt-cells = <3>;
socionext,spi-base = <112>;
};
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/interrupt-controller/socionext,synquacer-exiu.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Socionext SynQuacer External Interrupt Unit (EXIU)
maintainers:
- Ard Biesheuvel <ardb@kernel.org>
description: |+
The Socionext SynQuacer SoC has an external interrupt unit (EXIU)
that forwards a block of 32 configurable input lines to 32 adjacent
level-high type GICv3 SPIs.
properties:
compatible:
const: socionext,synquacer-exiu
reg:
maxItems: 1
'#interrupt-cells':
const: 3
interrupt-controller: true
socionext,spi-base:
$ref: /schemas/types.yaml#/definitions/uint32
description: The SPI number of the first SPI of the 32 adjacent ones the
EXIU forwards its interrupts to.
required:
- compatible
- reg
- '#interrupt-cells'
- interrupt-controller
- socionext,spi-base
unevaluatedProperties: false
examples:
- |
interrupt-controller@510c0000 {
compatible = "socionext,synquacer-exiu";
reg = <0x510c0000 0x20>;
interrupt-controller;
interrupt-parent = <&gic>;
#interrupt-cells = <3>;
socionext,spi-base = <112>;
};
...
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment