]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-uniphier/ph1-sld3/pll_spectrum.c
stm32f4: add cpu clock option for 180 MHz
[u-boot] / arch / arm / mach-uniphier / ph1-sld3 / pll_spectrum.c
1 /*
2  * Copyright (C) 2011-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #include <common.h>
8 #include <linux/io.h>
9 #include <mach/sc-regs.h>
10
11 void enable_dpll_ssc(void)
12 {
13         u32 tmp;
14
15         tmp = readl(SC_DPLLCTRL);
16         tmp |= SC_DPLLCTRL_SSC_EN;
17         writel(tmp, SC_DPLLCTRL);
18 }