Skip to content

Commit

Permalink
soc: stm32f4: add pinmux defs for usb on pb14 and pb15
Browse files Browse the repository at this point in the history
USB High Speed port on STM32F4 SoCs is pinned out from the
pin PB14 and PB15.

Signed-off-by: Jun Li <[email protected]>
  • Loading branch information
jli157 authored and walter-xie committed Jul 13, 2018
1 parent cb5a2a9 commit dd2936c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/pinmux/stm32/pinmux_stm32f4.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,15 @@

#define STM32F4_PINMUX_FUNC_PB14_SPI2_MISO \
(STM32_PINMUX_ALT_FUNC_5 | STM32_PUSHPULL_NOPULL)
#define STM32F4_PINMUX_FUNC_PB14_OTG_HS_DM \
(STM32_PINMUX_ALT_FUNC_12 | STM32_PUSHPULL_NOPULL)

#define STM32F4_PINMUX_FUNC_PB15_SPI2_MOSI \
(STM32_PINMUX_ALT_FUNC_5 | STM32_PUSHPULL_NOPULL)
#define STM32F4_PINMUX_FUNC_PB15_I2S2_SD \
(STM32_PINMUX_ALT_FUNC_5 | STM32_PUSHPULL_NOPULL)
#define STM32F4_PINMUX_FUNC_PB15_OTG_HS_DP \
(STM32_PINMUX_ALT_FUNC_12 | STM32_PUSHPULL_NOPULL)

/* Port C */
#define STM32F4_PINMUX_FUNC_PC1_ETH \
Expand Down

0 comments on commit dd2936c

Please sign in to comment.