summaryrefslogtreecommitdiff
path: root/board/nami/gpio.inc
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2018-06-20 12:58:47 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-06-21 12:18:10 -0700
commitb324b1d48dc1d684cb110199717b16677d817340 (patch)
tree1f8750819f60b26121e96d6ea04420c1aed2ef45 /board/nami/gpio.inc
parent5087723490bcad60a4e833e106170e861bd1a159 (diff)
downloadchrome-ec-b324b1d48dc1d684cb110199717b16677d817340.tar.gz
Nami: Enable USB2_ID when data role is UFP
This patch also moves USB2_ID from GPIO57 to GPIO42 because GPIO57 cannot be configured as a GPIO. Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> BUG=b:110443393,b:110385436 BRANCH=none TEST=make BOARD=nami Change-Id: I228d02df2ba5c9731a0aa17732ce8a7bfbe299e9 Reviewed-on: https://chromium-review.googlesource.com/1108564 Commit-Ready: Daisuke Nojiri <dnojiri@chromium.org> Tested-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Diffstat (limited to 'board/nami/gpio.inc')
-rw-r--r--board/nami/gpio.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/nami/gpio.inc b/board/nami/gpio.inc
index a96ea1263c..a1555238c2 100644
--- a/board/nami/gpio.inc
+++ b/board/nami/gpio.inc
@@ -35,8 +35,6 @@ GPIO_INT(USB_C0_BC12_INT_L, PIN(D, 2), GPIO_INT_FALLING, usb0_evt)
GPIO_INT(USB_C1_BC12_INT_L, PIN(D, 3), GPIO_INT_FALLING, usb1_evt)
GPIO_INT(ACCELGYRO3_INT_L, PIN(3, 6), GPIO_INT_FALLING | GPIO_SEL_1P8V, bmi160_interrupt)
GPIO_INT(TABLET_MODE_L, PIN(7, 2), GPIO_INT_BOTH, tablet_mode_isr)
-/* Used to wake up system from deep S3. */
-/* GPIO_INT(TP_INT_CONN, PIN(4, 2), GPIO_INT_BOTH, trackpad_connect) dnojiri: Revisit */
/* GPIO_INT(ALS_INT, PIN(3, 2),,) dnojiri: Revisit */
/* GPIO_INT(3AXIS_INT, PIN(9, 5),,) dnojiri: Revisit */
@@ -87,7 +85,7 @@ GPIO(USB_C1_PD_RST, PIN(0, 0), GPIO_OUT_LOW) /* C1 PD Reset */
GPIO(USB_C0_DP_HPD, PIN(9, 4), GPIO_INPUT) /* C0 DP Hotplug Detect */
GPIO(USB_C1_DP_HPD, PIN(A, 5), GPIO_INPUT) /* C1 DP Hotplug Detect */
GPIO(USB_PP3300_USB_PD, PIN(8, 4), GPIO_INPUT) /* Reserved. Currently, has no effect. */
-GPIO(USB2_OTG_ID, PIN(5, 7), GPIO_ODR_LOW) /* OTG ID */
+GPIO(USB2_ID, PIN(4, 2), GPIO_OUT_LOW) /* USB OTG ID */
/* Sensors */