fsl,ftm-timer.txt 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. Freescale FlexTimer Module (FTM) Timer
  2. Required properties:
  3. - compatible : should be "fsl,ftm-timer"
  4. - reg : Specifies base physical address and size of the register sets for the
  5. clock event device and clock source device.
  6. - interrupts : Should be the clock event device interrupt.
  7. - clocks : The clocks provided by the SoC to drive the timer, must contain an
  8. entry for each entry in clock-names.
  9. - clock-names : Must include the following entries:
  10. o "ftm-evt"
  11. o "ftm-src"
  12. o "ftm-evt-counter-en"
  13. o "ftm-src-counter-en"
  14. - big-endian: One boolean property, the big endian mode will be in use if it is
  15. present, or the little endian mode will be in use for all the device registers.
  16. Example:
  17. ftm: ftm@400b8000 {
  18. compatible = "fsl,ftm-timer";
  19. reg = <0x400b8000 0x1000 0x400b9000 0x1000>;
  20. interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
  21. clock-names = "ftm-evt", "ftm-src",
  22. "ftm-evt-counter-en", "ftm-src-counter-en";
  23. clocks = <&clks VF610_CLK_FTM2>,
  24. <&clks VF610_CLK_FTM3>,
  25. <&clks VF610_CLK_FTM2_EXT_FIX_EN>,
  26. <&clks VF610_CLK_FTM3_EXT_FIX_EN>;
  27. big-endian;
  28. };