Browse Source

ARM: dts: stm32: Enable pwm1 and pwm3 for stm32f469-disco

Define and enable pwm1 and pwm3 for stm32f469 discovery board

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
Benjamin Gaignard 8 years ago
parent
commit
82da3bbf4d
1 changed files with 28 additions and 0 deletions
  1. 28 0
      arch/arm/boot/dts/stm32f469-disco.dts

+ 28 - 0
arch/arm/boot/dts/stm32f469-disco.dts

@@ -82,6 +82,34 @@
 	status = "okay";
 	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";
+	};
+};
+
 &usart3 {
 &usart3 {
 	pinctrl-0 = <&usart3_pins_a>;
 	pinctrl-0 = <&usart3_pins_a>;
 	pinctrl-names = "default";
 	pinctrl-names = "default";