]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: vf610: Add Freescale FTM PWM node.
authorXiubo Li <Li.Xiubo@freescale.com>
Mon, 24 Mar 2014 02:22:14 +0000 (10:22 +0800)
committerShawn Guo <shawn.guo@freescale.com>
Wed, 30 Apr 2014 05:35:21 +0000 (13:35 +0800)
This adds devicetree node for VF610, and there are 8 channels
supported.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Yuan Yao <yao.yuan@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/boot/dts/vf610.dtsi

index 30286bcbe1d0e52494a563d7c76e2609288f2ab6..73355ddc51861ced14a605a1f24e08834598e11c 100644 (file)
                                clock-names = "pit";
                        };
 
+                       pwm0: pwm@40038000 {
+                               compatible = "fsl,vf610-ftm-pwm";
+                               #pwm-cells = <3>;
+                               reg = <0x40038000 0x1000>;
+                               clock-names = "ftm_sys", "ftm_ext",
+                                             "ftm_fix", "ftm_cnt_clk_en";
+                               clocks = <&clks VF610_CLK_FTM0>,
+                                       <&clks VF610_CLK_FTM0_EXT_SEL>,
+                                       <&clks VF610_CLK_FTM0_FIX_SEL>,
+                                       <&clks VF610_CLK_FTM0_EXT_FIX_EN>;
+                               status = "disabled";
+                       };
+
                        adc0: adc@4003b000 {
                                compatible = "fsl,vf610-adc";
                                reg = <0x4003b000 0x1000>;