summaryrefslogtreecommitdiff
path: root/board/agah/gpio.inc
diff options
context:
space:
mode:
Diffstat (limited to 'board/agah/gpio.inc')
-rw-r--r--board/agah/gpio.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/board/agah/gpio.inc b/board/agah/gpio.inc
index b708231cc4..7f38c87057 100644
--- a/board/agah/gpio.inc
+++ b/board/agah/gpio.inc
@@ -67,8 +67,13 @@ GPIO(VCCST_PWRGD_OD, PIN(A, 4), GPIO_ODR_LOW)
GPIO(EN_USB_A_LOW_POWER, PIN(9, 3), GPIO_OUT_LOW)
GPIO(PG_PP3300_S5_EC_SEQ_OD, PIN(B, 5), GPIO_OUT_LOW)
GPIO(USB_C2_FRS_EN, PIN(D, 4), GPIO_OUT_LOW)
+GPIO(NVIDIA_GPU_ACOFF_ODL, PIN(9, 5), GPIO_ODR_HIGH)
-/* Barreljack */
+/*
+ * Barrel-jack adapter enable switch. When starting up on a depleted battery,
+ * we'll be powered by either BJ or USB-C but not both. The EC will detect BJ
+ * or USBC and disable the other ports.
+ */
GPIO(EN_PPVAR_BJ_ADP_L, PIN(A, 2), GPIO_OUT_LOW)
/*
@@ -122,7 +127,6 @@ UNUSED(PIN(0, 2)) /* GPIO02 */
UNUSED(PIN(6, 6)) /* GPIO66 */
UNUSED(PIN(5, 7)) /* GPIO57/SER_IRQ/ESPI_ALERT_L */
UNUSED(PIN(8, 1)) /* GPIO81 */
-UNUSED(PIN(9, 5)) /* GPIO95 */
UNUSED(PIN(7, 3)) /* GPIO73 */
UNUSED(PIN(5, 0)) /* GPIO50 */
UNUSED(PIN(6, 0)) /* GPIO60 */