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