summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/init/init-ld11.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-22 07:42:19 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-23 01:00:23 +0900
commitc72f4d4c2ebb3be9797ef6cd7dcbc2124c825f7a (patch)
tree4a31e92876cb55753ac16aac95fb2dbe57236b3d /arch/arm/mach-uniphier/init/init-ld11.c
parent0298f4c0032e2ba7e417aacc66da98887a2e0a5b (diff)
ARM: uniphier: add PLL init code for LD11 SoC
- Initialize PLLs (SPL initializes only DPLL to save the precious SPL memory footprint) - Adjust CPLL/MPLL to the final tape-out frequency - Set the Cortex-A53 clock to the maximum frequency since it is running at 500MHz (SPLL/4) on startup Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/init/init-ld11.c')
-rw-r--r--arch/arm/mach-uniphier/init/init-ld11.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-uniphier/init/init-ld11.c b/arch/arm/mach-uniphier/init/init-ld11.c
index 758df8d269..e324c94700 100644
--- a/arch/arm/mach-uniphier/init/init-ld11.c
+++ b/arch/arm/mach-uniphier/init/init-ld11.c
@@ -31,12 +31,14 @@ int uniphier_ld11_init(const struct uniphier_board_data *bd)
led_puts("L2");
- led_puts("L3");
-
#ifdef CONFIG_SPL_SERIAL_SUPPORT
preloader_console_init();
#endif
+ led_puts("L3");
+
+ uniphier_ld11_dpll_init(bd);
+
led_puts("L4");
{