timer.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. * MSM Timer
  2. Properties:
  3. - compatible : Should at least contain "qcom,msm-timer". More specific
  4. properties specify which subsystem the timers are paired with.
  5. "qcom,kpss-timer" - krait subsystem
  6. "qcom,scss-timer" - scorpion subsystem
  7. - interrupts : Interrupts for the debug timer, the first general purpose
  8. timer, and optionally a second general purpose timer, and
  9. optionally as well, 2 watchdog interrupts, in that order.
  10. - reg : Specifies the base address of the timer registers.
  11. - clocks: Reference to the parent clocks, one per output clock. The parents
  12. must appear in the same order as the clock names.
  13. - clock-names: The name of the clocks as free-form strings. They should be in
  14. the same order as the clocks.
  15. - clock-frequency : The frequency of the debug timer and the general purpose
  16. timer(s) in Hz in that order.
  17. Optional:
  18. - cpu-offset : per-cpu offset used when the timer is accessed without the
  19. CPU remapping facilities. The offset is
  20. cpu-offset + (0x10000 * cpu-nr).
  21. Example:
  22. timer@200a000 {
  23. compatible = "qcom,scss-timer", "qcom,msm-timer";
  24. interrupts = <1 1 0x301>,
  25. <1 2 0x301>,
  26. <1 3 0x301>,
  27. <1 4 0x301>,
  28. <1 5 0x301>;
  29. reg = <0x0200a000 0x100>;
  30. clock-frequency = <19200000>,
  31. <32768>;
  32. clocks = <&sleep_clk>;
  33. clock-names = "sleep";
  34. cpu-offset = <0x40000>;
  35. };