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/loongson,eiointc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Loongson Extended I/O Interrupt Controller
8
9maintainers:
10  - Binbin Zhou <zhoubinbin@loongson.cn>
11
12description: |
13  This interrupt controller is found on the Loongson-3 family chips and
14  Loongson-2K series chips and is used to distribute interrupts directly to
15  individual cores without forwarding them through the HT's interrupt line.
16
17allOf:
18  - $ref: /schemas/interrupt-controller.yaml#
19
20properties:
21  compatible:
22    enum:
23      - loongson,ls2k0500-eiointc
24      - loongson,ls2k2000-eiointc
25
26  reg:
27    maxItems: 1
28
29  interrupts:
30    maxItems: 1
31
32  interrupt-controller: true
33
34  '#interrupt-cells':
35    const: 1
36
37required:
38  - compatible
39  - reg
40  - interrupts
41  - interrupt-controller
42  - '#interrupt-cells'
43
44unevaluatedProperties: false
45
46examples:
47  - |
48    eiointc: interrupt-controller@1fe11600 {
49      compatible = "loongson,ls2k0500-eiointc";
50      reg = <0x1fe10000 0x10000>;
51
52      interrupt-controller;
53      #interrupt-cells = <1>;
54
55      interrupt-parent = <&cpuintc>;
56      interrupts = <3>;
57    };
58
59...
60