drivers/pinmux: add i2c5 pinmux for stm32mp1x

The i2c5 instance are used on arduino connector of
stm32mp157c-dk2.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@linaro.org>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@linaro.org>
This commit is contained in:
Christophe Priouzeau 2019-06-25 08:52:36 +02:00 committed by Kumar Gala
commit 0e0444af02

View file

@ -11,6 +11,12 @@
* @file Header for STM32MP1X pin multiplexing helper
*/
/* Port A */
#define STM32MP1X_PINMUX_FUNC_PA11_I2C5_SCL \
(STM32_PINMUX_ALT_FUNC_4 | STM32_OPENDRAIN_PULLUP)
#define STM32MP1X_PINMUX_FUNC_PA12_I2C5_SDA \
(STM32_PINMUX_ALT_FUNC_4 | STM32_OPENDRAIN_PULLUP)
/* Port B */
#define STM32MP1X_PINMUX_FUNC_PB2_UART4_RX \
(STM32_PINMUX_ALT_FUNC_8 | STM32_PUPDR_PULL_DOWN)