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