162306a36Sopenharmony_ci* Device tree bindings for Texas Instruments DaVinci timer 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciThis document provides bindings for the 64-bit timer in the DaVinci 462306a36Sopenharmony_ciarchitecture devices. The timer can be configured as a general-purpose 64-bit 562306a36Sopenharmony_citimer, dual general-purpose 32-bit timers. When configured as dual 32-bit 662306a36Sopenharmony_citimers, each half can operate in conjunction (chain mode) or independently 762306a36Sopenharmony_ci(unchained mode) of each other. 862306a36Sopenharmony_ci 962306a36Sopenharmony_ciThe timer is a free running up-counter and can generate interrupts when the 1062306a36Sopenharmony_cicounter reaches preset counter values. 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ciAlso see ../watchdog/davinci-wdt.txt for timers that are configurable as 1362306a36Sopenharmony_ciwatchdog timers. 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ciRequired properties: 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ci- compatible : should be "ti,da830-timer". 1862306a36Sopenharmony_ci- reg : specifies base physical address and count of the registers. 1962306a36Sopenharmony_ci- interrupts : interrupts generated by the timer. 2062306a36Sopenharmony_ci- interrupt-names: should be "tint12", "tint34", "cmpint0", "cmpint1", 2162306a36Sopenharmony_ci "cmpint2", "cmpint3", "cmpint4", "cmpint5", "cmpint6", 2262306a36Sopenharmony_ci "cmpint7" ("cmpintX" may be omitted if not present in the 2362306a36Sopenharmony_ci hardware). 2462306a36Sopenharmony_ci- clocks : the clock feeding the timer clock. 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ciExample: 2762306a36Sopenharmony_ci 2862306a36Sopenharmony_ci clocksource: timer@20000 { 2962306a36Sopenharmony_ci compatible = "ti,da830-timer"; 3062306a36Sopenharmony_ci reg = <0x20000 0x1000>; 3162306a36Sopenharmony_ci interrupts = <21>, <22>, <74>, <75>, <76>, <77>, <78>, <79>, 3262306a36Sopenharmony_ci <80>, <81>; 3362306a36Sopenharmony_ci interrupt-names = "tint12", "tint34", "cmpint0", "cmpint1", 3462306a36Sopenharmony_ci "cmpint2", "cmpint3", "cmpint4", "cmpint5", 3562306a36Sopenharmony_ci "cmpint6", "cmpint7"; 3662306a36Sopenharmony_ci clocks = <&pll0_auxclk>; 3762306a36Sopenharmony_ci }; 38