Commit 1dce5eb9 authored by Masahiro Yamada's avatar Masahiro Yamada

ARM: uniphier: enable Peripherl clock to use UART in SPL

This is needed to use UART on SPL.
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 68340966
......@@ -21,6 +21,10 @@ int uniphier_ld20_early_clk_init(const struct uniphier_board_data *bd)
writel(tmp, SC_RSTCTRL7);
/* provide clocks */
tmp = readl(SC_CLKCTRL4);
tmp |= SC_CLKCTRL4_PERI;
writel(tmp, SC_CLKCTRL4);
tmp = readl(SC_CLKCTRL7);
tmp |= SC_CLKCTRL7_UMCSB | SC_CLKCTRL7_UMC32 | SC_CLKCTRL7_UMC31 |
SC_CLKCTRL7_UMC30;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment