xref: /freebsd/sys/contrib/device-tree/Bindings/timer/arm,armv7m-systick.yaml (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/timer/arm,armv7m-systick.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: ARMv7M System Timer
8
9maintainers:
10  - Alexandre Torgue <alexandre.torgue@foss.st.com>
11  - Fabrice Gasnier <fabrice.gasnier@foss.st.com>
12
13description: ARMv7-M includes a system timer, known as SysTick.
14
15properties:
16  compatible:
17    const: arm,armv7m-systick
18
19  reg:
20    maxItems: 1
21
22  clocks:
23    maxItems: 1
24
25  clock-frequency: true
26
27oneOf:
28  - required:
29      - clocks
30  - required:
31      - clock-frequency
32
33required:
34  - compatible
35  - reg
36
37additionalProperties: false
38
39examples:
40  - |
41    timer@e000e010 {
42        compatible = "arm,armv7m-systick";
43        reg = <0xe000e010 0x10>;
44        clocks = <&clk_systick>;
45    };
46
47  - |
48    timer@e000e010 {
49        compatible = "arm,armv7m-systick";
50        reg = <0xe000e010 0x10>;
51        clock-frequency = <90000000>;
52    };
53
54...
55