summaryrefslogtreecommitdiff
path: root/board/hatch/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/hatch/board.c')
-rw-r--r--board/hatch/board.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/hatch/board.c b/board/hatch/board.c
index 4b1f8fa883..cf3459d220 100644
--- a/board/hatch/board.c
+++ b/board/hatch/board.c
@@ -45,6 +45,11 @@
#define CPRINTS(format, args...) cprints(CC_USBCHARGE, format, ## args)
#define CPRINTF(format, args...) cprintf(CC_USBCHARGE, format, ## args)
+/* GPIO to enable/disable the USB Type-A port. */
+const int usb_port_enable[CONFIG_USB_PORT_POWER_SMART_PORT_COUNT] = {
+ GPIO_EN_USB_A_5V,
+};
+
static void ppc_interrupt(enum gpio_signal signal)
{
switch (signal) {