xref: /freebsd-src/sys/contrib/device-tree/Bindings/interrupt-controller/thead,c900-aclint-mswi.yaml (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1*84943d6fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*84943d6fSEmmanuel Vadot%YAML 1.2
3*84943d6fSEmmanuel Vadot---
4*84943d6fSEmmanuel Vadot$id: http://devicetree.org/schemas/interrupt-controller/thead,c900-aclint-mswi.yaml#
5*84943d6fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*84943d6fSEmmanuel Vadot
7*84943d6fSEmmanuel Vadottitle: Sophgo sg2042 CLINT Machine-level Software Interrupt Device
8*84943d6fSEmmanuel Vadot
9*84943d6fSEmmanuel Vadotmaintainers:
10*84943d6fSEmmanuel Vadot  - Inochi Amaoto <inochiama@outlook.com>
11*84943d6fSEmmanuel Vadot
12*84943d6fSEmmanuel Vadotproperties:
13*84943d6fSEmmanuel Vadot  compatible:
14*84943d6fSEmmanuel Vadot    items:
15*84943d6fSEmmanuel Vadot      - enum:
16*84943d6fSEmmanuel Vadot          - sophgo,sg2042-aclint-mswi
17*84943d6fSEmmanuel Vadot      - const: thead,c900-aclint-mswi
18*84943d6fSEmmanuel Vadot
19*84943d6fSEmmanuel Vadot  reg:
20*84943d6fSEmmanuel Vadot    maxItems: 1
21*84943d6fSEmmanuel Vadot
22*84943d6fSEmmanuel Vadot  interrupts-extended:
23*84943d6fSEmmanuel Vadot    minItems: 1
24*84943d6fSEmmanuel Vadot    maxItems: 4095
25*84943d6fSEmmanuel Vadot
26*84943d6fSEmmanuel VadotadditionalProperties: false
27*84943d6fSEmmanuel Vadot
28*84943d6fSEmmanuel Vadotrequired:
29*84943d6fSEmmanuel Vadot  - compatible
30*84943d6fSEmmanuel Vadot  - reg
31*84943d6fSEmmanuel Vadot  - interrupts-extended
32*84943d6fSEmmanuel Vadot
33*84943d6fSEmmanuel Vadotexamples:
34*84943d6fSEmmanuel Vadot  - |
35*84943d6fSEmmanuel Vadot    interrupt-controller@94000000 {
36*84943d6fSEmmanuel Vadot      compatible = "sophgo,sg2042-aclint-mswi", "thead,c900-aclint-mswi";
37*84943d6fSEmmanuel Vadot      interrupts-extended = <&cpu1intc 3>,
38*84943d6fSEmmanuel Vadot                            <&cpu2intc 3>,
39*84943d6fSEmmanuel Vadot                            <&cpu3intc 3>,
40*84943d6fSEmmanuel Vadot                            <&cpu4intc 3>;
41*84943d6fSEmmanuel Vadot      reg = <0x94000000 0x00010000>;
42*84943d6fSEmmanuel Vadot    };
43*84943d6fSEmmanuel Vadot...
44