diff options
author | Nick Sanders <nsanders@chromium.org> | 2016-09-01 19:13:26 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-09-02 15:12:10 -0700 |
commit | c3aec01fb66f3f85a08ef697ffd8963eaca52471 (patch) | |
tree | 8504adef34239576eaf202fe04f772f874450f08 /board/sweetberry | |
parent | d19eb52cd1a02f11b010e9588159a6ac5fa4f261 (diff) | |
download | chrome-ec-c3aec01fb66f3f85a08ef697ffd8963eaca52471.tar.gz |
sweetberry: remove superfluous gpios
Sweetberry specifies UART pins as GPIOs, however
this is not necessary for uart use. Let's remove these.
UART4 is also dup'd with sweetberry's signal gpios, which
is fixed with this CL.
BUG=chromium:608039
TEST=boots
BRANCH=None
Change-Id: I81ee2351c0191ff5ec3d5fad37fe10866bf1ad32
Signed-off-by: Nick Sanders <nsanders@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/380439
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'board/sweetberry')
-rw-r--r-- | board/sweetberry/gpio.inc | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/board/sweetberry/gpio.inc b/board/sweetberry/gpio.inc index b559d8b875..cfab7fc1f3 100644 --- a/board/sweetberry/gpio.inc +++ b/board/sweetberry/gpio.inc @@ -41,12 +41,15 @@ GPIO(I2C3_SDA, PIN(B, 4), GPIO_INPUT) GPIO(FMPI2C_SCL, PIN(C, 6), GPIO_INPUT) GPIO(FMPI2C_SDA, PIN(C, 7), GPIO_INPUT) -/* USART3 TX/RX */ -GPIO(MCU_UART3_TX, PIN(C, 10), GPIO_INPUT) -GPIO(MCU_UART3_RX, PIN(C, 11), GPIO_INPUT) -/* USART4 TX/RX */ -GPIO(MCU_UART4_TX, PIN(A, 0), GPIO_INPUT) -GPIO(MCU_UART4_RX, PIN(A, 1), GPIO_INPUT) +/* These pin assignments aren't used as GPIO. Let's note them here + * for readability but not initialize them. + * USART3 TX/RX + * GPIO(MCU_UART3_TX, PIN(C, 10), GPIO_INPUT) + * GPIO(MCU_UART3_RX, PIN(C, 11), GPIO_INPUT) + * USART4 TX/RX + * GPIO(MCU_UART4_TX, PIN(A, 0), GPIO_INPUT) + * GPIO(MCU_UART4_RX, PIN(A, 1), GPIO_INPUT) + */ /* USB pins */ GPIO(USB_FS_DM, PIN(A, 11), GPIO_INPUT) |