1862ceabbSDavid Lechner* Device tree bindings for Texas Instruments DaVinci timer
2862ceabbSDavid Lechner
3862ceabbSDavid LechnerThis document provides bindings for the 64-bit timer in the DaVinci
4862ceabbSDavid Lechnerarchitecture devices. The timer can be configured as a general-purpose 64-bit
5862ceabbSDavid Lechnertimer, dual general-purpose 32-bit timers. When configured as dual 32-bit
6862ceabbSDavid Lechnertimers, each half can operate in conjunction (chain mode) or independently
7862ceabbSDavid Lechner(unchained mode) of each other.
8862ceabbSDavid Lechner
9862ceabbSDavid LechnerThe timer is a free running up-counter and can generate interrupts when the
10862ceabbSDavid Lechnercounter reaches preset counter values.
11862ceabbSDavid Lechner
12862ceabbSDavid LechnerAlso see ../watchdog/davinci-wdt.txt for timers that are configurable as
13862ceabbSDavid Lechnerwatchdog timers.
14862ceabbSDavid Lechner
15862ceabbSDavid LechnerRequired properties:
16862ceabbSDavid Lechner
17862ceabbSDavid Lechner- compatible : should be "ti,da830-timer".
18862ceabbSDavid Lechner- reg : specifies base physical address and count of the registers.
19862ceabbSDavid Lechner- interrupts : interrupts generated by the timer.
20862ceabbSDavid Lechner- interrupt-names: should be "tint12", "tint34", "cmpint0", "cmpint1",
21862ceabbSDavid Lechner		   "cmpint2", "cmpint3", "cmpint4", "cmpint5", "cmpint6",
22862ceabbSDavid Lechner		   "cmpint7" ("cmpintX" may be omitted if not present in the
23862ceabbSDavid Lechner		   hardware).
24862ceabbSDavid Lechner- clocks : the clock feeding the timer clock.
25862ceabbSDavid Lechner
26862ceabbSDavid LechnerExample:
27862ceabbSDavid Lechner
28862ceabbSDavid Lechner	clocksource: timer@20000 {
29862ceabbSDavid Lechner		compatible = "ti,da830-timer";
30862ceabbSDavid Lechner		reg = <0x20000 0x1000>;
31862ceabbSDavid Lechner		interrupts = <21>, <22>, <74>, <75>, <76>, <77>, <78>, <79>,
32862ceabbSDavid Lechner			     <80>, <81>;
33862ceabbSDavid Lechner		interrupt-names = "tint12", "tint34", "cmpint0", "cmpint1",
34862ceabbSDavid Lechner				  "cmpint2", "cmpint3", "cmpint4", "cmpint5",
35862ceabbSDavid Lechner				  "cmpint6", "cmpint7";
36862ceabbSDavid Lechner		clocks = <&pll0_auxclk>;
37862ceabbSDavid Lechner	};
38