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