diff options
Diffstat (limited to 'src/mainboard/opencellular/rotundu/variants/supabrckv1/gpio.c')
-rw-r--r-- | src/mainboard/opencellular/rotundu/variants/supabrckv1/gpio.c | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/src/mainboard/opencellular/rotundu/variants/supabrckv1/gpio.c b/src/mainboard/opencellular/rotundu/variants/supabrckv1/gpio.c index 78d1ad6ae2..c9d54268f7 100644 --- a/src/mainboard/opencellular/rotundu/variants/supabrckv1/gpio.c +++ b/src/mainboard/opencellular/rotundu/variants/supabrckv1/gpio.c @@ -19,6 +19,9 @@ #include <soc/gpio.h> #include "../../irqroute.h" +#define GPIO_FUNC3_PULL_UP_20K GPIO_FUNC(3, PULL_UP, 20K) +#define GPIO_FUNC3_PULL_DOWN_20K GPIO_FUNC(3, PULL_DOWN, 20K) + /* NCORE GPIOs */ static const struct soc_gpio_map gpncore_gpio_map[] = { @@ -85,27 +88,27 @@ static const struct soc_gpio_map gpscore_gpio_map[] = { /* GPIO_S0_SC[014] I2S1_DATAOUT RESERVED*/ GPIO_DEFAULT, /* GPIO_S0_SC[015] I2S1_DATAIN RESERVED*/ - GPIO_NC, + GPIO_FUNC3_PULL_DOWN_20K, /* GPIO_S0_SC[016] MMC1_CLK MMC1_45_CLK */ - GPIO_NC, + GPIO_FUNC3_PULL_UP_20K, /* GPIO_S0_SC[017] MMC1_D[0] MMC1_45_D[0] */ - GPIO_NC, + GPIO_FUNC3_PULL_UP_20K, /* GPIO_S0_SC[018] MMC1_D[1] MMC1_45_D[1] */ - GPIO_NC, + GPIO_FUNC3_PULL_UP_20K, /* GPIO_S0_SC[019] MMC1_D[2] MMC1_45_D[2] */ - GPIO_NC, + GPIO_FUNC3_PULL_UP_20K, /* GPIO_S0_SC[020] MMC1_D[3] MMC1_45_D[3] */ - GPIO_NC, + GPIO_FUNC3_PULL_UP_20K, /* GPIO_S0_SC[021] MMC1_D[4] MMC1_45_D[4] */ - GPIO_NC, + GPIO_FUNC3_PULL_UP_20K, /* GPIO_S0_SC[022] MMC1_D[5] MMC1_45_D[5] */ - GPIO_NC, + GPIO_FUNC3_PULL_UP_20K, /* GPIO_S0_SC[023] MMC1_D[6] MMC1_45_D[6] */ - GPIO_NC, + GPIO_FUNC3_PULL_UP_20K, /* GPIO_S0_SC[024] MMC1_D[7] MMC1_45_D[7] */ - GPIO_NC, + GPIO_FUNC3_PULL_UP_20K, /* GPIO_S0_SC[025] MMC1_CMD MMC1_45_CMD */ - GPIO_NC, + GPIO_FUNC3_PULL_DOWN_20K, /* GPIO_S0_SC[026] MMC1_RST# SATA_DEVSLP[0] MMC1_45_RST# */ GPIO_NC, /* GPIO_S0_SC[027] SD2_CLK */ |