blob: fbd235650e52cca3dc3e43792e0c730aab65699c [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/timer/thead,c900-aclint-mtimer.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Sophgo CLINT Timer
8
9maintainers:
10 - Inochi Amaoto <inochiama@outlook.com>
11
12properties:
13 compatible:
14 items:
15 - enum:
16 - sophgo,sg2042-aclint-mtimer
17 - const: thead,c900-aclint-mtimer
18
19 reg:
20 maxItems: 1
21
22 interrupts-extended:
23 minItems: 1
24 maxItems: 4095
25
26additionalProperties: false
27
28required:
29 - compatible
30 - reg
31 - interrupts-extended
32
33examples:
34 - |
35 timer@ac000000 {
36 compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
37 interrupts-extended = <&cpu1intc 7>,
38 <&cpu2intc 7>,
39 <&cpu3intc 7>,
40 <&cpu4intc 7>;
41 reg = <0xac000000 0x00010000>;
42 };
43...