ti,davinci-timer.txt 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. * Device tree bindings for Texas Instruments DaVinci timer
  2. This document provides bindings for the 64-bit timer in the DaVinci
  3. architecture devices. The timer can be configured as a general-purpose 64-bit
  4. timer, dual general-purpose 32-bit timers. When configured as dual 32-bit
  5. timers, each half can operate in conjunction (chain mode) or independently
  6. (unchained mode) of each other.
  7. The timer is a free running up-counter and can generate interrupts when the
  8. counter reaches preset counter values.
  9. Also see ../watchdog/davinci-wdt.txt for timers that are configurable as
  10. watchdog timers.
  11. Required properties:
  12. - compatible : should be "ti,da830-timer".
  13. - reg : specifies base physical address and count of the registers.
  14. - interrupts : interrupts generated by the timer.
  15. - interrupt-names: should be "tint12", "tint34", "cmpint0", "cmpint1",
  16. "cmpint2", "cmpint3", "cmpint4", "cmpint5", "cmpint6",
  17. "cmpint7" ("cmpintX" may be omitted if not present in the
  18. hardware).
  19. - clocks : the clock feeding the timer clock.
  20. Example:
  21. clocksource: timer@20000 {
  22. compatible = "ti,da830-timer";
  23. reg = <0x20000 0x1000>;
  24. interrupts = <21>, <22>, <74>, <75>, <76>, <77>, <78>, <79>,
  25. <80>, <81>;
  26. interrupt-names = "tint12", "tint34", "cmpint0", "cmpint1",
  27. "cmpint2", "cmpint3", "cmpint4", "cmpint5",
  28. "cmpint6", "cmpint7";
  29. clocks = <&pll0_auxclk>;
  30. };