From: Bruno Knittel <[email protected]>

UART0 is also a dedictated peripheral. Release from reset to have
earlier serial for debugging.

Signed-off-by: Bruno Knittel <[email protected]>
Signed-off-by: Steffen Trumtrar <[email protected]>
---
 arch/arm/mach-socfpga/arria10-reset-manager.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-socfpga/arria10-reset-manager.c 
b/arch/arm/mach-socfpga/arria10-reset-manager.c
index 6f209e7045..01534cd74b 100644
--- a/arch/arm/mach-socfpga/arria10-reset-manager.c
+++ b/arch/arm/mach-socfpga/arria10-reset-manager.c
@@ -86,6 +86,7 @@ void arria10_reset_deassert_dedicated_peripherals(void)
        mask = ARRIA10_RSTMGR_PER1MODRST_I2C3 |
               ARRIA10_RSTMGR_PER1MODRST_I2C4 |
               ARRIA10_RSTMGR_PER1MODRST_I2C2 |
+              ARRIA10_RSTMGR_PER1MODRST_UART0 |
               ARRIA10_RSTMGR_PER1MODRST_UART1 |
               ARRIA10_RSTMGR_PER1MODRST_GPIO2;
        clrbits_le32(ARRIA10_RSTMGR_ADDR + ARRIA10_RSTMGR_PER1MODRST, mask);

-- 
2.46.0


Reply via email to