aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLeo Chou <leo.chou@lcfc.corp-partner.google.com>2024-05-28 17:51:48 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-05-29 12:37:59 +0000
commitb1bd442ca95bd05c40b6cd990f196514d091860f (patch)
tree55429e4352f35732c3e2cc8a95f5bed25652705c /src
parent6d21f5c845b1f4e1ee6cc2eb79a0fc70e5a14eef (diff)
mb/google/nissa/var/sundance: Add WWAN power off sequence
Sundance support FM101 WWAN, use wwan_power.asl to handle the power off sequence BUG=b:343139385 TEST=Build and boot on sundance Change-Id: I82085172db370ab5a6c0f77afe6042c53b89e43e Signed-off-by: Leo Chou <leo.chou@lcfc.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82683 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/Kconfig1
-rw-r--r--src/mainboard/google/brya/variants/sundance/include/variant/gpio.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index fcc2e63537..366d2dd5d9 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -413,6 +413,7 @@ config BOARD_GOOGLE_PUJJO
config BOARD_GOOGLE_SUNDANCE
select BOARD_GOOGLE_BASEBOARD_NISSA
select DRIVERS_GENERIC_GPIO_KEYS
+ select HAVE_WWAN_POWER_SEQUENCE
config BOARD_GOOGLE_PUJJOGA
select BOARD_GOOGLE_BASEBOARD_NISSA
diff --git a/src/mainboard/google/brya/variants/sundance/include/variant/gpio.h b/src/mainboard/google/brya/variants/sundance/include/variant/gpio.h
index c4fe342621..c96b01fc15 100644
--- a/src/mainboard/google/brya/variants/sundance/include/variant/gpio.h
+++ b/src/mainboard/google/brya/variants/sundance/include/variant/gpio.h
@@ -5,4 +5,8 @@
#include <baseboard/gpio.h>
+#define WWAN_FCPO GPP_D6
+#define WWAN_RST GPP_F12
+#define T2_OFF_MS 20
+
#endif