summaryrefslogtreecommitdiff
path: root/src/mainboard/google/cheza/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/cheza/mainboard.c')
-rw-r--r--src/mainboard/google/cheza/mainboard.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/google/cheza/mainboard.c b/src/mainboard/google/cheza/mainboard.c
index cb4f5d061a..42adf56c79 100644
--- a/src/mainboard/google/cheza/mainboard.c
+++ b/src/mainboard/google/cheza/mainboard.c
@@ -16,9 +16,23 @@
#include <device/device.h>
#include <bootblock_common.h>
#include <gpio.h>
+#include <timestamp.h>
+#include <soc/usb.h>
+
+static struct usb_board_data usb1_board_data = {
+ .pll_bias_control_2 = 0x28,
+ .imp_ctrl1 = 0x08,
+ .port_tune1 = 0x20,
+};
static void setup_usb(void)
{
+ /*
+ * Primary USB is used only for DP functionality on cheza platform.
+ * Hence Setting up only Secondary USB DWC3 controller.
+ */
+ setup_usb_host1(&usb1_board_data);
+
gpio_output(GPIO(120), 1); /* Deassert HUB_RST_L to enable hub. */
}