Skip to content

Commit 2631c2b

Browse files
inochisaKAGA-KOKO
authored andcommitted
dt-bindings: interrupt-controller: Add T-HEAD C900 ACLINT SSWI device
Sophgo SG2044 has a new version of T-HEAD C920, which implement a fully featured T-HEAD ACLINT device. This ACLINT device contains a SSWI device to support fast S-mode IPI. Add necessary compatible string for the T-HEAD ACLINT SSWI device. Signed-off-by: Inochi Amaoto <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/all/[email protected] Link: https://www.xrvm.com/product/xuantie/C920
1 parent 194c4f5 commit 2631c2b

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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+
7+
title: T-HEAD C900 ACLINT Supervisor-level Software Interrupt Device
8+
9+
maintainers:
10+
- Inochi Amaoto <[email protected]>
11+
12+
description:
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+
18+
properties:
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+
37+
additionalProperties: false
38+
39+
required:
40+
- compatible
41+
- reg
42+
- "#interrupt-cells"
43+
- interrupt-controller
44+
- interrupts-extended
45+
46+
examples:
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+
...

0 commit comments

Comments
 (0)