summaryrefslogtreecommitdiff
path: root/board/brya/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/brya/board.c')
-rw-r--r--board/brya/board.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/board/brya/board.c b/board/brya/board.c
index b27eb0ce8c..f1f905fe39 100644
--- a/board/brya/board.c
+++ b/board/brya/board.c
@@ -11,6 +11,16 @@
#include "gpio_list.h" /* Must come after other header files. */
+/******************************************************************************/
+/* USB-A charging control */
+
+const int usb_port_enable[USB_PORT_COUNT] = {
+ GPIO_EN_PP5000_USBA_R,
+};
+BUILD_ASSERT(ARRAY_SIZE(usb_port_enable) == USB_PORT_COUNT);
+
+/******************************************************************************/
+
/*
* remove when we enable CONFIG_POWER_BUTTON
*/