Skip to content
Permalink
Browse files

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>
  • Loading branch information...
Christophe Priouzeau authored and galak committed Jun 25, 2019
1 parent 303ff3f commit 0e0444af02983a855a19295d2efc175e7b07be64
Showing with 6 additions and 0 deletions.
  1. +6 −0 drivers/pinmux/stm32/pinmux_stm32mp1x.h
@@ -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)

0 comments on commit 0e0444a

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