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