summaryrefslogtreecommitdiff
path: root/board/meep
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@chromium.org>2018-11-27 11:14:33 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-12-05 01:13:29 -0800
commitb91e34ca6bc7f3c5dae282eec5c2845ff5ec5b52 (patch)
tree89cb1aa0d58eb67f6702f0ff5abc6b850116a0a1 /board/meep
parent1caaa593b1abee713a6d5b30ac3c20a6713ddf76 (diff)
downloadchrome-ec-b91e34ca6bc7f3c5dae282eec5c2845ff5ec5b52.tar.gz
gpio: Add configuration for EC_PCH_RTCRST GPIO in octopus boards
This will help with using the hardware support to reset the RTC on the SoC. BUG=b:119678692 BRANCH=octopus TEST=make -j buildall && Boot to ChromeOS. Create a forced scenario to trigger an RTC reset and ensure that EC does not get reset while the SoC boots to ChromeOS. Execute warm reboot from AP, cold reboot from EC and wake from ec hibernate (10 iterations each) and suspend_stress_test for 50 iterations successfully. Change-Id: Ib79012b43e397d4c27ca829b135115bebf77dedb Signed-off-by: Karthikeyan Ramasubramanian <kramasub@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1354493 Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board/meep')
-rw-r--r--board/meep/gpio.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/meep/gpio.inc b/board/meep/gpio.inc
index a642f47fc4..a24f26a5cd 100644
--- a/board/meep/gpio.inc
+++ b/board/meep/gpio.inc
@@ -56,6 +56,7 @@ GPIO(PCH_SLP_S0_L, PIN(A, 4), GPIO_INPUT) /* SLP_S0_L */
*/
GPIO(PLT_RST_L, PIN(C, 7), GPIO_INPUT) /* Platform Reset from SoC */
GPIO(SYS_RESET_L, PIN(3, 4), GPIO_ODR_HIGH) /* SYS_RST_ODL */
+GPIO(PCH_RTCRST, PIN(7, 6), GPIO_OUT_LOW) /* EC_PCH_RTCRST */
GPIO(ENTERING_RW, PIN(E, 1), GPIO_OUT_LOW) /* EC_ENTERING_RW */
GPIO(PCH_WAKE_L, PIN(7, 4), GPIO_ODR_HIGH) /* EC_PCH_WAKE_ODL */
@@ -68,7 +69,6 @@ GPIO(PP3300_PG, PIN(6, 0), GPIO_INPUT) /* PP3300_PG_OD */
GPIO(PMIC_EN, PIN(7, 2), GPIO_OUT_LOW) /* Enable A Rails via PMIC */
GPIO(PCH_RSMRST_L, PIN(C, 2), GPIO_OUT_LOW) /* RSMRST# to SOC. All _A rails now up. */
GPIO(PCH_SYS_PWROK, PIN(B, 7), GPIO_OUT_LOW) /* EC_PCH_PWROK. All S0 rails now up. */
-GPIO(PCH_RTCRST, PIN(7, 6), GPIO_INPUT) /* EC_PCH_RTCRST */
/* Peripheral rails */
GPIO(ENABLE_BACKLIGHT, PIN(D, 3), GPIO_ODR_HIGH |