From 8ccccbb7f6092146032b5ecc089848ff4a35ef5f Mon Sep 17 00:00:00 2001 From: Richard Osterloh Date: Fri, 7 Feb 2020 15:00:33 +0000 Subject: [PATCH] drivers: pinmux: Add SPI1 NSS config on PA15 Add alternative function 5 configuration for PA15 on STM32F4 devices. Signed-off-by: Richard Osterloh --- drivers/pinmux/stm32/pinmux_stm32f4.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pinmux/stm32/pinmux_stm32f4.h b/drivers/pinmux/stm32/pinmux_stm32f4.h index b58b6d6179e..a1f1525a418 100644 --- a/drivers/pinmux/stm32/pinmux_stm32f4.h +++ b/drivers/pinmux/stm32/pinmux_stm32f4.h @@ -129,6 +129,8 @@ #define STM32F4_PINMUX_FUNC_PA12_OTG_FS_DP \ (STM32_PINMUX_ALT_FUNC_10 | STM32_PUSHPULL_NOPULL) +#define STM32F4_PINMUX_FUNC_PA15_SPI1_NSS \ + (STM32_PINMUX_ALT_FUNC_5 | STM32_PUSHPULL_PULLUP) #define STM32F4_PINMUX_FUNC_PA15_USART1_TX \ (STM32_PINMUX_ALT_FUNC_7 | STM32_PUSHPULL_PULLUP) #define STM32F4_PINMUX_FUNC_PA15_UART7_TX \