From f2b9e5235f12773f37573cdc4f37949617f908a5 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Wed, 18 Mar 2020 09:25:26 +0100 Subject: [PATCH] drivers: pinmux: stm32: fix PB6 LPUART1 alt function on H7 LPUART1 TX alternate function number for PB6 was not correct in the pinmux settings for H7 series. Signed-off-by: Gerard Marull-Paretas --- drivers/pinmux/stm32/pinmux_stm32h7.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinmux/stm32/pinmux_stm32h7.h b/drivers/pinmux/stm32/pinmux_stm32h7.h index 9947eef66a0..1f72fbe0fef 100644 --- a/drivers/pinmux/stm32/pinmux_stm32h7.h +++ b/drivers/pinmux/stm32/pinmux_stm32h7.h @@ -53,7 +53,7 @@ #define STM32H7_PINMUX_FUNC_PB6_USART1_TX \ (STM32_PINMUX_ALT_FUNC_7 | STM32_PUSHPULL_PULLUP) #define STM32H7_PINMUX_FUNC_PB6_LPUART1_TX \ - (STM32_PINMUX_ALT_FUNC_6 | STM32_OPENDRAIN_PULLUP) + (STM32_PINMUX_ALT_FUNC_8 | STM32_OPENDRAIN_PULLUP) #define STM32H7_PINMUX_FUNC_PB7_USART1_RX \ (STM32_PINMUX_ALT_FUNC_7 | STM32_PUSHPULL_NOPULL)