xref: /freebsd/sys/contrib/device-tree/Bindings/timer/lsi,zevio-timer.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotTI-NSPIRE timer
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot- compatible : should be "lsi,zevio-timer".
6*c66ec88fSEmmanuel Vadot- reg : The physical base address and size of the timer (always first).
7*c66ec88fSEmmanuel Vadot- clocks: phandle to the source clock.
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel VadotOptional properties:
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot- interrupts : The interrupt number of the first timer.
12*c66ec88fSEmmanuel Vadot- reg : The interrupt acknowledgement registers
13*c66ec88fSEmmanuel Vadot	(always after timer base address)
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotIf any of the optional properties are not given, the timer is added as a
16*c66ec88fSEmmanuel Vadotclock-source only.
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotExample:
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadottimer {
21*c66ec88fSEmmanuel Vadot	compatible = "lsi,zevio-timer";
22*c66ec88fSEmmanuel Vadot	reg = <0x900D0000 0x1000>, <0x900A0020 0x8>;
23*c66ec88fSEmmanuel Vadot	interrupts = <19>;
24*c66ec88fSEmmanuel Vadot	clocks = <&timer_clk>;
25*c66ec88fSEmmanuel Vadot};
26*c66ec88fSEmmanuel Vadot
27*c66ec88fSEmmanuel VadotExample (no clock-events):
28*c66ec88fSEmmanuel Vadot
29*c66ec88fSEmmanuel Vadottimer {
30*c66ec88fSEmmanuel Vadot	compatible = "lsi,zevio-timer";
31*c66ec88fSEmmanuel Vadot	reg = <0x900D0000 0x1000>;
32*c66ec88fSEmmanuel Vadot	clocks = <&timer_clk>;
33*c66ec88fSEmmanuel Vadot};
34