xref: /openbmc/u-boot/doc/device-tree-bindings/timer/arc_timer.txt (revision 20699e6b7949c1eb174d8315807c050cfd03da9a)
1*20699e6bSVlad ZakharovARC Timer
2*20699e6bSVlad Zakharov
3*20699e6bSVlad ZakharovRequired properties:
4*20699e6bSVlad Zakharov
5*20699e6bSVlad Zakharov- compatible : should be "snps,arc-timer".
6*20699e6bSVlad Zakharov- reg : Specifies timer ID, could be either 0 or 1.
7*20699e6bSVlad Zakharov- clocks : Specifies clocks that drives the counter.
8*20699e6bSVlad Zakharov
9*20699e6bSVlad ZakharovExamples:
10*20699e6bSVlad Zakharov
11*20699e6bSVlad Zakharovtimer@0 {
12*20699e6bSVlad Zakharov	compatible = "snps,arc-timer";
13*20699e6bSVlad Zakharov	clocks = <&core_clk>;
14*20699e6bSVlad Zakharov	reg = <0>;
15*20699e6bSVlad Zakharov};
16*20699e6bSVlad Zakharov
17*20699e6bSVlad Zakharovtimer@1 {
18*20699e6bSVlad Zakharov	compatible = "snps,arc-timer";
19*20699e6bSVlad Zakharov	clocks = <&core_clk>;
20*20699e6bSVlad Zakharov	reg = <1>;
21*20699e6bSVlad Zakharov};
22*20699e6bSVlad Zakharov
23*20699e6bSVlad ZakharovNOTE: if you specify both timers, clocks always should be the same
24*20699e6bSVlad Zakharovas each timer is driven by the same core clock.
25