mb/google/poppy/variants/nautilus: Add internal pull-up for USB2_OC2#

Nautilus-WiFi board doesn't have external pull-up on USB2_OC2# route,then
abnormal over-current is asserted on USB type-A port.

It causes USB type-A port to be blocked, so we need this internal pull-up.

BUG=b:111578984
BRANCH=poppy
TEST=Verified over-current not triggered abnormally on basic sku board

Change-Id: I159f686cef9c8d254f390d7f1dff8011f43fc066
Signed-off-by: Seunghwan Kim <sh_.kim@samsung.com>
Reviewed-on: https://review.coreboot.org/27542
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Seunghwan Kim 2018-07-19 14:49:16 +09:00 committed by Furquan Shaikh
parent f59a052ee8
commit d391754108
1 changed files with 4 additions and 2 deletions

View File

@ -224,8 +224,6 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_NF(GPP_E9, NONE, DEEP, NF1), PAD_CFG_NF(GPP_E9, NONE, DEEP, NF1),
/* E10 : USB2_OC1# ==> USB3_C0_OC0_L */ /* E10 : USB2_OC1# ==> USB3_C0_OC0_L */
PAD_CFG_NF(GPP_E10, NONE, DEEP, NF1), PAD_CFG_NF(GPP_E10, NONE, DEEP, NF1),
/* E11 : USB2_OC2# ==> USB2_P2_FAULT# */
PAD_CFG_NF(GPP_E11, NONE, DEEP, NF1),
/* E12 : USB2_OC3# ==> NC */ /* E12 : USB2_OC3# ==> NC */
PAD_CFG_NC(GPP_E12), PAD_CFG_NC(GPP_E12),
/* E13 : DDPB_HPD0 ==> KBC3_USB_C0_DP_HPD */ /* E13 : DDPB_HPD0 ==> KBC3_USB_C0_DP_HPD */
@ -385,6 +383,8 @@ static const struct pad_config nautilus_default_sku_gpio_table[] = {
PAD_CFG_NC(GPP_D16), PAD_CFG_NC(GPP_D16),
/* D21 : SPI1_IO2 ==> NC */ /* D21 : SPI1_IO2 ==> NC */
PAD_CFG_NC(GPP_D21), PAD_CFG_NC(GPP_D21),
/* E11 : USB2_OC2# ==> USB2_P2_FAULT# */
PAD_CFG_NF(GPP_E11, 5K_PU, DEEP, NF1),
}; };
static const struct pad_config lte_sku_gpio_table[] = { static const struct pad_config lte_sku_gpio_table[] = {
@ -396,6 +396,8 @@ static const struct pad_config lte_sku_gpio_table[] = {
PAD_CFG_GPO(GPP_D16, 1, DEEP), PAD_CFG_GPO(GPP_D16, 1, DEEP),
/* D21 : SPI1_IO2 ==> LTE3_BODY_SAR */ /* D21 : SPI1_IO2 ==> LTE3_BODY_SAR */
PAD_CFG_GPO(GPP_D21, 0, DEEP), PAD_CFG_GPO(GPP_D21, 0, DEEP),
/* E11 : USB2_OC2# ==> USB2_P2_FAULT# */
PAD_CFG_NF(GPP_E11, NONE, DEEP, NF1),
}; };
const struct pad_config *variant_sku_gpio_table(size_t *num) const struct pad_config *variant_sku_gpio_table(size_t *num)