Back to home page

OSCL-LXR

 
 

    


0001 Freescale FlexTimer Module (FTM) Timer
0002 
0003 Required properties:
0004 
0005 - compatible : should be "fsl,ftm-timer"
0006 - reg : Specifies base physical address and size of the register sets for the
0007   clock event device and clock source device.
0008 - interrupts : Should be the clock event device interrupt.
0009 - clocks : The clocks provided by the SoC to drive the timer, must contain an
0010   entry for each entry in clock-names.
0011 - clock-names : Must include the following entries:
0012   o "ftm-evt"
0013   o "ftm-src"
0014   o "ftm-evt-counter-en"
0015   o "ftm-src-counter-en"
0016 - big-endian: One boolean property, the big endian mode will be in use if it is
0017   present, or the little endian mode will be in use for all the device registers.
0018 
0019 Example:
0020 ftm: ftm@400b8000 {
0021         compatible = "fsl,ftm-timer";
0022         reg = <0x400b8000 0x1000 0x400b9000 0x1000>;
0023         interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
0024         clock-names = "ftm-evt", "ftm-src",
0025                 "ftm-evt-counter-en", "ftm-src-counter-en";
0026         clocks = <&clks VF610_CLK_FTM2>,
0027                 <&clks VF610_CLK_FTM3>,
0028                 <&clks VF610_CLK_FTM2_EXT_FIX_EN>,
0029                 <&clks VF610_CLK_FTM3_EXT_FIX_EN>;
0030         big-endian;
0031 };