Skip to content
Permalink
Browse files

drivers: pinmux: stm32mp1: Add missing UART4 and UART7 pinctrl defini…

…tions

Add missing UART4 and UART7 pinctrl definitions for STM32MP157 MPU.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
  • Loading branch information...
Mani-Sadhasivam authored and nashif committed Jun 12, 2019
1 parent 7808b6e commit 4d05cdfac0154a782163572fafcd3923795b1bc4
Showing with 10 additions and 0 deletions.
  1. +10 −0 drivers/pinmux/stm32/pinmux_stm32mp1x.h
@@ -12,15 +12,25 @@
*/

/* Port B */
#define STM32MP1X_PINMUX_FUNC_PB2_UART4_RX \
(STM32_PINMUX_ALT_FUNC_8 | STM32_PUPDR_PULL_DOWN)
#define STM32MP1X_PINMUX_FUNC_PB10_USART3_TX \
(STM32_PINMUX_ALT_FUNC_7 | STM32_PUSHPULL_PULLUP)
#define STM32MP1X_PINMUX_FUNC_PB12_USART3_RX \
(STM32_PINMUX_ALT_FUNC_8 | STM32_PUPDR_PULL_DOWN)

/* Port D */
#define STM32MP1X_PINMUX_FUNC_PD1_UART4_TX \
(STM32_PINMUX_ALT_FUNC_8 | STM32_PUSHPULL_PULLUP)

/* Port E */
#define STM32MP1X_PINMUX_FUNC_PE7_UART7_RX \
(STM32_PINMUX_ALT_FUNC_7 | STM32_PUPDR_PULL_DOWN)
#define STM32MP1X_PINMUX_FUNC_PE8_UART7_TX \
(STM32_PINMUX_ALT_FUNC_7 | STM32_PUSHPULL_PULLUP)
#define STM32MP1X_PINMUX_FUNC_PE9_UART7_RTS \
(STM32_PINMUX_ALT_FUNC_7 | STM32_PUSHPULL_PULLUP)
#define STM32MP1X_PINMUX_FUNC_PE10_UART7_CTS \
(STM32_PINMUX_ALT_FUNC_7 | STM32_PUSHPULL_PULLUP)

#endif /* ZEPHYR_DRIVERS_PINMUX_STM32_PINMUX_STM32MP1X_H_ */

0 comments on commit 4d05cdf

Please sign in to comment.
You can’t perform that action at this time.