summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/reef/board.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/reef/board.h b/board/reef/board.h
index d9a295bb7b..af609b3f72 100644
--- a/board/reef/board.h
+++ b/board/reef/board.h
@@ -36,6 +36,14 @@
#define CONFIG_CHARGER_NARROW_VDC
#define CONFIG_USB_CHARGER
+/* USB-A config */
+#define CONFIG_USB_PORT_POWER_SMART
+#define CONFIG_USB_PORT_POWER_SMART_SIMPLE
+#define GPIO_USB1_ENABLE GPIO_EN_USB_A_5V
+#define GPIO_USB2_ENABLE GPIO_EN_USB_A_5V
+#define GPIO_USB_ILIM_SEL GPIO_USB_A_CHARGE_EN_L
+#define GPIO_USB_CTL1 GPIO_EN_PP5000
+
/* USB PD config */
#define CONFIG_CASE_CLOSED_DEBUG_EXTERNAL
#define CONFIG_USB_PD_ALT_MODE