xref: /linux/Documentation/devicetree/bindings/timer/arm,mps2-timer.yaml (revision 23ca32e4ead48f68e37000f2552b973ef1439acb)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/arm,mps2-timer.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: ARM MPS2 timer
8
9maintainers:
10  - Vladimir Murzin <vladimir.murzin@arm.com>
11
12description:
13  The MPS2 platform has simple general-purpose 32 bits timers.
14
15properties:
16  compatible:
17    const: arm,mps2-timer
18
19  reg:
20    maxItems: 1
21
22  interrupts:
23    maxItems: 1
24
25  clocks:
26    maxItems: 1
27
28  clock-frequency:
29    description: Rate in Hz of the timer input clock
30
31oneOf:
32  - required: [clocks]
33  - required: [clock-frequency]
34
35required:
36  - compatible
37  - reg
38  - interrupts
39
40additionalProperties: false
41
42examples:
43  - |
44    timer@40000000 {
45        compatible = "arm,mps2-timer";
46        reg = <0x40000000 0x1000>;
47        interrupts = <8>;
48        clocks = <&sysclk>;
49    };
50