diff options
author | Vic Yang <victoryang@google.com> | 2015-01-20 16:10:49 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-01-23 00:28:40 +0000 |
commit | f39dc502130ce1e5ae2b9589425c135781defba1 (patch) | |
tree | da89f6cf026c4283afe77dc72682168d6054da33 | |
parent | d71d217ce9d90b425fa4373baa5cd83f8a519720 (diff) | |
download | chrome-ec-f39dc502130ce1e5ae2b9589425c135781defba1.tar.gz |
glower: Set internal VCC_PWRGD to high
The VCC_PWRGD pin is used as an indication of VCC2 state and controls
the internal VCC_PWRGD signal. On Glower, the pin is floating so we
can't use it as is. Instead, configure the pin as a GPIO so that the
internal VCC_PWRGD is gated high.
Without this, nSIO_RESET would be kept asserted and most LPC-related
peripheral won't work.
BRANCH=None
BUG=chrome-os-partner:35308
TEST=Without this, the interrupt status of LRESET# cannot be cleared.
After applying this patch, LRESET# interrupt can be cleared properly.
Change-Id: I6e250b8dff5d38e61ee84500da8236db35395a81
Signed-off-by: Vic Yang <victoryang@google.com>
Reviewed-on: https://chromium-review.googlesource.com/242130
Tested-by: Vic Yang <victoryang@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Commit-Queue: Vic Yang <victoryang@chromium.org>
-rw-r--r-- | board/glower/gpio.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/glower/gpio.inc b/board/glower/gpio.inc index bdd613930b..b46c815de0 100644 --- a/board/glower/gpio.inc +++ b/board/glower/gpio.inc @@ -71,6 +71,9 @@ GPIO(EC_HIB, PORT(3), 4, GPIO_INPUT, NULL) GPIO(ICMNT, PORT(6), 1, GPIO_INPUT, NULL) GPIO(PVT_CS0, PORT(14), 6, GPIO_ODR_HIGH, NULL) +/* Configure VCC_PWRGD as GPIO so that it's internally gated high */ +GPIO(TP78, PORT(6), 3, GPIO_OUT_HIGH, NULL) + ALTERNATE(PORT(16), 0x24, 1, MODULE_UART, 0) /* UART0 */ ALTERNATE(PORT(2), 0x0f, 2, MODULE_I2C, 0) /* I2C1 and I2C2 */ |