summaryrefslogtreecommitdiff
path: root/board/cheza
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2018-06-01 11:46:24 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-06-01 21:43:33 -0700
commit4a0bd0cedab55f119419b0a8c70ca05d47b4a8e2 (patch)
treeb710e4b9c06353cbe18e00edea2b6c49313ce504 /board/cheza
parent884500ad511bb42bc01e9ae2a3f19f2266bedb42 (diff)
downloadchrome-ec-4a0bd0cedab55f119419b0a8c70ca05d47b4a8e2.tar.gz
cheza: Switch USB port-0 HS to the hub
It matches the SS path, in which both port-0 and port-1 connect to the hub. BRANCH=none BUG=b:74395451 TEST=Tried plugging USB 2.0 disk to port-0 and port-1, both bootable. Change-Id: Ic0264657fbe126242a419ef33ce07bc2599375ee Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/1082981 Reviewed-by: Douglas Anderson <dianders@chromium.org>
Diffstat (limited to 'board/cheza')
-rw-r--r--board/cheza/gpio.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/cheza/gpio.inc b/board/cheza/gpio.inc
index 2ec7c241a4..a2820713a6 100644
--- a/board/cheza/gpio.inc
+++ b/board/cheza/gpio.inc
@@ -86,9 +86,9 @@ GPIO(CHG_LED_W_C1, PIN(3, 0), GPIO_OUT_LOW) /* EC_CHG_LED_W_C1 */
*
* TODO(waihong): Support auto-detection and switching.
*/
-/* By default, switch port-0 to AP and port-1 to the hub */
+/* Switch both port-0 and port-1 to the hub, which matches the SS path. */
GPIO(USB_C0_HS_MUX_OE_L, PIN(A, 4), GPIO_OUT_LOW)
-GPIO(USB_C0_HS_MUX_SEL, PIN(A, 3), GPIO_OUT_LOW) /* L:D1(AP), H:D2(hub) */
+GPIO(USB_C0_HS_MUX_SEL, PIN(A, 3), GPIO_OUT_HIGH) /* L:D1(AP), H:D2(hub) */
GPIO(USB_C1_HS_MUX_OE_L, PIN(7, 3), GPIO_OUT_LOW)
GPIO(USB_C1_HS_MUX_SEL, PIN(B, 7), GPIO_OUT_LOW) /* L:D1(hub), H:D2(AP) */