summaryrefslogtreecommitdiff
path: root/src/mainboard/google/gru/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/gru/mainboard.c')
-rw-r--r--src/mainboard/google/gru/mainboard.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/gru/mainboard.c b/src/mainboard/google/gru/mainboard.c
index bbe0224693..e6baebe13b 100644
--- a/src/mainboard/google/gru/mainboard.c
+++ b/src/mainboard/google/gru/mainboard.c
@@ -24,6 +24,7 @@
#include <soc/emmc.h>
#include <soc/grf.h>
#include <soc/i2c.h>
+#include <soc/usb.h>
#include "board.h"
@@ -118,12 +119,19 @@ static void configure_display(void)
gpio_output(GPIO(4, D, 3), 1); /* CPU3_EDP_VDDEN for P3.3V_DISP */
}
+static void setup_usb(void)
+{
+ setup_usb_drd0_dwc3();
+ setup_usb_drd1_dwc3();
+}
+
static void mainboard_init(device_t dev)
{
configure_sdmmc();
configure_emmc();
configure_codec();
configure_display();
+ setup_usb();
}
static void enable_backlight_booster(void)