1244197Sgonzo/*
2244197Sgonzo * Copyright (c) 2012 Oleksandr Tymoshenko <gonzo@freebsd.org>
3244197Sgonzo * All rights reserved.
4244197Sgonzo *
5244197Sgonzo * Redistribution and use in source and binary forms, with or without
6244197Sgonzo * modification, are permitted provided that the following conditions
7244197Sgonzo * are met:
8244197Sgonzo * 1. Redistributions of source code must retain the above copyright
9244197Sgonzo *    notice, this list of conditions and the following disclaimer.
10244197Sgonzo * 2. Redistributions in binary form must reproduce the above copyright
11244197Sgonzo *    notice, this list of conditions and the following disclaimer in the
12244197Sgonzo *    documentation and/or other materials provided with the distribution.
13244197Sgonzo *
14244197Sgonzo * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15244197Sgonzo * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16244197Sgonzo * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17244197Sgonzo * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18244197Sgonzo * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19244197Sgonzo * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20244197Sgonzo * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21244197Sgonzo * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22244197Sgonzo * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23244197Sgonzo * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24244197Sgonzo * SUCH DAMAGE.
25244197Sgonzo */
26244197Sgonzo
27244197Sgonzo#include <sys/cdefs.h>
28244197Sgonzo__FBSDID("$FreeBSD: releng/10.2/sys/arm/versatile/versatile_timer.c 259329 2013-12-13 20:43:11Z ian $");
29244197Sgonzo
30244197Sgonzo#include <sys/param.h>
31244197Sgonzo#include <sys/systm.h>
32244197Sgonzo#include <sys/bus.h>
33244197Sgonzo#include <sys/kernel.h>
34244197Sgonzo#include <sys/module.h>
35244197Sgonzo#include <sys/malloc.h>
36244197Sgonzo#include <sys/rman.h>
37244197Sgonzo#include <sys/timeet.h>
38244197Sgonzo#include <sys/timetc.h>
39244197Sgonzo#include <sys/watchdog.h>
40244197Sgonzo#include <machine/bus.h>
41244197Sgonzo#include <machine/cpu.h>
42244197Sgonzo#include <machine/intr.h>
43244197Sgonzo
44244197Sgonzo#include <dev/fdt/fdt_common.h>
45244197Sgonzo#include <dev/ofw/openfirm.h>
46244197Sgonzo#include <dev/ofw/ofw_bus.h>
47244197Sgonzo#include <dev/ofw/ofw_bus_subr.h>
48244197Sgonzo
49244197Sgonzo#include <machine/bus.h>
50244197Sgonzo#include <machine/fdt.h>
51244197Sgonzo
52244197Sgonzovoid
53244197Sgonzocpu_initclocks(void)
54244197Sgonzo{
55244197Sgonzo	cpu_initclocks_bsp();
56244197Sgonzo}
57244197Sgonzo
58244197Sgonzo
59