ARM: dts: stm32: add an extra pin map for USART1 on stm32h743
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Sun, 27 Apr 2025 07:43:26 +0000 (09:43 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 11 Jun 2025 18:00:19 +0000 (12:00 -0600)
Add an additional pin map configuration for using the USART1 controller
on the stm32h743 MCU.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Link: https://lore.kernel.org/r/20250427074404.3278732-8-dario.binacchi@amarulasolutions.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
[ upstream commit: 8e71dfe46a4a1e9505b1a327470f879b63388968 ]

(cherry picked from commit 9d5ec2c9c5d5131e701447c5c32aaf6c688c6e01)

dts/upstream/src/arm/st/stm32h7-pinctrl.dtsi

index 96022af..8a6db48 100644 (file)
                };
        };
 
+       usart1_pins_b: usart1-1 {
+               pins1 {
+                       pinmux = <STM32_PINMUX('A', 9, AF7)>; /* USART1_TX */
+                       bias-disable;
+                       drive-push-pull;
+                       slew-rate = <0>;
+               };
+               pins2 {
+                       pinmux = <STM32_PINMUX('A', 10, AF7)>; /* USART1_RX */
+                       bias-disable;
+               };
+       };
+
        usart2_pins_a: usart2-0 {
                pins1 {
                        pinmux = <STM32_PINMUX('D', 5, AF7)>; /* USART2_TX */