File tree Expand file tree Collapse file tree 1 file changed +61
-0
lines changed
Documentation/devicetree/bindings/interrupt-controller Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2
+ %YAML 1.2
3
+ ---
4
+ $id : http://devicetree.org/schemas/interrupt-controller/sophgo,sg2042-msi.yaml#
5
+ $schema : http://devicetree.org/meta-schemas/core.yaml#
6
+
7
+ title : Sophgo SG2042 MSI Controller
8
+
9
+ maintainers :
10
+
11
+
12
+ description :
13
+ This interrupt controller is in Sophgo SG2042 for transforming interrupts from
14
+ PCIe MSI to PLIC interrupts.
15
+
16
+ allOf :
17
+ - $ref : /schemas/interrupt-controller/msi-controller.yaml#
18
+
19
+ properties :
20
+ compatible :
21
+ const : sophgo,sg2042-msi
22
+
23
+ reg :
24
+ items :
25
+ - description : clear register
26
+ - description : msi doorbell address
27
+
28
+ reg-names :
29
+ items :
30
+ - const : clr
31
+ - const : doorbell
32
+
33
+ msi-controller : true
34
+
35
+ msi-ranges :
36
+ maxItems : 1
37
+
38
+ " #msi-cells " :
39
+ const : 0
40
+
41
+ required :
42
+ - compatible
43
+ - reg
44
+ - reg-names
45
+ - msi-controller
46
+ - msi-ranges
47
+ - " #msi-cells"
48
+
49
+ unevaluatedProperties : false
50
+
51
+ examples :
52
+ - |
53
+ #include <dt-bindings/interrupt-controller/irq.h>
54
+ msi-controller@30000000 {
55
+ compatible = "sophgo,sg2042-msi";
56
+ reg = <0x30000000 0x4>, <0x30000008 0x4>;
57
+ reg-names = "clr", "doorbell";
58
+ msi-controller;
59
+ #msi-cells = <0>;
60
+ msi-ranges = <&plic 64 IRQ_TYPE_LEVEL_HIGH 32>;
61
+ };
You can’t perform that action at this time.
0 commit comments