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