18c2ecf20Sopenharmony_ciFreescale FlexTimer Module (FTM) Timer
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci- compatible : should be "fsl,ftm-timer"
68c2ecf20Sopenharmony_ci- reg : Specifies base physical address and size of the register sets for the
78c2ecf20Sopenharmony_ci  clock event device and clock source device.
88c2ecf20Sopenharmony_ci- interrupts : Should be the clock event device interrupt.
98c2ecf20Sopenharmony_ci- clocks : The clocks provided by the SoC to drive the timer, must contain an
108c2ecf20Sopenharmony_ci  entry for each entry in clock-names.
118c2ecf20Sopenharmony_ci- clock-names : Must include the following entries:
128c2ecf20Sopenharmony_ci  o "ftm-evt"
138c2ecf20Sopenharmony_ci  o "ftm-src"
148c2ecf20Sopenharmony_ci  o "ftm-evt-counter-en"
158c2ecf20Sopenharmony_ci  o "ftm-src-counter-en"
168c2ecf20Sopenharmony_ci- big-endian: One boolean property, the big endian mode will be in use if it is
178c2ecf20Sopenharmony_ci  present, or the little endian mode will be in use for all the device registers.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciExample:
208c2ecf20Sopenharmony_ciftm: ftm@400b8000 {
218c2ecf20Sopenharmony_ci	compatible = "fsl,ftm-timer";
228c2ecf20Sopenharmony_ci	reg = <0x400b8000 0x1000 0x400b9000 0x1000>;
238c2ecf20Sopenharmony_ci	interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
248c2ecf20Sopenharmony_ci	clock-names = "ftm-evt", "ftm-src",
258c2ecf20Sopenharmony_ci		"ftm-evt-counter-en", "ftm-src-counter-en";
268c2ecf20Sopenharmony_ci	clocks = <&clks VF610_CLK_FTM2>,
278c2ecf20Sopenharmony_ci		<&clks VF610_CLK_FTM3>,
288c2ecf20Sopenharmony_ci		<&clks VF610_CLK_FTM2_EXT_FIX_EN>,
298c2ecf20Sopenharmony_ci		<&clks VF610_CLK_FTM3_EXT_FIX_EN>;
308c2ecf20Sopenharmony_ci	big-endian;
318c2ecf20Sopenharmony_ci};
32