xref: /linux/Documentation/devicetree/bindings/interrupt-controller/thead,c900-aclint-mswi.yaml (revision a23e1966932464e1c5226cb9ac4ce1d5fc10ba22)
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/thead,c900-aclint-mswi.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Sophgo sg2042 CLINT Machine-level Software Interrupt Device
8
9maintainers:
10  - Inochi Amaoto <inochiama@outlook.com>
11
12properties:
13  compatible:
14    items:
15      - enum:
16          - sophgo,sg2042-aclint-mswi
17      - const: thead,c900-aclint-mswi
18
19  reg:
20    maxItems: 1
21
22  interrupts-extended:
23    minItems: 1
24    maxItems: 4095
25
26additionalProperties: false
27
28required:
29  - compatible
30  - reg
31  - interrupts-extended
32
33examples:
34  - |
35    interrupt-controller@94000000 {
36      compatible = "sophgo,sg2042-aclint-mswi", "thead,c900-aclint-mswi";
37      interrupts-extended = <&cpu1intc 3>,
38                            <&cpu2intc 3>,
39                            <&cpu3intc 3>,
40                            <&cpu4intc 3>;
41      reg = <0x94000000 0x00010000>;
42    };
43...
44