spreadtrum,sprd-timer.txt 689 B

1234567891011121314151617181920
  1. Spreadtrum timers
  2. The Spreadtrum SC9860 platform provides 3 general-purpose timers.
  3. These timers can support 32bit or 64bit counter, as well as supporting
  4. period mode or one-shot mode, and they are can be wakeup source
  5. during deep sleep.
  6. Required properties:
  7. - compatible: should be "sprd,sc9860-timer" for SC9860 platform.
  8. - reg: The register address of the timer device.
  9. - interrupts: Should contain the interrupt for the timer device.
  10. - clocks: The phandle to the source clock (usually a 32.768 KHz fixed clock).
  11. Example:
  12. timer@40050000 {
  13. compatible = "sprd,sc9860-timer";
  14. reg = <0 0x40050000 0 0x20>;
  15. interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
  16. clocks = <&ext_32k>;
  17. };