diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/gru/mainboard.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/google/gru/mainboard.c b/src/mainboard/google/gru/mainboard.c index b9d5355bf1..0b55e7faf7 100644 --- a/src/mainboard/google/gru/mainboard.c +++ b/src/mainboard/google/gru/mainboard.c @@ -29,6 +29,16 @@ #include "board.h" +/* + * Wifi's PDN/RST line is pulled down by its (unpowered) voltage rails, but + * this reset pin is pulled up by default. Let's drive it low as early as we + * can. + */ +static void deassert_wifi_power(void) +{ + gpio_output(GPIO(1, B, 3), 0); /* Assert WLAN_MODULE_RST# */ +} + static void configure_emmc(void) { /* Host controller does not support programmable clock generator. @@ -237,6 +247,7 @@ static void setup_usb(void) static void mainboard_init(device_t dev) { + deassert_wifi_power(); configure_sdmmc(); configure_emmc(); configure_codec(); |