xref: /linux/Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.yaml (revision bf373e4c786bfe989e637195252698f45b157a68)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/snps,archs-idu-intc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: ARC-HS Interrupt Distribution Unit
8
9maintainers:
10  - Vineet Gupta <vgupta@kernel.org>
11
12description: >
13  ARC-HS Interrupt Distribution Unit is an optional 2nd level interrupt
14  controller which can be used in SMP configurations for dynamic IRQ routing,
15  load balancing of common/external IRQs towards core intc.
16
17  The interrupt controller is accessed via the special ARC AUX register
18  interface, hence "reg" property is not specified.
19
20properties:
21  compatible:
22    const: snps,archs-idu-intc
23
24  interrupt-controller: true
25
26  '#interrupt-cells':
27    description: |
28      Number of interrupt specifier cells:
29        - 1: only a common IRQ is specified.
30        - 2: a second cell encodes trigger type and level flags:
31            1 = low-to-high edge triggered
32            4 = active high level-sensitive (default)
33    enum: [1, 2]
34
35required:
36  - compatible
37  - interrupt-controller
38  - '#interrupt-cells'
39
40additionalProperties: false
41
42examples:
43  - |
44    interrupt-controller {
45        compatible = "snps,archs-idu-intc";
46        interrupt-controller;
47        #interrupt-cells = <1>;
48    };
49