xref: /linux/Documentation/devicetree/bindings/interrupt-controller/loongson,eiointc.yaml (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*2c23c07aSBinbin Zhou# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*2c23c07aSBinbin Zhou%YAML 1.2
3*2c23c07aSBinbin Zhou---
4*2c23c07aSBinbin Zhou$id: http://devicetree.org/schemas/interrupt-controller/loongson,eiointc.yaml#
5*2c23c07aSBinbin Zhou$schema: http://devicetree.org/meta-schemas/core.yaml#
6*2c23c07aSBinbin Zhou
7*2c23c07aSBinbin Zhoutitle: Loongson Extended I/O Interrupt Controller
8*2c23c07aSBinbin Zhou
9*2c23c07aSBinbin Zhoumaintainers:
10*2c23c07aSBinbin Zhou  - Binbin Zhou <zhoubinbin@loongson.cn>
11*2c23c07aSBinbin Zhou
12*2c23c07aSBinbin Zhoudescription: |
13*2c23c07aSBinbin Zhou  This interrupt controller is found on the Loongson-3 family chips and
14*2c23c07aSBinbin Zhou  Loongson-2K series chips and is used to distribute interrupts directly to
15*2c23c07aSBinbin Zhou  individual cores without forwarding them through the HT's interrupt line.
16*2c23c07aSBinbin Zhou
17*2c23c07aSBinbin ZhouallOf:
18*2c23c07aSBinbin Zhou  - $ref: /schemas/interrupt-controller.yaml#
19*2c23c07aSBinbin Zhou
20*2c23c07aSBinbin Zhouproperties:
21*2c23c07aSBinbin Zhou  compatible:
22*2c23c07aSBinbin Zhou    enum:
23*2c23c07aSBinbin Zhou      - loongson,ls2k0500-eiointc
24*2c23c07aSBinbin Zhou      - loongson,ls2k2000-eiointc
25*2c23c07aSBinbin Zhou
26*2c23c07aSBinbin Zhou  reg:
27*2c23c07aSBinbin Zhou    maxItems: 1
28*2c23c07aSBinbin Zhou
29*2c23c07aSBinbin Zhou  interrupts:
30*2c23c07aSBinbin Zhou    maxItems: 1
31*2c23c07aSBinbin Zhou
32*2c23c07aSBinbin Zhou  interrupt-controller: true
33*2c23c07aSBinbin Zhou
34*2c23c07aSBinbin Zhou  '#interrupt-cells':
35*2c23c07aSBinbin Zhou    const: 1
36*2c23c07aSBinbin Zhou
37*2c23c07aSBinbin Zhourequired:
38*2c23c07aSBinbin Zhou  - compatible
39*2c23c07aSBinbin Zhou  - reg
40*2c23c07aSBinbin Zhou  - interrupts
41*2c23c07aSBinbin Zhou  - interrupt-controller
42*2c23c07aSBinbin Zhou  - '#interrupt-cells'
43*2c23c07aSBinbin Zhou
44*2c23c07aSBinbin ZhouunevaluatedProperties: false
45*2c23c07aSBinbin Zhou
46*2c23c07aSBinbin Zhouexamples:
47*2c23c07aSBinbin Zhou  - |
48*2c23c07aSBinbin Zhou    eiointc: interrupt-controller@1fe11600 {
49*2c23c07aSBinbin Zhou      compatible = "loongson,ls2k0500-eiointc";
50*2c23c07aSBinbin Zhou      reg = <0x1fe10000 0x10000>;
51*2c23c07aSBinbin Zhou
52*2c23c07aSBinbin Zhou      interrupt-controller;
53*2c23c07aSBinbin Zhou      #interrupt-cells = <1>;
54*2c23c07aSBinbin Zhou
55*2c23c07aSBinbin Zhou      interrupt-parent = <&cpuintc>;
56*2c23c07aSBinbin Zhou      interrupts = <3>;
57*2c23c07aSBinbin Zhou    };
58*2c23c07aSBinbin Zhou
59*2c23c07aSBinbin Zhou...
60