clk-hr2.c (822B)
1/* 2 * Copyright (C) 2017 Broadcom 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License as 6 * published by the Free Software Foundation version 2. 7 * 8 * This program is distributed "as is" WITHOUT ANY WARRANTY of any 9 * kind, whether express or implied; without even the implied warranty 10 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * GNU General Public License for more details. 12 */ 13 14#include <linux/kernel.h> 15#include <linux/err.h> 16#include <linux/clk-provider.h> 17#include <linux/io.h> 18#include <linux/of.h> 19#include <linux/of_address.h> 20 21#include "clk-iproc.h" 22 23static void __init hr2_armpll_init(struct device_node *node) 24{ 25 iproc_armpll_setup(node); 26} 27CLK_OF_DECLARE(hr2_armpll, "brcm,hr2-armpll", hr2_armpll_init);