summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/timer/arm,global_timer.yaml
blob: 4956c8f409d20a526fb9e6978f97861a1484115f (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
47
48
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/timer/arm,global_timer.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: ARM Global Timer

maintainers:
  - Stuart Menefy <stuart.menefy@st.com>

description:
  Cortex-A9 are often associated with a per-core Global timer.

properties:
  compatible:
    items:
      - enum:
          - arm,cortex-a5-global-timer
          - arm,cortex-a9-global-timer

    description: driver supports versions r2p0 and above.

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

required:
  - compatible
  - reg
  - clocks

additionalProperties: false

examples:
  - |
    timer@2c000600 {
      compatible = "arm,cortex-a9-global-timer";
      reg = <0x2c000600 0x20>;
      interrupts = <1 13 0xf01>;
      clocks = <&arm_periph_clk>;
    };
...