18c2ecf20Sopenharmony_ci* Device tree bindings for Texas Instruments DaVinci timer 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciThis document provides bindings for the 64-bit timer in the DaVinci 48c2ecf20Sopenharmony_ciarchitecture devices. The timer can be configured as a general-purpose 64-bit 58c2ecf20Sopenharmony_citimer, dual general-purpose 32-bit timers. When configured as dual 32-bit 68c2ecf20Sopenharmony_citimers, each half can operate in conjunction (chain mode) or independently 78c2ecf20Sopenharmony_ci(unchained mode) of each other. 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciThe timer is a free running up-counter and can generate interrupts when the 108c2ecf20Sopenharmony_cicounter reaches preset counter values. 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciAlso see ../watchdog/davinci-wdt.txt for timers that are configurable as 138c2ecf20Sopenharmony_ciwatchdog timers. 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciRequired properties: 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci- compatible : should be "ti,da830-timer". 188c2ecf20Sopenharmony_ci- reg : specifies base physical address and count of the registers. 198c2ecf20Sopenharmony_ci- interrupts : interrupts generated by the timer. 208c2ecf20Sopenharmony_ci- interrupt-names: should be "tint12", "tint34", "cmpint0", "cmpint1", 218c2ecf20Sopenharmony_ci "cmpint2", "cmpint3", "cmpint4", "cmpint5", "cmpint6", 228c2ecf20Sopenharmony_ci "cmpint7" ("cmpintX" may be omitted if not present in the 238c2ecf20Sopenharmony_ci hardware). 248c2ecf20Sopenharmony_ci- clocks : the clock feeding the timer clock. 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ciExample: 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci clocksource: timer@20000 { 298c2ecf20Sopenharmony_ci compatible = "ti,da830-timer"; 308c2ecf20Sopenharmony_ci reg = <0x20000 0x1000>; 318c2ecf20Sopenharmony_ci interrupts = <21>, <22>, <74>, <75>, <76>, <77>, <78>, <79>, 328c2ecf20Sopenharmony_ci <80>, <81>; 338c2ecf20Sopenharmony_ci interrupt-names = "tint12", "tint34", "cmpint0", "cmpint1", 348c2ecf20Sopenharmony_ci "cmpint2", "cmpint3", "cmpint4", "cmpint5", 358c2ecf20Sopenharmony_ci "cmpint6", "cmpint7"; 368c2ecf20Sopenharmony_ci clocks = <&pll0_auxclk>; 378c2ecf20Sopenharmony_ci }; 38