summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLeo Chou <leo.chou@lcfc.corp-partner.google.com>2024-06-11 16:50:54 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-06-12 11:03:43 +0000
commit1d74c0d5f34d3489f57012625c08eb7d16f09ad3 (patch)
tree9c4b8e70060e109873c1a6738d00c6aea82bdbf6 /src
parent123a44e252546545ead69d1115f713de49528934 (diff)
mb/google/nissa/var/pujjoga: Add WWAN power off sequence
Pujjoga support EM060 WWAN, use wwan_power.asl to handle the power off sequence. BUG=b:346479638 TEST=Build and boot on pujjoga Change-Id: I1273d09385c661835d741691b3c4af26e72a9f86 Signed-off-by: Leo Chou <leo.chou@lcfc.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83042 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/Kconfig1
-rw-r--r--src/mainboard/google/brya/variants/pujjoga/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 f72e90b8dc..db2ed796e7 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -423,6 +423,7 @@ config BOARD_GOOGLE_PUJJOGA
select CHROMEOS_WIFI_SAR if CHROMEOS
select DRIVERS_I2C_SX9324
select DRIVERS_I2C_SX9324_SUPPORT_LEGACY_LINUX_DRIVER
+ select HAVE_WWAN_POWER_SEQUENCE
config BOARD_GOOGLE_QUANDISO
select BOARD_GOOGLE_BASEBOARD_NISSA
diff --git a/src/mainboard/google/brya/variants/pujjoga/include/variant/gpio.h b/src/mainboard/google/brya/variants/pujjoga/include/variant/gpio.h
index c4fe342621..c96b01fc15 100644
--- a/src/mainboard/google/brya/variants/pujjoga/include/variant/gpio.h
+++ b/src/mainboard/google/brya/variants/pujjoga/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