summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRachel Nancollas <rachelsn@google.com>2017-08-23 13:55:38 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-08-25 14:21:38 -0700
commit07d646ced0da75061ca6b977806954559eafa2b8 (patch)
tree06dd58eaf4e3719ccda3b251f7d2ef9ee789e1bc
parente4997a631e129df3d171da16de9504810891744c (diff)
downloadchrome-ec-07d646ced0da75061ca6b977806954559eafa2b8.tar.gz
zoombini: fixed gpio.inc to make power enables push-pull
Made EN_PP3300_TRACKPAD, EN_PP3300_WLAN, and EN_PP3300_WWAN push-pull and added USB1_ENABLE. BUG=None TEST=Check to make sure power enables are not floating. BRANCH=None Change-Id: I5e63b61a83e4c5504cead6d7b28d087fc5538c3b Signed-off-by: Rachel Nancollas <rachelsn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/630056 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
-rw-r--r--board/zoombini/gpio.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/board/zoombini/gpio.inc b/board/zoombini/gpio.inc
index 616d01b64b..7aeeeee5d3 100644
--- a/board/zoombini/gpio.inc
+++ b/board/zoombini/gpio.inc
@@ -32,9 +32,9 @@ GPIO_INT(PMIC_INT_L, PIN(D, 5), GPIO_INT_FALLING | GPIO_PULL_UP, power_sign
/* Power Enables. */
GPIO(EN_PP3300_DSW, PIN(6, 0), GPIO_OUT_HIGH)
GPIO(EN_PP3300_EC_TCPC_DX, PIN(8, 5), GPIO_OUT_HIGH)
-GPIO(EN_PP3300_TRACKPAD, PIN(B, 7), GPIO_ODR_LOW)
-GPIO(EN_PP3300_WLAN, PIN(C, 0), GPIO_ODR_LOW)
-GPIO(EN_PP3300_WWAN, PIN(D, 7), GPIO_ODR_LOW)
+GPIO(EN_PP3300_TRACKPAD, PIN(B, 7), GPIO_OUT_LOW)
+GPIO(EN_PP3300_WLAN, PIN(C, 0), GPIO_OUT_LOW)
+GPIO(EN_PP3300_WWAN, PIN(D, 7), GPIO_OUT_LOW)
GPIO(EN_PP5000, PIN(7, 3), GPIO_OUT_LOW)
GPIO(ENTERING_RW, PIN(E, 1), GPIO_OUT_LOW)
@@ -63,6 +63,8 @@ GPIO(I2C5_SDA, PIN(3, 6), GPIO_INPUT)
GPIO(BAT_PRESENT_L, PIN(E, 5), GPIO_INPUT)
GPIO(USB_PD_RST_L, PIN(F, 1), GPIO_ODR_HIGH)
+GPIO(USB1_ENABLE, PIN(A, 0), GPIO_OUT_LOW)
+
GPIO(USB_C0_5V_EN, PIN(6, 7), GPIO_OUT_LOW)
GPIO(USB_C1_5V_EN, PIN(7, 0), GPIO_OUT_LOW)
GPIO(USB_C2_5V_EN, PIN(6, 3), GPIO_OUT_LOW)