aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.yaml
blob: 286a964f23e18465031d41cffb0b3d1662db00d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/snps,archs-idu-intc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: ARC-HS Interrupt Distribution Unit

maintainers:
  - Vineet Gupta <vgupta@kernel.org>

description: >
  ARC-HS Interrupt Distribution Unit is an optional 2nd level interrupt
  controller which can be used in SMP configurations for dynamic IRQ routing,
  load balancing of common/external IRQs towards core intc.

  The interrupt controller is accessed via the special ARC AUX register
  interface, hence "reg" property is not specified.

properties:
  compatible:
    const: snps,archs-idu-intc

  interrupt-controller: true

  '#interrupt-cells':
    description: |
      Number of interrupt specifier cells:
        - 1: only a common IRQ is specified.
        - 2: a second cell encodes trigger type and level flags:
            1 = low-to-high edge triggered
            4 = active high level-sensitive (default)
    enum: [1, 2]

required:
  - compatible
  - interrupt-controller
  - '#interrupt-cells'

additionalProperties: false

examples:
  - |
    interrupt-controller {
        compatible = "snps,archs-idu-intc";
        interrupt-controller;
        #interrupt-cells = <1>;
    };