energymicro,efm32-timer.txt 722 B

1234567891011121314151617181920212223
  1. * EFM32 timer hardware
  2. The efm32 Giant Gecko SoCs come with four 16 bit timers. Two counters can be
  3. connected to form a 32 bit counter. Each timer has three Compare/Capture
  4. channels and can be used as PWM or Quadrature Decoder. Available clock sources
  5. are the cpu's HFPERCLK (with a 10-bit prescaler) or an external pin.
  6. Required properties:
  7. - compatible : Should be "energymicro,efm32-timer"
  8. - reg : Address and length of the register set
  9. - clocks : Should contain a reference to the HFPERCLK
  10. Optional properties:
  11. - interrupts : Reference to the timer interrupt
  12. Example:
  13. timer@40010c00 {
  14. compatible = "energymicro,efm32-timer";
  15. reg = <0x40010c00 0x400>;
  16. interrupts = <14>;
  17. clocks = <&cmu clk_HFPERCLKTIMER3>;
  18. };