diff options
-rw-r--r-- | src/mainboard/google/dedede/variants/beadrix/gpio.c | 9 | ||||
-rw-r--r-- | src/mainboard/google/dedede/variants/beadrix/overridetree.cb | 10 |
2 files changed, 19 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/beadrix/gpio.c b/src/mainboard/google/dedede/variants/beadrix/gpio.c index 602864959c..0732355657 100644 --- a/src/mainboard/google/dedede/variants/beadrix/gpio.c +++ b/src/mainboard/google/dedede/variants/beadrix/gpio.c @@ -5,9 +5,14 @@ /* Pad configuration in ramstage */ static const struct pad_config gpio_table[] = { + /* A10 : WWAN_EN */ + PAD_CFG_GPO(GPP_A10, 1, PWROK), /* A11 : TOUCH_RPT_EN ==> NC */ PAD_NC(GPP_A11, NONE), + /* B7 : PCIE_CLKREQ2_N ==> WWAN_SAR_DETECT_ODL */ + PAD_CFG_GPO(GPP_B7, 1, DEEP), + /* C18 : AP_I2C_EMR_SDA ==> NC */ PAD_NC(GPP_C18, NONE), /* C19 : AP_I2C_EMR_SCL ==> NC */ @@ -15,6 +20,8 @@ static const struct pad_config gpio_table[] = { /* C22 : UART2_RTS_N ==> NC */ PAD_NC(GPP_C22, NONE), + /* D0 : WWAN_HOST_WAKE ==> WWAN_WDISABLE_L */ + PAD_CFG_GPO(GPP_D0, 1, DEEP), /* D12 : WCAM_RST_L ==> NC */ PAD_NC(GPP_D12, NONE), /* D13 : EN_PP2800_CAMERA ==> NC */ @@ -58,6 +65,8 @@ static const struct pad_config gpio_table[] = { /* H1 : EN_PP3300_SD_U ==> NC */ PAD_NC(GPP_H1, NONE), + /* H17 : WWAN_RST_L */ + PAD_CFG_GPO(GPP_H17, 0, PLTRST), }; const struct pad_config *variant_override_gpio_table(size_t *num) diff --git a/src/mainboard/google/dedede/variants/beadrix/overridetree.cb b/src/mainboard/google/dedede/variants/beadrix/overridetree.cb index 97e7743908..9c6d931f22 100644 --- a/src/mainboard/google/dedede/variants/beadrix/overridetree.cb +++ b/src/mainboard/google/dedede/variants/beadrix/overridetree.cb @@ -49,6 +49,16 @@ chip soc/intel/jasperlake register "type" = "UPC_TYPE_INTERNAL" device usb 2.5 on end end + chip drivers/usb/acpi + register "desc" = ""LTE"" + register "type" = "UPC_TYPE_INTERNAL" + register "has_power_resource" = "1" + register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H17)" + register "reset_off_delay_ms" = "20" + register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A10)" + register "enable_delay_ms" = "20" + device usb 3.3 on end + end end end end # USB xHCI |