Re: [PATCH 7/7] ARM: dts: stm32: Enable pwm1 and pwm3 for stm32f469-eval

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

 




On 01/20/2017 11:19 AM, Alexandre Torgue wrote:
Hi Fabrice


On 01/19/2017 02:34 PM, Fabrice Gasnier wrote:
Define and enable pwm1 and pwm3, timers1 & 3 trigger outputs on
stm32f469-eval board.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@xxxxxx>
---

Typo issue in commit header (stm32f469 --> stm32f429)
Hi Alexandre,

I'll fix this in next revision.
Tanks for reviewing.

BR,
Fabrice



 arch/arm/boot/dts/stm32429i-eval.dts | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts
index 2181220..892100f 100644
--- a/arch/arm/boot/dts/stm32429i-eval.dts
+++ b/arch/arm/boot/dts/stm32429i-eval.dts
@@ -171,3 +171,31 @@
     pinctrl-names = "default";
     status = "okay";
 };
+
+&timers1 {
+    status = "okay";
+
+    pwm {
+        pinctrl-0 = <&pwm1_pins>;
+        pinctrl-names = "default";
+        status = "okay";
+    };
+
+    timer@0 {
+        status = "okay";
+    };
+};
+
+&timers3 {
+    status = "okay";
+
+    pwm {
+        pinctrl-0 = <&pwm3_pins>;
+        pinctrl-names = "default";
+        status = "okay";
+    };
+
+    timer@2 {
+        status = "okay";
+    };
+};


--
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