GNU Linux-libre 6.8.9-gnu
[releases.git] / Documentation / devicetree / bindings / interrupt-controller / thead,c900-aclint-mswi.yaml
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
7 title: Sophgo sg2042 CLINT Machine-level Software Interrupt Device
8
9 maintainers:
10   - Inochi Amaoto <inochiama@outlook.com>
11
12 properties:
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
26 additionalProperties: false
27
28 required:
29   - compatible
30   - reg
31   - interrupts-extended
32
33 examples:
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 ...