18 #include <plat/clock.h>
27 #include <mach/regs-clock.h>
38 static unsigned int armdiv[8] = {
49 .name =
"hsspi-eplldiv",
57 static struct clk *hsspi_sources[] = {
58 [0] = &hsspi_eplldiv.
clk,
67 .sources = hsspi_sources,
77 .devname =
"s3c-sdhci.0",
85 .devname =
"s3c-sdhci.1",
95 .devname =
"s3c-sdhci.0",
101 .sources = (
struct clk * []) {
102 [0] = &hsmmc_div[0].
clk,
112 .devname =
"s3c-sdhci.1",
113 .ctrlbit = (1 << 12),
118 .sources = (
struct clk * []) {
119 [0] = &hsmmc_div[1].
clk,
126 static struct clk hsmmc0_clk = {
128 .devname =
"s3c-sdhci.0",
143 static struct clk_lookup s3c2416_clk_lookup[] = {
144 CLKDEV_INIT(
"s3c-sdhci.0",
"mmc_busclk.0", &hsmmc0_clk),
158 clk_epll.rate = s3c_get_pll6553x(xtal, epllcon, epllcon1);
166 for (ptr = 0; ptr <
ARRAY_SIZE(clksrcs); ptr++)