blob: bb6f7a47cb0a7065b49f55c2cf38320e1715b3b3 [file] [log] [blame]
Masahiro Yamadaddb19002017-01-15 14:59:03 +09001/*
2 * Copyright (C) 2016-2017 Socionext Inc.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#include <linux/io.h>
8
9#include "../init.h"
10#include "../sc64-regs.h"
11
12void uniphier_ld11_early_clk_init(void)
13{
14 u32 tmp;
15
16 /* provide clocks */
17 tmp = readl(SC_CLKCTRL4);
18 tmp |= SC_CLKCTRL4_PERI;
19 writel(tmp, SC_CLKCTRL4);
20}