Skip to content
Snippets Groups Projects
Commit 1dce5eb9 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment