18c2ecf20Sopenharmony_ci* EFM32 timer hardware
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciThe efm32 Giant Gecko SoCs come with four 16 bit timers. Two counters can be
48c2ecf20Sopenharmony_ciconnected to form a 32 bit counter. Each timer has three Compare/Capture
58c2ecf20Sopenharmony_cichannels and can be used as PWM or Quadrature Decoder. Available clock sources
68c2ecf20Sopenharmony_ciare the cpu's HFPERCLK (with a 10-bit prescaler) or an external pin.
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciRequired properties:
98c2ecf20Sopenharmony_ci- compatible : Should be "energymicro,efm32-timer"
108c2ecf20Sopenharmony_ci- reg : Address and length of the register set
118c2ecf20Sopenharmony_ci- clocks : Should contain a reference to the HFPERCLK
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciOptional properties:
148c2ecf20Sopenharmony_ci- interrupts : Reference to the timer interrupt
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciExample:
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_citimer@40010c00 {
198c2ecf20Sopenharmony_ci	compatible = "energymicro,efm32-timer";
208c2ecf20Sopenharmony_ci	reg = <0x40010c00 0x400>;
218c2ecf20Sopenharmony_ci	interrupts = <14>;
228c2ecf20Sopenharmony_ci	clocks = <&cmu clk_HFPERCLKTIMER3>;
238c2ecf20Sopenharmony_ci};
24