ARM: dts: stm32: Add missing USART3 pin config to stm32f469-disco board
authorBruno Meirelles Herrera <bruherrera@gmail.com>
Fri, 18 Nov 2016 15:10:00 +0000 (16:10 +0100)
committerAlexandre TORGUE <alexandre.torgue@st.com>
Fri, 20 Jan 2017 13:59:28 +0000 (14:59 +0100)
This patch adds USART3 pin configuration on PB10/PA11 pins
for STM32F469I-DISCO board.

Signed-off-by: Bruno Herrera <bruherrera@gmail.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32f429.dtsi
arch/arm/boot/dts/stm32f469-disco.dts

index e4dae0e..1b8b105 100644 (file)
                                };
                        };
 
+                       usart3_pins_a: usart3@0 {
+                               pins1 {
+                                       pinmux = <STM32F429_PB10_FUNC_USART3_TX>;
+                                       bias-disable;
+                                       drive-push-pull;
+                                       slew-rate = <0>;
+                               };
+                               pins2 {
+                                       pinmux = <STM32F429_PB11_FUNC_USART3_RX>;
+                                       bias-disable;
+                               };
+                       };
+
                        usbotg_hs_pins_a: usbotg_hs@0 {
                                pins {
                                        pinmux = <STM32F429_PH4_FUNC_OTG_HS_ULPI_NXT>,
index 5030dec..fda12a4 100644 (file)
@@ -79,5 +79,7 @@
 };
 
 &usart3 {
+       pinctrl-0 = <&usart3_pins_a>;
+       pinctrl-names = "default";
        status = "okay";
 };