xref: /linux/Documentation/devicetree/bindings/interrupt-controller/thead,c900-aclint-mswi.yaml (revision c598d5eb9fb331ba17bc9ad67ae9a2231ca5aca5)
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          - sophgo,sg2044-aclint-mswi
18      - const: thead,c900-aclint-mswi
19
20  reg:
21    maxItems: 1
22
23  interrupts-extended:
24    minItems: 1
25    maxItems: 4095
26
27additionalProperties: false
28
29required:
30  - compatible
31  - reg
32  - interrupts-extended
33
34examples:
35  - |
36    interrupt-controller@94000000 {
37      compatible = "sophgo,sg2042-aclint-mswi", "thead,c900-aclint-mswi";
38      interrupts-extended = <&cpu1intc 3>,
39                            <&cpu2intc 3>,
40                            <&cpu3intc 3>,
41                            <&cpu4intc 3>;
42      reg = <0x94000000 0x00010000>;
43    };
44...
45