snps,arc-timer.txt 845 B

1234567891011121314151617181920212223242526272829303132
  1. Synopsys ARC Local Timer with Interrupt Capabilities
  2. - Found on all ARC CPUs (ARC700/ARCHS)
  3. - Can be optionally programmed to interrupt on Limit
  4. - Two idential copies TIMER0 and TIMER1 exist in ARC cores and historically
  5. TIMER0 used as clockevent provider (true for all ARC cores)
  6. TIMER1 used for clocksource (mandatory for ARC700, optional for ARC HS)
  7. Required properties:
  8. - compatible : should be "snps,arc-timer"
  9. - interrupts : single Interrupt going into parent intc
  10. (16 for ARCHS cores, 3 for ARC700 cores)
  11. - clocks : phandle to the source clock
  12. Optional properties:
  13. - interrupt-parent : phandle to parent intc
  14. Example:
  15. timer0 {
  16. compatible = "snps,arc-timer";
  17. interrupts = <3>;
  18. interrupt-parent = <&core_intc>;
  19. clocks = <&core_clk>;
  20. };
  21. timer1 {
  22. compatible = "snps,arc-timer";
  23. clocks = <&core_clk>;
  24. };