Debian Codegraph @

Documentation/devicetree/bindings/timer/arm,mps2-timer.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/arm,mps2-timer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: ARM MPS2 timer
8
9 maintainers:
10 - Vladimir Murzin <[email protected]>
11
12 description:
13 The MPS2 platform has simple general-purpose 32 bits timers.
14
15 properties:
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
31 oneOf:
32 - required: [clocks]
33 - required: [clock-frequency]
34
35 required:
36 - compatible
37 - reg
38 - interrupts
39
40 additionalProperties: false
41
42 examples:
43 - |
44 timer@40000000 {
45 compatible = "arm,mps2-timer";
46 reg = <0x40000000 0x1000>;
47 interrupts = <8>;
48 clocks = <&sysclk>;
49 };