0001 * Device tree bindings for Texas Instruments DaVinci timer
0002
0003 This document provides bindings for the 64-bit timer in the DaVinci
0004 architecture devices. The timer can be configured as a general-purpose 64-bit
0005 timer, dual general-purpose 32-bit timers. When configured as dual 32-bit
0006 timers, each half can operate in conjunction (chain mode) or independently
0007 (unchained mode) of each other.
0008
0009 The timer is a free running up-counter and can generate interrupts when the
0010 counter reaches preset counter values.
0011
0012 Also see ../watchdog/davinci-wdt.txt for timers that are configurable as
0013 watchdog timers.
0014
0015 Required properties:
0016
0017 - compatible : should be "ti,da830-timer".
0018 - reg : specifies base physical address and count of the registers.
0019 - interrupts : interrupts generated by the timer.
0020 - interrupt-names: should be "tint12", "tint34", "cmpint0", "cmpint1",
0021 "cmpint2", "cmpint3", "cmpint4", "cmpint5", "cmpint6",
0022 "cmpint7" ("cmpintX" may be omitted if not present in the
0023 hardware).
0024 - clocks : the clock feeding the timer clock.
0025
0026 Example:
0027
0028 clocksource: timer@20000 {
0029 compatible = "ti,da830-timer";
0030 reg = <0x20000 0x1000>;
0031 interrupts = <21>, <22>, <74>, <75>, <76>, <77>, <78>, <79>,
0032 <80>, <81>;
0033 interrupt-names = "tint12", "tint34", "cmpint0", "cmpint1",
0034 "cmpint2", "cmpint3", "cmpint4", "cmpint5",
0035 "cmpint6", "cmpint7";
0036 clocks = <&pll0_auxclk>;
0037 };