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