Debian Codegraph @

Documentation/devicetree/bindings/timer/thead,c900-aclint-mtimer.yaml

raw
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: ACLINT Machine-level Timer Device
8
9 maintainers:
10 - Inochi Amaoto <[email protected]>
11
12 properties:
13 compatible:
14 oneOf:
15 - items:
16 - enum:
17 - sophgo,sg2042-aclint-mtimer
18 - sophgo,sg2044-aclint-mtimer
19 - const: thead,c900-aclint-mtimer
20 - items:
21 - enum:
22 - anlogic,dr1v90-aclint-mtimer
23 - const: nuclei,ux900-aclint-mtimer
24
25 reg:
26 items:
27 - description: MTIMECMP Registers
28
29 reg-names:
30 items:
31 - const: mtimecmp
32
33 interrupts-extended:
34 minItems: 1
35 maxItems: 4095
36
37 additionalProperties: false
38
39 required:
40 - compatible
41 - reg
42 - reg-names
43 - interrupts-extended
44
45 examples:
46 - |
47 timer@ac000000 {
48 compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
49 interrupts-extended = <&cpu1intc 7>,
50 <&cpu2intc 7>,
51 <&cpu3intc 7>,
52 <&cpu4intc 7>;
53 reg = <0xac000000 0x00010000>;
54 reg-names = "mtimecmp";
55 };
56 ...