Skip to contentSkip to conversation

ARM: dts: stm32f429: Add missing USART3 pin config to STM32F469I-DISCO board

PATCH RESEND In review Bruno Meirelles Herrera 2 participants 2 messages Nov 18, 2016 – Jan 6, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 ARM: dts: stm32f429: Add missing USART3 pin config to STM32F469I-DISCO board

Including new STM32 maintainer. Rebased at stm32-dt-for-v4.10-1 and stm32-dt-for-v4.10-2 branches. It fix the port/pin initialization in case boot-loader does not configure/initialize the pins. Fixing line wrapping from last patch

This patch adds USART3 pin configuration on PB10/PA11 pins for STM32F469I-DISCO board.

---
 arch/arm/boot/dts/stm32f429.dtsi      | 13 +++++++++++++
 arch/arm/boot/dts/stm32f469-disco.dts |  2 ++
 2 files changed, 15 insertions(+)
arch/arm/boot/dts/stm32f429.dtsi +13 -0
index e4dae0e..1b8b105 100644
@@ -316,6 +316,19 @@
 				};
 			};
 
+			usart3_pins_a: usart3 at 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 at 0 {
 				pins {
 					pinmux = <STM32F429_PH4_FUNC_OTG_HS_ULPI_NXT>,
arch/arm/boot/dts/stm32f469-disco.dts +2 -0
index 8877c00..75f4303 100644
@@ -79,5 +79,7 @@
 };
 
 &usart3 {
+	pinctrl-0 = <&usart3_pins_a>;
+	pinctrl-names = "default";
 	status = "okay";
 };
Signature · 1 line
2.9.3 (Apple Git-75)
#1 lore raw

Hi Bruno,

Quoted 44 lines · Bruno Meirelles Herrera

Including new STM32 maintainer. Rebased at stm32-dt-for-v4.10-1 and stm32-dt-for-v4.10-2 branches. It fix the port/pin initialization in case boot-loader does not configure/initialize the pins. Fixing line wrapping from last patch

This patch adds USART3 pin configuration on PB10/PA11 pins for STM32F469I-DISCO board.

---
 arch/arm/boot/dts/stm32f429.dtsi      | 13 +++++++++++++
 arch/arm/boot/dts/stm32f469-disco.dts |  2 ++
 2 files changed, 15 insertions(+)
arch/arm/boot/dts/stm32f429.dtsi +13 -0
index e4dae0e..1b8b105 100644
@@ -316,6 +316,19 @@
 				};
 			};
 
+			usart3_pins_a: usart3 at 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 at 0 {
 				pins {
 					pinmux = <STM32F429_PH4_FUNC_OTG_HS_ULPI_NXT>,
arch/arm/boot/dts/stm32f469-disco.dts +0 -0
index 8877c00..75f4303 100644

arch/arm/boot/dts/stm32f469-disco.dts line 85

Quoted 7 lines
arch/arm/boot/dts/stm32f469-disco.dts +2 -0
@@ -79,5 +79,7 @@
 };
 
 &usart3 {
+	pinctrl-0 = <&usart3_pins_a>;
+	pinctrl-names = "default";
 	status = "okay";
 };

After a little cosmetic change in commit header:

Applied on stm32-dt-for-v4.11-1

Thanks!
Alex