aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/geralt/gpio.h
diff options
context:
space:
mode:
authorBo-Chen Chen <rex-bc.chen@mediatek.com>2023-01-30 18:58:01 +0800
committerPaul Fagerburg <pfagerburg@chromium.org>2023-02-01 14:59:11 +0000
commit6453cffd215666162fdee2d9cb0660b7ff68dcc7 (patch)
tree870d812cd99da18d789bf1ec1788c804c67c71b0 /src/mainboard/google/geralt/gpio.h
parent0bff4b05b8800aa1bca5ef43732bf9ead859a304 (diff)
mb/google/geralt: Add USB3 HUB reset funtion to bootblock
After powering on the device, we need to pull USB3_HUB_RST_L up to enable USB3 Hub. TEST=boot kernel from USB ok BUG=b:264841530 Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Signed-off-by: Liju-Clr Chen <liju-clr.chen@mediatek.com> Change-Id: I8df35efb78e90a5b3314840fe2eae81d6e501242 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72594 Reviewed-by: Yidi Lin <yidilin@google.com> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/geralt/gpio.h')
-rw-r--r--src/mainboard/google/geralt/gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/geralt/gpio.h b/src/mainboard/google/geralt/gpio.h
index 379377973d..7eec8f1506 100644
--- a/src/mainboard/google/geralt/gpio.h
+++ b/src/mainboard/google/geralt/gpio.h
@@ -22,6 +22,8 @@
#define GPIO_SD_CD_ODL GPIO(I2SIN_MCK)
+#define GPIO_USB3_HUB_RST_L GPIO(MSDC2_DAT0)
+
void setup_chromeos_gpios(void);
#endif