File tree Expand file tree Collapse file tree 1 file changed +57
-0
lines changed
Documentation/devicetree/bindings/interrupt-controller Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Original file line number Diff line number Diff line change
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,htvec.yaml#"
5
+ $schema : " http://devicetree.org/meta-schemas/core.yaml#"
6
+
7
+ title : Loongson-3 HyperTransport Interrupt Vector Controller
8
+
9
+ maintainers :
10
+
11
+
12
+ description :
13
+ This interrupt controller is found in the Loongson-3 family of chips for
14
+ receiving vectorized interrupts from PCH's interrupt controller.
15
+
16
+ properties :
17
+ compatible :
18
+ const : loongson,htvec-1.0
19
+
20
+ reg :
21
+ maxItems : 1
22
+
23
+ interrupts :
24
+ minItems : 1
25
+ maxItems : 4
26
+ description : Four parent interrupts that receive chained interrupts.
27
+
28
+ interrupt-controller : true
29
+
30
+ ' #interrupt-cells ' :
31
+ const : 1
32
+
33
+ required :
34
+ - compatible
35
+ - reg
36
+ - interrupts
37
+ - interrupt-controller
38
+ - ' #interrupt-cells'
39
+
40
+ additionalProperties : false
41
+
42
+ examples :
43
+ - |
44
+ #include <dt-bindings/interrupt-controller/irq.h>
45
+ htvec: interrupt-controller@fb000080 {
46
+ compatible = "loongson,htvec-1.0";
47
+ reg = <0xfb000080 0x40>;
48
+ interrupt-controller;
49
+ #interrupt-cells = <1>;
50
+
51
+ interrupt-parent = <&liointc>;
52
+ interrupts = <24 IRQ_TYPE_LEVEL_HIGH>,
53
+ <25 IRQ_TYPE_LEVEL_HIGH>,
54
+ <26 IRQ_TYPE_LEVEL_HIGH>,
55
+ <27 IRQ_TYPE_LEVEL_HIGH>;
56
+ };
57
+ ...
You can’t perform that action at this time.
0 commit comments