blob: c60125fb1cbfb79b554b119e663a280a87c445c3 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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,ls1x-intc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Loongson-1 Interrupt Controller
8
9maintainers:
10 - Keguang Zhang <keguang.zhang@gmail.com>
11
12description:
13 Loongson-1 interrupt controller is connected to the MIPS core interrupt
14 controller, which controls several groups of interrupts.
15
16properties:
17 compatible:
18 const: loongson,ls1x-intc
19
20 reg:
21 maxItems: 1
22
23 interrupt-controller: true
24
25 '#interrupt-cells':
26 const: 2
27
28 interrupts:
29 maxItems: 1
30
31required:
32 - compatible
33 - reg
34 - interrupt-controller
35 - '#interrupt-cells'
36 - interrupts
37
38additionalProperties: false
39
40examples:
41 - |
42 intc0: interrupt-controller@1fd01040 {
43 compatible = "loongson,ls1x-intc";
44 reg = <0x1fd01040 0x18>;
45
46 interrupt-controller;
47 #interrupt-cells = <2>;
48
49 interrupt-parent = <&cpu_intc>;
50 interrupts = <2>;
51 };