platform: apq8084: Configure GPIOs for UART
Change-Id: I5599b179d53113c6b34aacab531fe241e6a6ab45
diff --git a/platform/apq8084/gpio.c b/platform/apq8084/gpio.c
index 32c55f4..a976518 100644
--- a/platform/apq8084/gpio.c
+++ b/platform/apq8084/gpio.c
@@ -54,6 +54,13 @@
/* Configure gpio for blsp uart 2 */
void gpio_config_uart_dm(uint8_t id)
{
+ /* configure rx gpio */
+ gpio_tlmm_config(52, 2, GPIO_INPUT, GPIO_NO_PULL,
+ GPIO_8MA, GPIO_DISABLE);
+
+ /* configure tx gpio */
+ gpio_tlmm_config(51, 2, GPIO_OUTPUT, GPIO_NO_PULL,
+ GPIO_8MA, GPIO_DISABLE);
}
void gpio_config_blsp_i2c(uint8_t blsp_id, uint8_t qup_id)