From: Xiubo Li
Date: Mon, 24 Mar 2014 02:22:14 +0000 (+0800)
Subject: ARM: dts: vf610: Add Freescale FTM PWM node.
X-Git-Tag: v3.16-rc1~30^2~41^2~20^2~79
X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=7c978e0fd5dde01c69fc5c594424b017232e16da;p=~emulex%2Finfiniband.git
ARM: dts: vf610: Add Freescale FTM PWM node.
This adds devicetree node for VF610, and there are 8 channels
supported.
Signed-off-by: Xiubo Li
Reviewed-by: Sascha Hauer
Reviewed-by: Yuan Yao
Signed-off-by: Shawn Guo
---
diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi
index 30286bcbe1d..73355ddc518 100644
--- a/arch/arm/boot/dts/vf610.dtsi
+++ b/arch/arm/boot/dts/vf610.dtsi
@@ -183,6 +183,19 @@
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>;