| 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: ACLINT Machine-level Software Interrupt Device |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Inochi Amaoto <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
oneOf: |
| 15 |
- items: |
| 16 |
- enum: |
| 17 |
- sophgo,sg2042-aclint-mswi |
| 18 |
- sophgo,sg2044-aclint-mswi |
| 19 |
- const: thead,c900-aclint-mswi |
| 20 |
- items: |
| 21 |
- enum: |
| 22 |
- anlogic,dr1v90-aclint-mswi |
| 23 |
- const: nuclei,ux900-aclint-mswi |
| 24 |
|
| 25 |
reg: |
| 26 |
maxItems: 1 |
| 27 |
|
| 28 |
interrupts-extended: |
| 29 |
minItems: 1 |
| 30 |
maxItems: 4095 |
| 31 |
|
| 32 |
additionalProperties: false |
| 33 |
|
| 34 |
required: |
| 35 |
- compatible |
| 36 |
- reg |
| 37 |
- interrupts-extended |
| 38 |
|
| 39 |
examples: |
| 40 |
- | |
| 41 |
interrupt-controller@94000000 { |
| 42 |
compatible = "sophgo,sg2042-aclint-mswi", "thead,c900-aclint-mswi"; |
| 43 |
interrupts-extended = <&cpu1intc 3>, |
| 44 |
<&cpu2intc 3>, |
| 45 |
<&cpu3intc 3>, |
| 46 |
<&cpu4intc 3>; |
| 47 |
reg = <0x94000000 0x00010000>; |
| 48 |
}; |
| 49 |
... |