[PATCH 3/4] ARM: dts: Enables ftm pwm device for Vybrid VF610 TOWER board.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Signed-off-by: Xiubo Li <Li.Xiubo@xxxxxxxxxxxxx>
---
 arch/arm/boot/dts/vf610-twr.dts | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts
index b3905f5..6f93d8d 100644
--- a/arch/arm/boot/dts/vf610-twr.dts
+++ b/arch/arm/boot/dts/vf610-twr.dts
@@ -50,6 +50,23 @@
 	status = "okay";
 };
 
+&pwm0 {
+	pinctrl-names = "en0", "ds0", "en1", "ds1", "en2", "ds2", "en3", "ds3";
+	pinctrl-0 = <&pinctrl_pwm0_ch0_en>;
+	pinctrl-1 = <&pinctrl_pwm0_ch0_ds>;
+	pinctrl-2 = <&pinctrl_pwm0_ch1_en>;
+	pinctrl-3 = <&pinctrl_pwm0_ch1_ds>;
+	pinctrl-4 = <&pinctrl_pwm0_ch2_en>;
+	pinctrl-5 = <&pinctrl_pwm0_ch2_ds>;
+	pinctrl-6 = <&pinctrl_pwm0_ch3_en>;
+	pinctrl-7 = <&pinctrl_pwm0_ch3_ds>;
+	fsl,pwm-clk-ps = <7>;
+	fsl,pwm-cpwm = <0>;
+	fsl,pwm-number = <4>;
+	fsl,pwm-channels = <0 1 2 3>;
+	status = "okay";
+};
+
 &uart1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart1_1>;
-- 
1.8.0


--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux