summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeunghwan Kim <sh_.kim@samsung.com>2018-07-19 14:49:16 +0900
committerFurquan Shaikh <furquan@google.com>2018-07-22 04:05:34 +0000
commitd39175410848fcdd6e1b3ada3b8ce05ed2ec3a8f (patch)
tree3527f8930b152b5b1263a3ec7923e5bc46e9f419
parentf59a052ee8dae6f1378514cb622d229e652ad2f6 (diff)
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>
-rw-r--r--src/mainboard/google/poppy/variants/nautilus/gpio.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mainboard/google/poppy/variants/nautilus/gpio.c b/src/mainboard/google/poppy/variants/nautilus/gpio.c
index b49665192e..8b129d1920 100644
--- a/src/mainboard/google/poppy/variants/nautilus/gpio.c
+++ b/src/mainboard/google/poppy/variants/nautilus/gpio.c
@@ -224,8 +224,6 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_NF(GPP_E9, NONE, DEEP, NF1),
/* E10 : USB2_OC1# ==> USB3_C0_OC0_L */
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 */
PAD_CFG_NC(GPP_E12),
/* 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),
/* D21 : SPI1_IO2 ==> NC */
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[] = {
@@ -396,6 +396,8 @@ static const struct pad_config lte_sku_gpio_table[] = {
PAD_CFG_GPO(GPP_D16, 1, DEEP),
/* D21 : SPI1_IO2 ==> LTE3_BODY_SAR */
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)