0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/timer/arm,armv7m-systick.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: ARMv7M System Timer
0008
0009 maintainers:
0010 - Alexandre Torgue <alexandre.torgue@foss.st.com>
0011 - Fabrice Gasnier <fabrice.gasnier@foss.st.com>
0012
0013 description: ARMv7-M includes a system timer, known as SysTick.
0014
0015 properties:
0016 compatible:
0017 const: arm,armv7m-systick
0018
0019 reg:
0020 maxItems: 1
0021
0022 clocks:
0023 maxItems: 1
0024
0025 clock-frequency: true
0026
0027 oneOf:
0028 - required:
0029 - clocks
0030 - required:
0031 - clock-frequency
0032
0033 required:
0034 - compatible
0035 - reg
0036
0037 additionalProperties: false
0038
0039 examples:
0040 - |
0041 timer@e000e010 {
0042 compatible = "arm,armv7m-systick";
0043 reg = <0xe000e010 0x10>;
0044 clocks = <&clk_systick>;
0045 };
0046
0047 - |
0048 timer@e000e010 {
0049 compatible = "arm,armv7m-systick";
0050 reg = <0xe000e010 0x10>;
0051 clock-frequency = <90000000>;
0052 };
0053
0054 ...