xref: /freebsd/sys/contrib/device-tree/Bindings/timer/arm,armv7m-systick.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* ARMv7M System Timer
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotARMv7-M includes a system timer, known as SysTick. Current driver only
4*c66ec88fSEmmanuel Vadotimplements the clocksource feature.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired properties:
7*c66ec88fSEmmanuel Vadot- compatible	  : Should be "arm,armv7m-systick"
8*c66ec88fSEmmanuel Vadot- reg		  : The address range of the timer
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotRequired clocking property, have to be one of:
11*c66ec88fSEmmanuel Vadot- clocks	  : The input clock of the timer
12*c66ec88fSEmmanuel Vadot- clock-frequency : The rate in HZ in input of the ARM SysTick
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotExamples:
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadotsystick: timer@e000e010 {
17*c66ec88fSEmmanuel Vadot	compatible = "arm,armv7m-systick";
18*c66ec88fSEmmanuel Vadot	reg = <0xe000e010 0x10>;
19*c66ec88fSEmmanuel Vadot	clocks = <&clk_systick>;
20*c66ec88fSEmmanuel Vadot};
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadotsystick: timer@e000e010 {
23*c66ec88fSEmmanuel Vadot	compatible = "arm,armv7m-systick";
24*c66ec88fSEmmanuel Vadot	reg = <0xe000e010 0x10>;
25*c66ec88fSEmmanuel Vadot	clock-frequency = <90000000>;
26*c66ec88fSEmmanuel Vadot};
27