summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml
blob: daa7832babe32c5c37828fce589f1d97c7a2737f (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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/timer/ralink,rt2880-timer.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Timer present in Ralink family SoCs

maintainers:
  - Sergio Paracuellos <sergio.paracuellos@gmail.com>

properties:
  compatible:
    const: ralink,rt2880-timer

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg
  - clocks
  - interrupts

additionalProperties: false

examples:
  - |
    timer@100 {
        compatible = "ralink,rt2880-timer";
        reg = <0x100 0x20>;

        clocks = <&sysc 3>;

        interrupt-parent = <&intc>;
        interrupts = <1>;
    };
...