ARM: dts: stm32: Enable pwm1 and pwm3 for stm32f469-disco
authorBenjamin Gaignard <benjamin.gaignard@st.com>
Wed, 1 Feb 2017 10:18:13 +0000 (11:18 +0100)
committerAlexandre TORGUE <alexandre.torgue@st.com>
Wed, 1 Feb 2017 16:01:29 +0000 (17:01 +0100)
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>
arch/arm/boot/dts/stm32f469-disco.dts

index f52b9f6..0dd56ef 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";
+       };
+};
+
 &usart3 {
        pinctrl-0 = <&usart3_pins_a>;
        pinctrl-names = "default";