diff options
author | Jett Rink <jettrink@chromium.org> | 2020-03-05 13:11:40 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-03-06 03:04:52 +0000 |
commit | 816e70e25f5a311310e4851b329ae792a35e3872 (patch) | |
tree | 60bf59c3ae6cb405dd1e52d64bcb7752163fa355 /board/c2d2 | |
parent | c1592fff1a3b684f190e2b37f4fe5399c4497413 (diff) | |
download | chrome-ec-816e70e25f5a311310e4851b329ae792a35e3872.tar.gz |
c2d2: update AP/AUX I2C to correct alternate func
Fix copy and paste error, the I2C2 pins are alternate function 1 instead
of 2.
BRANCH=servo
BUG=b:147381671
TEST=`i2cscan 1` on C2D2 console shows i2c CLK and SDA traffic
Change-Id: I2739be429bc0924814ca6124f74132062e7bda1b
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2090083
Reviewed-by: David Schneider <dnschneid@chromium.org>
Diffstat (limited to 'board/c2d2')
-rw-r--r-- | board/c2d2/gpio.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/c2d2/gpio.inc b/board/c2d2/gpio.inc index d1b14eb82f..485a603453 100644 --- a/board/c2d2/gpio.inc +++ b/board/c2d2/gpio.inc @@ -43,7 +43,7 @@ ALTERNATE(PIN_MASK(A, GENMASK(15, 14)), 1, MODULE_UART, 0) /* USART2: PA14/PA15 ALTERNATE(PIN_MASK(B, GENMASK( 7, 6)), 2, MODULE_I2C_TIMERS, 0) ALTERNATE(PIN_MASK(B, GENMASK( 7, 6)), 1, MODULE_I2C, 0) /* I2C1: PB6/PB7 - I2C1: SCL/SDA (EC) */ -ALTERNATE(PIN_MASK(B, GENMASK(11, 10)), 2, MODULE_I2C, 0) /* I2C2: PB10/PB11 - I2C2: SCL/SDA (AP) */ +ALTERNATE(PIN_MASK(B, GENMASK(11, 10)), 1, MODULE_I2C, 0) /* I2C2: PB10/PB11 - I2C2: SCL/SDA (AP) */ ALTERNATE(PIN_MASK(B, GENMASK( 7, 6)), 0, MODULE_USART, 0) /* USART1: PB6/PB7 - Servo UART1 (EC) */ ALTERNATE(PIN_MASK(B, GENMASK(11, 10)), 4, MODULE_USART, 0) /* USART3: PB10/PB11 - Servo UART2 (AP) */ |