timer-gic.c 387 B

12345678910111213141516171819202122
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. *
  4. * Copyright (C) 2015 Nikolay Martynov <[email protected]>
  5. * Copyright (C) 2015 John Crispin <[email protected]>
  6. */
  7. #include <linux/init.h>
  8. #include <linux/of.h>
  9. #include <linux/of_clk.h>
  10. #include <linux/clocksource.h>
  11. #include "common.h"
  12. void __init plat_time_init(void)
  13. {
  14. ralink_of_remap();
  15. of_clk_init(NULL);
  16. timer_probe();
  17. }