summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/chell/board.c2
-rw-r--r--board/chell/gpio.inc2
-rw-r--r--board/glados/board.c2
-rw-r--r--board/glados/gpio.inc2
4 files changed, 6 insertions, 2 deletions
diff --git a/board/chell/board.c b/board/chell/board.c
index 1ebdc179a9..d16759d113 100644
--- a/board/chell/board.c
+++ b/board/chell/board.c
@@ -331,6 +331,8 @@ uint32_t board_get_gpio_hibernate_state(uint32_t port, uint32_t pin)
GPIO_TO_PORT_MASK_PAIR(GPIO_USB_PD_WAKE),
/* The GPIO to reset PMIC is active high */
GPIO_TO_PORT_MASK_PAIR(GPIO_PMIC_LDO_EN),
+ /* The GPIO to control RTCRST is active high. */
+ GPIO_TO_PORT_MASK_PAIR(GPIO_PCH_RTCRST),
};
/* LED GPIOs should be driven low to turn off LEDs */
diff --git a/board/chell/gpio.inc b/board/chell/gpio.inc
index d63e026265..469cb1d4a6 100644
--- a/board/chell/gpio.inc
+++ b/board/chell/gpio.inc
@@ -54,7 +54,7 @@ GPIO(PCH_WAKE_L, PIN(66), GPIO_ODR_HIGH)
GPIO(PCH_ACOK, PIN(110), GPIO_OUT_LOW)
GPIO(PCH_RCIN_L, PIN(135), GPIO_ODR_HIGH)
GPIO(PCH_RSMRST_L, PIN(143), GPIO_OUT_LOW)
-GPIO(PCH_RTCRST, PIN(163), GPIO_INPUT | GPIO_PULL_UP)
+GPIO(PCH_RTCRST, PIN(163), GPIO_OUT_LOW)
GPIO(SYS_RESET_L, PIN(121), GPIO_ODR_HIGH)
GPIO(ENTERING_RW, PIN(41), GPIO_OUT_LOW)
diff --git a/board/glados/board.c b/board/glados/board.c
index a71441bde5..0ea36b3e1e 100644
--- a/board/glados/board.c
+++ b/board/glados/board.c
@@ -432,6 +432,8 @@ uint32_t board_get_gpio_hibernate_state(uint32_t port, uint32_t pin)
* event once we leave hibernate.
*/
GPIO_TO_PORT_MASK_PAIR(GPIO_USB_PD_WAKE),
+ /* The GPIO to control RTCRST is active high. */
+ GPIO_TO_PORT_MASK_PAIR(GPIO_PCH_RTCRST),
};
/* LED GPIOs should be driven low to turn off LEDs */
diff --git a/board/glados/gpio.inc b/board/glados/gpio.inc
index 6427284afa..8bbc8d2801 100644
--- a/board/glados/gpio.inc
+++ b/board/glados/gpio.inc
@@ -111,7 +111,7 @@ GPIO(BATLOW_L_PMIC_LDO_EN, PIN(55), GPIO_INPUT)
GPIO(ACCEL4_INT, PIN(157), GPIO_INPUT)
GPIO(PP1800_DX_AUDIO_EN, PIN(141), GPIO_OUT_LOW)
/* NC / stuffing option */
-GPIO(PCH_RTCRST, PIN(163), GPIO_INPUT | GPIO_PULL_UP)
+GPIO(PCH_RTCRST, PIN(163), GPIO_OUT_LOW)
GPIO(PMIC_SLP_SUS_L, PIN(201), GPIO_OUT_LOW)
GPIO(USB_C1_CHARGE_EN_L, PIN(210), GPIO_OUT_LOW)