Attention is currently required from: Tim Wawrzynczak. Robert Chen has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/61847 )
Change subject: mb/google/brya/vell: Add 5G WWAN ACPI support for vell ......................................................................
mb/google/brya/vell: Add 5G WWAN ACPI support for vell
Add FM350GL 5G WWAN support using drivers/wwan/fm and addtional PM features from RTD3.
Change-Id: If6d3f965b8f6b6753446f55a8bd47d3b0c1ae7be Signed-off-by: Robert Chen robert.chen@quanta.corp-partner.google.com --- M src/mainboard/google/brya/variants/vell/gpio.c M src/mainboard/google/brya/variants/vell/overridetree.cb 2 files changed, 21 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/47/61847/1
diff --git a/src/mainboard/google/brya/variants/vell/gpio.c b/src/mainboard/google/brya/variants/vell/gpio.c index 6dbfb69..ac102bd 100644 --- a/src/mainboard/google/brya/variants/vell/gpio.c +++ b/src/mainboard/google/brya/variants/vell/gpio.c @@ -90,6 +90,12 @@
/* GPD11: LANPHYC ==> WWAN_CONFIG1 */ PAD_NC(GPD11, NONE), + + /* E0 : SATAXPCIE0 ==> WWAN_PERST_L + NB. Driven high here so that it is sequenced after WWAN_RST_L; a + PERST# signal would normally be reset by PLRST#, but here it will be + explicitly programmed during a power-down sequence. */ + PAD_CFG_GPO(GPP_E0, 1, DEEP), };
/* Early pad configuration in bootblock */ diff --git a/src/mainboard/google/brya/variants/vell/overridetree.cb b/src/mainboard/google/brya/variants/vell/overridetree.cb index 4daf446..55779ce 100644 --- a/src/mainboard/google/brya/variants/vell/overridetree.cb +++ b/src/mainboard/google/brya/variants/vell/overridetree.cb @@ -14,7 +14,7 @@ end field DB_LTE 6 7 option LTE_ABSENT 0 - option LTE_USB 1 + option LTE_PCIE 1 end field EPS 10 10 option PRIVACY_SCREEN_ABSENT 0 @@ -154,6 +154,20 @@ device generic 0 on end end end + device ref pcie_rp6 on + probe DB_LTE LTE_PCIE + chip drivers/wwan/fm + register "fcpo_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_F21)" + register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E16)" + register "perst_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E0)" + register "wake_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A7)" + use rp6_rtd3 as rtd3dev + device generic 0 on + probe DB_LTE LTE_PCIE + end + end + end + device ref pcie_rp8 off end device ref pcie_rp9 off end device ref tcss_dma0 on