mb/google/dedede/var/beadrix: Add LTE modem support

This change adds LTE modem for beadrix.

BUG=b:204882915
BRANCH=dedede
TEST=Build and boot beadrix, check with command modem status

Change-Id: I7acb88634478ff486810b2c3fc14d6739c3268e1
Signed-off-by: Teddy Shih <teddyshih@ami.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61328
Reviewed-by: Henry Sun <henrysun@google.com>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Teddy Shih 2022-01-24 11:32:07 +08:00 committed by Felix Held
parent 507064b835
commit eaee04b4a1
2 changed files with 19 additions and 0 deletions

View File

@ -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)

View File

@ -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