pinmux: stm32l4: add I2C4 pinmux on PD12/PD13

Pins PD12 and PD13 can be multiplexed as I2C4. Add the necessary
defines.

Signed-off-by: Florian Vaussard <florian.vaussard@gmail.com>
This commit is contained in:
Florian Vaussard 2018-05-17 15:46:15 +02:00 committed by Kumar Gala
parent af601c22e6
commit 70fdb7f2ef

View File

@ -105,6 +105,10 @@
(STM32_PINMUX_ALT_FUNC_7 | STM32_PUSHPULL_NOPULL)
#define STM32L4X_PINMUX_FUNC_PD9_USART3_RX \
(STM32_PINMUX_ALT_FUNC_7 | STM32_PUPDR_NO_PULL)
#define STM32L4X_PINMUX_FUNC_PD12_I2C4_SCL \
(STM32_PINMUX_ALT_FUNC_4 | STM32_OPENDRAIN_PULLUP)
#define STM32L4X_PINMUX_FUNC_PD13_I2C4_SDA \
(STM32_PINMUX_ALT_FUNC_4 | STM32_OPENDRAIN_PULLUP)
/* Port F */
#define STM32L4X_PINMUX_FUNC_PF1_I2C3_SCL \