clk-hr2.c 822 B

123456789101112131415161718192021222324252627
  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. #include <linux/kernel.h>
  14. #include <linux/err.h>
  15. #include <linux/clk-provider.h>
  16. #include <linux/io.h>
  17. #include <linux/of.h>
  18. #include <linux/of_address.h>
  19. #include "clk-iproc.h"
  20. static void __init hr2_armpll_init(struct device_node *node)
  21. {
  22. iproc_armpll_setup(node);
  23. }
  24. CLK_OF_DECLARE(hr2_armpll, "brcm,hr2-armpll", hr2_armpll_init);