summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStanley Wu <stanley1.wu@lcfc.corp-partner.google.com>2022-07-12 15:44:44 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-07-14 12:44:38 +0000
commit97b0cf774d84c164b32784209c4f6bf5fdfc70ad (patch)
treeecdcd9a876bbccca9cfbd21807c670cad3888727 /src
parent21452e15bb58bb1539a7515576aed7210dd4e4b2 (diff)
mb/google/nissa/var/pujjo: Add WWAN power off sequence
pujjo support FM101 WWAN, use wwan_power.asl to handle the power off sequence BUG=b:238281124 TEST=Build and boot on pujjo Signed-off-by: Stanley Wu <stanley1.wu@lcfc.corp-partner.google.com> Change-Id: I53cd45c8030855c267d870d68d009c454350621e Reviewed-on: https://review.coreboot.org/c/coreboot/+/65781 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Reka Norman <rekanorman@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/Kconfig.name1
-rw-r--r--src/mainboard/google/brya/variants/pujjo/include/variant/gpio.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name
index c80be5cd65..e5091e6a4c 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -251,6 +251,7 @@ config BOARD_GOOGLE_PUJJO
select BOARD_GOOGLE_BASEBOARD_NISSA
select DRIVERS_GENERIC_GPIO_KEYS
select DRIVERS_GENESYSLOGIC_GL9750
+ select HAVE_WWAN_POWER_SEQUENCE
config BOARD_GOOGLE_XIVU
bool "-> Xivu"
diff --git a/src/mainboard/google/brya/variants/pujjo/include/variant/gpio.h b/src/mainboard/google/brya/variants/pujjo/include/variant/gpio.h
index c4fe342621..c96b01fc15 100644
--- a/src/mainboard/google/brya/variants/pujjo/include/variant/gpio.h
+++ b/src/mainboard/google/brya/variants/pujjo/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