xref: /linux/Documentation/devicetree/bindings/timer/thead,c900-aclint-mtimer.yaml (revision 06d07429858317ded2db7986113a9e0129cd599b)
1# 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    items:
21      - description: MTIMECMP Registers
22
23  reg-names:
24    items:
25      - const: mtimecmp
26
27  interrupts-extended:
28    minItems: 1
29    maxItems: 4095
30
31additionalProperties: false
32
33required:
34  - compatible
35  - reg
36  - reg-names
37  - interrupts-extended
38
39examples:
40  - |
41    timer@ac000000 {
42      compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
43      interrupts-extended = <&cpu1intc 7>,
44                            <&cpu2intc 7>,
45                            <&cpu3intc 7>,
46                            <&cpu4intc 7>;
47      reg = <0xac000000 0x00010000>;
48      reg-names = "mtimecmp";
49    };
50...
51