From b0947172c889623a26d849e7d732990f122f9805 Mon Sep 17 00:00:00 2001 From: Reka Norman Date: Mon, 7 Feb 2022 20:22:08 +1100 Subject: mb/google/brya/var/nivviks: Implement WWAN power sequencing Nissa is using the FM101, which has the following power sequencing requirements: Power on: assert WWAN_EN, delay 20 ms, deassert WWAN_RST_L Power off: assert WWAN_RST_L, delay 20 ms, deassert WWAN_EN Add a power resource to the USB device, and use wwan_power.asl to handle the power off sequence. BUG=b:217092522 TEST=abuild -a -x -c max -p none -t google/brya -b nivviks Signed-off-by: Reka Norman Change-Id: Ibe1b863a550c6af1ac3eb98f2aaa3db15b149ada Reviewed-on: https://review.coreboot.org/c/coreboot/+/61694 Tested-by: build bot (Jenkins) Reviewed-by: Kangheui Won --- src/mainboard/google/brya/variants/nivviks/include/variant/gpio.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainboard/google/brya/variants/nivviks/include') diff --git a/src/mainboard/google/brya/variants/nivviks/include/variant/gpio.h b/src/mainboard/google/brya/variants/nivviks/include/variant/gpio.h index c4fe342621..c96b01fc15 100644 --- a/src/mainboard/google/brya/variants/nivviks/include/variant/gpio.h +++ b/src/mainboard/google/brya/variants/nivviks/include/variant/gpio.h @@ -5,4 +5,8 @@ #include +#define WWAN_FCPO GPP_D6 +#define WWAN_RST GPP_F12 +#define T2_OFF_MS 20 + #endif -- cgit v1.2.3