xref: /linux/Documentation/devicetree/bindings/interrupt-controller/thead,c900-aclint-sswi.yaml (revision fcc79e1714e8c2b8e216dc3149812edd37884eef)
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-sswi.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: T-HEAD C900 ACLINT Supervisor-level Software Interrupt Device
8
9maintainers:
10  - Inochi Amaoto <inochiama@outlook.com>
11
12description:
13  The SSWI device is a part of the THEAD ACLINT device. It provides
14  supervisor-level IPI functionality for a set of HARTs on a THEAD
15  platform. It provides a register to set an IPI (SETSSIP) for each
16  HART connected to the SSWI device.
17
18properties:
19  compatible:
20    items:
21      - enum:
22          - sophgo,sg2044-aclint-sswi
23      - const: thead,c900-aclint-sswi
24
25  reg:
26    maxItems: 1
27
28  "#interrupt-cells":
29    const: 0
30
31  interrupt-controller: true
32
33  interrupts-extended:
34    minItems: 1
35    maxItems: 4095
36
37additionalProperties: false
38
39required:
40  - compatible
41  - reg
42  - "#interrupt-cells"
43  - interrupt-controller
44  - interrupts-extended
45
46examples:
47  - |
48    interrupt-controller@94000000 {
49      compatible = "sophgo,sg2044-aclint-sswi", "thead,c900-aclint-sswi";
50      reg = <0x94000000 0x00004000>;
51      #interrupt-cells = <0>;
52      interrupt-controller;
53      interrupts-extended = <&cpu1intc 1>,
54                            <&cpu2intc 1>,
55                            <&cpu3intc 1>,
56                            <&cpu4intc 1>;
57    };
58...
59