1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/timer/nxp,sysctr-timer.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NXP System Counter Module(sys_ctr)
8
9maintainers:
10  - Bai Ping <ping.bai@nxp.com>
11
12description: |
13  The system counter(sys_ctr) is a programmable system counter
14  which provides a shared time base to Cortex A15, A7, A53, A73,
15  etc. it is intended for use in applications where the counter
16  is always powered and support multiple, unrelated clocks. The
17  compare frame inside can be used for timer purpose.
18
19properties:
20  compatible:
21    const: nxp,sysctr-timer
22
23  reg:
24    maxItems: 1
25
26  interrupts:
27    maxItems: 1
28
29  clocks:
30    maxItems: 1
31
32  clock-names:
33    const: per
34
35required:
36  - compatible
37  - reg
38  - interrupts
39  - clocks
40  - clock-names
41
42additionalProperties: false
43
44examples:
45  - |
46    #include <dt-bindings/interrupt-controller/arm-gic.h>
47
48    timer@306a0000 {
49        compatible = "nxp,sysctr-timer";
50        reg = <0x306a0000 0x20000>;
51        clocks = <&clk_8m>;
52        clock-names = "per";
53        interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
54     };
55