1Freescale FlexTimer Module (FTM) PWM controller 2 3Required properties: 4- compatible: Should be "fsl,vf610-ftm-pwm". 5- reg: Physical base address and length of the controller's registers 6- #pwm-cells: Should be 3. See pwm.txt in this directory for a description of 7 the cells format. 8- clock-names: Should include the following module clock source entries: 9 "ftm_sys" (module clock, also can be used as counter clock), 10 "ftm_ext" (external counter clock), 11 "ftm_fix" (fixed counter clock), 12 "ftm_cnt_clk_en" (external and fixed counter clock enable/disable). 13- clocks: Must contain a phandle and clock specifier for each entry in 14 clock-names, please see clock/clock-bindings.txt for details of the property 15 values. 16- pinctrl-names: Must contain a "default" entry. 17- pinctrl-NNN: One property must exist for each entry in pinctrl-names. 18 See pinctrl/pinctrl-bindings.txt for details of the property values. 19 20 21Example: 22 23pwm0: pwm@40038000 { 24 compatible = "fsl,vf610-ftm-pwm"; 25 reg = <0x40038000 0x1000>; 26 #pwm-cells = <3>; 27 clock-names = "ftm_sys", "ftm_ext", 28 "ftm_fix", "ftm_cnt_clk_en"; 29 clocks = <&clks VF610_CLK_FTM0>, 30 <&clks VF610_CLK_FTM0_EXT_SEL>, 31 <&clks VF610_CLK_FTM0_FIX_SEL>, 32 <&clks VF610_CLK_FTM0_EXT_FIX_EN>; 33 pinctrl-names = "default"; 34 pinctrl-0 = <&pinctrl_pwm0_1>; 35}; 36