mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 10:45:22 +00:00
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>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user