MSCC: Jaguar2 enable debug uart
Enable debug uart for Jaguar2 SoC family.
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
diff --git a/board/mscc/jr2/jr2.c b/board/mscc/jr2/jr2.c
index eac4dca..226181f 100644
--- a/board/mscc/jr2/jr2.c
+++ b/board/mscc/jr2/jr2.c
@@ -64,6 +64,13 @@
}
}
+void board_debug_uart_init(void)
+{
+ /* too early for the pinctrl driver, so configure the UART pins here */
+ vcoreiii_gpio_set_alternate(10, 1);
+ vcoreiii_gpio_set_alternate(11, 1);
+}
+
static void do_board_detect(void)
{
int i;