timer.txt 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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 the debug timer, the first general purpose
  8. timer, and optionally a second general purpose timer in that
  9. order.
  10. - reg : Specifies the base address of the timer registers.
  11. - clock-frequency : The frequency of the debug timer and the general purpose
  12. timer(s) in Hz in that order.
  13. Optional:
  14. - cpu-offset : per-cpu offset used when the timer is accessed without the
  15. CPU remapping facilities. The offset is
  16. cpu-offset + (0x10000 * cpu-nr).
  17. Example:
  18. timer@200a000 {
  19. compatible = "qcom,scss-timer", "qcom,msm-timer";
  20. interrupts = <1 1 0x301>,
  21. <1 2 0x301>,
  22. <1 3 0x301>;
  23. reg = <0x0200a000 0x100>;
  24. clock-frequency = <19200000>,
  25. <32768>;
  26. cpu-offset = <0x40000>;
  27. };