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