blob: 2e92bcdeb423abeca98da6868d5a116615c13bbc [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:
Tom Rini93743d22024-04-01 09:08:13 -040020 items:
21 - description: MTIMECMP Registers
22
23 reg-names:
24 items:
25 - const: mtimecmp
Tom Rini53633a82024-02-29 12:33:36 -050026
27 interrupts-extended:
28 minItems: 1
29 maxItems: 4095
30
31additionalProperties: false
32
33required:
34 - compatible
35 - reg
Tom Rini93743d22024-04-01 09:08:13 -040036 - reg-names
Tom Rini53633a82024-02-29 12:33:36 -050037 - 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>;
Tom Rini93743d22024-04-01 09:08:13 -040048 reg-names = "mtimecmp";
Tom Rini53633a82024-02-29 12:33:36 -050049 };
50...