Skip to content
Permalink
Browse files

boards: arm: frdm_k64f: add pinmux for SARA-R4 modem

Setup the SARA-R4 POWER and RESET pins as gpios.

Signed-off-by: Michael Scott <mike@foundries.io>
  • Loading branch information...
mike-scott authored and nashif committed May 17, 2019
1 parent 759d1d6 commit 35590c6d70a75a99b25d8a90598775da1129e1ae
Showing with 7 additions and 0 deletions.
  1. +7 −0 boards/arm/frdm_k64f/pinmux.c
@@ -87,6 +87,13 @@ static int frdm_k64f_pinmux_init(struct device *dev)
pinmux_pin_set(portc, 17, PORT_PCR_MUX(kPORT_MuxAsGpio));
#endif

#ifdef CONFIG_MODEM_UBLOX_SARA_R4
/* Modem RESET */
pinmux_pin_set(portc, 2, PORT_PCR_MUX(kPORT_MuxAsGpio));
/* Modem POWER_ON */
pinmux_pin_set(porta, 2, PORT_PCR_MUX(kPORT_MuxAsGpio));
#endif

#ifdef CONFIG_IEEE802154_MCR20A
/* FRDM-MCR20A Reset (D5) */
pinmux_pin_set(porta, 2, PORT_PCR_MUX(kPORT_MuxAsGpio));

0 comments on commit 35590c6

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