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

title: SPEAr ARM Timer

maintainers:
  - Viresh Kumar <vireshk@kernel.org>
  - Shiraz Hashim <shiraz.linux.kernel@gmail.com>

properties:
  compatible:
    const: st,spear-timer

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts

additionalProperties: false

examples:
  - |
    timer@f0000000 {
        compatible = "st,spear-timer";
        reg = <0xf0000000 0x400>;
        interrupts = <2>;
    };