]> git.ipfire.org Git - thirdparty/u-boot.git/blame - Bindings/timer/thead,c900-aclint-mtimer.yaml
Squashed 'dts/upstream/' changes from aaba2d45dc2a..b35b9bd1d4ee
[thirdparty/u-boot.git] / Bindings / timer / thead,c900-aclint-mtimer.yaml
CommitLineData
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
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:
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
31additionalProperties: false
32
33required:
34 - compatible
35 - reg
93743d24 36 - reg-names
53633a89
TR
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>;
93743d24 48 reg-names = "mtimecmp";
53633a89
TR
49 };
50...