]>
Commit | Line | Data |
---|---|---|
53633a89 TR |
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 | ||
7 | title: Sophgo CLINT Timer | |
8 | ||
9 | maintainers: | |
10 | - Inochi Amaoto <inochiama@outlook.com> | |
11 | ||
12 | properties: | |
13 | compatible: | |
14 | items: | |
15 | - enum: | |
16 | - sophgo,sg2042-aclint-mtimer | |
17 | - const: thead,c900-aclint-mtimer | |
18 | ||
19 | reg: | |
93743d24 TR |
20 | items: |
21 | - description: MTIMECMP Registers | |
22 | ||
23 | reg-names: | |
24 | items: | |
25 | - const: mtimecmp | |
53633a89 TR |
26 | |
27 | interrupts-extended: | |
28 | minItems: 1 | |
29 | maxItems: 4095 | |
30 | ||
31 | additionalProperties: false | |
32 | ||
33 | required: | |
34 | - compatible | |
35 | - reg | |
93743d24 | 36 | - reg-names |
53633a89 TR |
37 | - interrupts-extended |
38 | ||
39 | examples: | |
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>; | |
93743d24 | 48 | reg-names = "mtimecmp"; |
53633a89 TR |
49 | }; |
50 | ... |