xref: /freebsd/sys/contrib/device-tree/Bindings/timer/arm,global_timer.yaml (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2*c66ec88fSEmmanuel Vadot%YAML 1.2
3*c66ec88fSEmmanuel Vadot---
4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/timer/arm,global_timer.yaml#
5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadottitle: ARM Global Timer
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadotmaintainers:
10*c66ec88fSEmmanuel Vadot  - Stuart Menefy <stuart.menefy@st.com>
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadotdescription:
13*c66ec88fSEmmanuel Vadot  Cortex-A9 are often associated with a per-core Global timer.
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadotproperties:
16*c66ec88fSEmmanuel Vadot  compatible:
17*c66ec88fSEmmanuel Vadot    items:
18*c66ec88fSEmmanuel Vadot      - enum:
19*c66ec88fSEmmanuel Vadot          - arm,cortex-a5-global-timer
20*c66ec88fSEmmanuel Vadot          - arm,cortex-a9-global-timer
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadot    description: driver supports versions r2p0 and above.
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadot  reg:
25*c66ec88fSEmmanuel Vadot    maxItems: 1
26*c66ec88fSEmmanuel Vadot
27*c66ec88fSEmmanuel Vadot  interrupts:
28*c66ec88fSEmmanuel Vadot    maxItems: 1
29*c66ec88fSEmmanuel Vadot
30*c66ec88fSEmmanuel Vadot  clocks:
31*c66ec88fSEmmanuel Vadot    maxItems: 1
32*c66ec88fSEmmanuel Vadot
33*c66ec88fSEmmanuel Vadotrequired:
34*c66ec88fSEmmanuel Vadot  - compatible
35*c66ec88fSEmmanuel Vadot  - reg
36*c66ec88fSEmmanuel Vadot  - clocks
37*c66ec88fSEmmanuel Vadot
38*c66ec88fSEmmanuel VadotadditionalProperties: false
39*c66ec88fSEmmanuel Vadot
40*c66ec88fSEmmanuel Vadotexamples:
41*c66ec88fSEmmanuel Vadot  - |
42*c66ec88fSEmmanuel Vadot    timer@2c000600 {
43*c66ec88fSEmmanuel Vadot      compatible = "arm,cortex-a9-global-timer";
44*c66ec88fSEmmanuel Vadot      reg = <0x2c000600 0x20>;
45*c66ec88fSEmmanuel Vadot      interrupts = <1 13 0xf01>;
46*c66ec88fSEmmanuel Vadot      clocks = <&arm_periph_clk>;
47*c66ec88fSEmmanuel Vadot    };
48*c66ec88fSEmmanuel Vadot...
49