summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorWisley Chen <wisley.chen@quantatw.com>2020-11-18 21:10:20 +0800
committerTim Wawrzynczak <twawrzynczak@chromium.org>2020-11-20 16:34:49 +0000
commit982f64d1b7fd17e7063608fc23dc56010c36a877 (patch)
tree93f2ac3501d88ac8d8ad22489e361851805de5d8 /src/mainboard
parente928391f74aa75fb92a701a8586c4b9050f2a964 (diff)
mb/google/volteer/var/elemi: Update gpio
1. Config EN_PP3300_SSD (GPP_B2) to gpo 2. EMMC_CLKREQ_ODL(GPP_C1) change to GPP_H11 3. WLAN_PERST_L (GPP_H10) change to GPP_H10 BUG=b:172630765, b:171467336 BRANCH=volteer TEST=emerge-volteer coreboot chromeos-bootimage and boot into emmc Change-Id: I9d112373c4ecd2cea5ce3d2d47b190c061d50da6 Signed-off-by: Wisley Chen <wisley.chen@quantatw.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47705 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/volteer/variants/elemi/gpio.c22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/mainboard/google/volteer/variants/elemi/gpio.c b/src/mainboard/google/volteer/variants/elemi/gpio.c
index 6868aca0eb..b86202b37f 100644
--- a/src/mainboard/google/volteer/variants/elemi/gpio.c
+++ b/src/mainboard/google/volteer/variants/elemi/gpio.c
@@ -26,7 +26,7 @@ static const struct pad_config override_gpio_table[] = {
PAD_CFG_NF(GPP_A23, NONE, DEEP, NF1),
/* B2 : VRALERT# ==> EN_PP3300_SSD */
- PAD_CFG_NF(GPP_B2, NONE, DEEP, NF1),
+ PAD_CFG_GPO(GPP_B2, 1, DEEP),
/* B3 : CPU_GP2 ==> PEN_DET_ODL */
PAD_CFG_GPI(GPP_B3, NONE, DEEP),
/* B4 : CPU_GP3==> EN_PP3300_EMMC */
@@ -48,8 +48,6 @@ static const struct pad_config override_gpio_table[] = {
/* C0 : SMBCLK ==> EN_PP3300_WLAN */
PAD_CFG_GPO(GPP_C0, 1, DEEP),
- /* C1 : SMBCLK ==> EMMC_CLKREQ_ODL*/
- PAD_CFG_GPO(GPP_C1, 1, DEEP),
/* C2 : SMBALERT# ==> GPP_C2_STRAP */
PAD_NC(GPP_C2, DN_20K),
/* C3 : EMMC_PE_WAKE_ODL*/
@@ -78,7 +76,6 @@ static const struct pad_config override_gpio_table[] = {
/* D6 : SRCCLKREQ1# ==> WLAN_CLKREQ_ODL */
PAD_CFG_NF(GPP_D6, NONE, DEEP, NF1),
- /* D7 : SRCCLKREQ2# ==> WWAN_CLKREQ_ODL */
/* D8 : SRCCLKREQ3# ==> SD_CLKREQ_ODL */
PAD_CFG_NF(GPP_D8, NONE, DEEP, NF1),
/* D12 : ISH_SPI_MOSI ==> PCH_GSPI2_CVF_MOSI_STRAP */
@@ -139,10 +136,10 @@ static const struct pad_config override_gpio_table[] = {
PAD_NC(GPP_H2, DN_20K),
/* H3 : SX_EXIT_HOLDOFF# ==> SD_PERST_L */
PAD_CFG_GPO(GPP_H3, 1, DEEP),
- /* H10 : SRCCLKREQ4# */
- PAD_CFG_NF(GPP_H10, NONE, DEEP, NF1),
- /* H11 : SRCCLKREQ5# ==> WLAN_PERST_L */
- PAD_CFG_GPO(GPP_H11, 1, DEEP),
+ /* H10 : SRCCLKREQ4# ==> WLAN_PERST_L*/
+ PAD_CFG_GPO(GPP_H10, 1, DEEP),
+ /* H11 : SRCCLKREQ5# ==> EMMC_CLKREQ_ODL*/
+ PAD_CFG_NF(GPP_H11, NONE, DEEP, NF1),
/* H16 : DDPB_CTRLCLK ==> DDIB_HDMI_CTRLCLK */
PAD_CFG_NF(GPP_H16, NONE, DEEP, NF1),
/* H17 : DDPB_CTRLDATA ==> DDPB_HDMI_CTRLDATA */
@@ -185,6 +182,11 @@ static const struct pad_config early_gpio_table[] = {
PAD_CFG_NF(GPP_A12, NONE, DEEP, NF1),
/* A17 : DDSP_HPDC ==> MEM_CH_SEL */
PAD_CFG_GPI(GPP_A17, NONE, DEEP),
+ /* B2 : VRALERT# ==> EN_PP3300_SSD */
+ PAD_CFG_GPO(GPP_B2, 1, DEEP),
+ /* B4 : CPU_GP3==> EN_PP3300_EMMC */
+ PAD_CFG_GPO(GPP_B4, 1, DEEP),
+
/* B11 : PMCALERT# ==> PCH_WP_OD */
PAD_CFG_GPI_GPIO_DRIVER(GPP_B11, NONE, DEEP),
@@ -207,8 +209,8 @@ static const struct pad_config early_gpio_table[] = {
/* D16 : ISH_UART0_CTS# ==> EN_PP3300_SD */
PAD_CFG_GPO(GPP_D16, 1, DEEP),
- /* H11 : SRCCLKREQ5# ==> WLAN_PERST_L */
- PAD_CFG_GPO(GPP_H11, 1, DEEP),
+ /* H10 : SRCCLKREQ5# ==> WLAN_PERST_L */
+ PAD_CFG_GPO(GPP_H10, 1, DEEP),
};
const struct pad_config *variant_override_gpio_table(size_t *num)