112e499d0SXiubo LiFreescale FlexTimer Module (FTM) Timer
212e499d0SXiubo Li
312e499d0SXiubo LiRequired properties:
412e499d0SXiubo Li
512e499d0SXiubo Li- compatible : should be "fsl,ftm-timer"
612e499d0SXiubo Li- reg : Specifies base physical address and size of the register sets for the
712e499d0SXiubo Li  clock event device and clock source device.
812e499d0SXiubo Li- interrupts : Should be the clock event device interrupt.
912e499d0SXiubo Li- clocks : The clocks provided by the SoC to drive the timer, must contain an
1012e499d0SXiubo Li  entry for each entry in clock-names.
1112e499d0SXiubo Li- clock-names : Must include the following entries:
1212e499d0SXiubo Li  o "ftm-evt"
1312e499d0SXiubo Li  o "ftm-src"
1412e499d0SXiubo Li  o "ftm-evt-counter-en"
1512e499d0SXiubo Li  o "ftm-src-counter-en"
1612e499d0SXiubo Li- big-endian: One boolean property, the big endian mode will be in use if it is
1712e499d0SXiubo Li  present, or the little endian mode will be in use for all the device registers.
1812e499d0SXiubo Li
1912e499d0SXiubo LiExample:
2012e499d0SXiubo Liftm: ftm@400b8000 {
2112e499d0SXiubo Li	compatible = "fsl,ftm-timer";
2212e499d0SXiubo Li	reg = <0x400b8000 0x1000 0x400b9000 0x1000>;
2312e499d0SXiubo Li	interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
2412e499d0SXiubo Li	clock-names = "ftm-evt", "ftm-src",
2512e499d0SXiubo Li		"ftm-evt-counter-en", "ftm-src-counter-en";
2612e499d0SXiubo Li	clocks = <&clks VF610_CLK_FTM2>,
2712e499d0SXiubo Li		<&clks VF610_CLK_FTM3>,
2812e499d0SXiubo Li		<&clks VF610_CLK_FTM2_EXT_FIX_EN>,
2912e499d0SXiubo Li		<&clks VF610_CLK_FTM3_EXT_FIX_EN>;
3012e499d0SXiubo Li	big-endian;
3112e499d0SXiubo Li};
32