]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: stm32: Enable pwm1 and pwm3 on stm32f429i-eval
authorFabrice Gasnier <fabrice.gasnier@st.com>
Thu, 26 Jan 2017 14:28:00 +0000 (15:28 +0100)
committerAlexandre TORGUE <alexandre.torgue@st.com>
Thu, 23 Mar 2017 17:19:14 +0000 (18:19 +0100)
Define and enable pwm1 and pwm3, timers1 & 3 trigger outputs on
on stm32f429i-eval board.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32429i-eval.dts

index 3c99466989b1c3643f5ce00fd169a5f51272053e..b6331146aa02df166cad3a7a15209b320a37f4cd 100644 (file)
        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";
+       };
+};
+
 &usart1 {
        pinctrl-0 = <&usart1_pins_a>;
        pinctrl-names = "default";