blob: 86e99c4d1f0e75086705d0d9897d8bcb2a216727 [file] [log] [blame]
Masahiro Yamada682e09f2016-09-17 03:33:11 +09001/*
2 * Copyright (C) 2016 Socionext Inc.
3 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
4 *
5 * SPDX-License-Identifier: GPL-2.0+
6 */
7
8#include "../init.h"
9#include "../sc64-regs.h"
10#include "pll.h"
11
12int uniphier_ld20_dpll_init(const struct uniphier_board_data *bd)
13{
Masahiro Yamada29532622016-10-27 23:47:00 +090014 uniphier_ld20_sscpll_init(SC_DPLL0CTRL, UNIPHIER_PLL_FREQ_DEFAULT, 0, 2);
15 uniphier_ld20_sscpll_init(SC_DPLL1CTRL, UNIPHIER_PLL_FREQ_DEFAULT, 0, 2);
16 uniphier_ld20_sscpll_init(SC_DPLL2CTRL, UNIPHIER_PLL_FREQ_DEFAULT, 0, 2);
Masahiro Yamada682e09f2016-09-17 03:33:11 +090017
18 return 0;
19}