summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.yaml
blob: 1fbc260a0cbdf8a87f60a8faed2c9a6910e7f585 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# SPDX-License-Identifier: GPL-2.0-only
%YAML 1.2
---
$id: http://devicetree.org/schemas/timer/mrvl,mmp-timer.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Marvell MMP Timer bindings

maintainers:
  - Daniel Lezcano <daniel.lezcano@linaro.org>
  - Thomas Gleixner <tglx@linutronix.de>
  - Rob Herring <robh+dt@kernel.org>

properties:
  $nodename:
    pattern: '^timer@[a-f0-9]+$'

  compatible:
    const: mrvl,mmp-timer

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts

additionalProperties: false

examples:
  - |
    timer@d4014000 {
        compatible = "mrvl,mmp-timer";
        reg = <0xd4014000 0x100>;
        interrupts = <13>;
        clocks = <&coreclk 2>;
    };

...