xref: /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/socionext,synquacer-exiu.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1*cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*cb7aa33aSEmmanuel Vadot%YAML 1.2
3*cb7aa33aSEmmanuel Vadot---
4*cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/interrupt-controller/socionext,synquacer-exiu.yaml#
5*cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*cb7aa33aSEmmanuel Vadot
7*cb7aa33aSEmmanuel Vadottitle: Socionext SynQuacer External Interrupt Unit (EXIU)
8*cb7aa33aSEmmanuel Vadot
9*cb7aa33aSEmmanuel Vadotmaintainers:
10*cb7aa33aSEmmanuel Vadot  - Ard Biesheuvel <ardb@kernel.org>
11*cb7aa33aSEmmanuel Vadot
12*cb7aa33aSEmmanuel Vadotdescription: |+
13*cb7aa33aSEmmanuel Vadot  The Socionext SynQuacer SoC has an external interrupt unit (EXIU)
14*cb7aa33aSEmmanuel Vadot  that forwards a block of 32 configurable input lines to 32 adjacent
15*cb7aa33aSEmmanuel Vadot  level-high type GICv3 SPIs.
16*cb7aa33aSEmmanuel Vadot
17*cb7aa33aSEmmanuel Vadotproperties:
18*cb7aa33aSEmmanuel Vadot  compatible:
19*cb7aa33aSEmmanuel Vadot    const: socionext,synquacer-exiu
20*cb7aa33aSEmmanuel Vadot
21*cb7aa33aSEmmanuel Vadot  reg:
22*cb7aa33aSEmmanuel Vadot    maxItems: 1
23*cb7aa33aSEmmanuel Vadot
24*cb7aa33aSEmmanuel Vadot  '#interrupt-cells':
25*cb7aa33aSEmmanuel Vadot    const: 3
26*cb7aa33aSEmmanuel Vadot
27*cb7aa33aSEmmanuel Vadot  interrupt-controller: true
28*cb7aa33aSEmmanuel Vadot
29*cb7aa33aSEmmanuel Vadot  socionext,spi-base:
30*cb7aa33aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
31*cb7aa33aSEmmanuel Vadot    description: The SPI number of the first SPI of the 32 adjacent ones the
32*cb7aa33aSEmmanuel Vadot      EXIU forwards its interrupts to.
33*cb7aa33aSEmmanuel Vadot
34*cb7aa33aSEmmanuel Vadotrequired:
35*cb7aa33aSEmmanuel Vadot  - compatible
36*cb7aa33aSEmmanuel Vadot  - reg
37*cb7aa33aSEmmanuel Vadot  - '#interrupt-cells'
38*cb7aa33aSEmmanuel Vadot  - interrupt-controller
39*cb7aa33aSEmmanuel Vadot  - socionext,spi-base
40*cb7aa33aSEmmanuel Vadot
41*cb7aa33aSEmmanuel VadotunevaluatedProperties: false
42*cb7aa33aSEmmanuel Vadot
43*cb7aa33aSEmmanuel Vadotexamples:
44*cb7aa33aSEmmanuel Vadot  - |
45*cb7aa33aSEmmanuel Vadot    interrupt-controller@510c0000 {
46*cb7aa33aSEmmanuel Vadot        compatible = "socionext,synquacer-exiu";
47*cb7aa33aSEmmanuel Vadot        reg = <0x510c0000 0x20>;
48*cb7aa33aSEmmanuel Vadot        interrupt-controller;
49*cb7aa33aSEmmanuel Vadot        interrupt-parent = <&gic>;
50*cb7aa33aSEmmanuel Vadot        #interrupt-cells = <3>;
51*cb7aa33aSEmmanuel Vadot        socionext,spi-base = <112>;
52*cb7aa33aSEmmanuel Vadot    };
53*cb7aa33aSEmmanuel Vadot...
54