Masahiro Yamada | 682e09f | 2016-09-17 03:33:11 +0900 | [diff] [blame] | 1 | /* |
| 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 | |
| 12 | int uniphier_ld20_dpll_init(const struct uniphier_board_data *bd) |
| 13 | { |
Masahiro Yamada | 2953262 | 2016-10-27 23:47:00 +0900 | [diff] [blame] | 14 | 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 Yamada | 682e09f | 2016-09-17 03:33:11 +0900 | [diff] [blame] | 17 | |
| 18 | return 0; |
| 19 | } |