arc_timer.txt 470 B

123456789101112131415161718192021222324
  1. ARC Timer
  2. Required properties:
  3. - compatible : should be "snps,arc-timer".
  4. - reg : Specifies timer ID, could be either 0 or 1.
  5. - clocks : Specifies clocks that drives the counter.
  6. Examples:
  7. timer@0 {
  8. compatible = "snps,arc-timer";
  9. clocks = <&core_clk>;
  10. reg = <0>;
  11. };
  12. timer@1 {
  13. compatible = "snps,arc-timer";
  14. clocks = <&core_clk>;
  15. reg = <1>;
  16. };
  17. NOTE: if you specify both timers, clocks always should be the same
  18. as each timer is driven by the same core clock.