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