| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * linux/arch/arm/mach-mmp/mmp-dt.c |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2012 Marvell Technology Group Ltd. |
|---|
| 5 | 6 | * Author: Haojian Zhuang <haojian.zhuang@marvell.com> |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 8 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 9 | | - * publishhed by the Free Software Foundation. |
|---|
| 10 | 7 | */ |
|---|
| 11 | 8 | |
|---|
| 12 | 9 | #include <linux/irqchip.h> |
|---|
| 13 | 10 | #include <linux/of_platform.h> |
|---|
| 14 | | -#include <linux/clk-provider.h> |
|---|
| 11 | +#include <linux/of_clk.h> |
|---|
| 12 | +#include <linux/clocksource.h> |
|---|
| 15 | 13 | #include <asm/mach/arch.h> |
|---|
| 16 | 14 | #include <asm/mach/time.h> |
|---|
| 17 | 15 | #include <asm/hardware/cache-tauros2.h> |
|---|
| 18 | 16 | |
|---|
| 19 | 17 | #include "common.h" |
|---|
| 20 | | - |
|---|
| 21 | | -extern void __init mmp_dt_init_timer(void); |
|---|
| 22 | 18 | |
|---|
| 23 | 19 | static const char *const pxa168_dt_board_compat[] __initconst = { |
|---|
| 24 | 20 | "mrvl,pxa168-aspenite", |
|---|
| .. | .. |
|---|
| 35 | 31 | #ifdef CONFIG_CACHE_TAUROS2 |
|---|
| 36 | 32 | tauros2_init(0); |
|---|
| 37 | 33 | #endif |
|---|
| 38 | | - mmp_dt_init_timer(); |
|---|
| 39 | 34 | of_clk_init(NULL); |
|---|
| 35 | + timer_probe(); |
|---|
| 40 | 36 | } |
|---|
| 41 | 37 | |
|---|
| 42 | 38 | DT_MACHINE_START(PXA168_DT, "Marvell PXA168 (Device Tree Support)") |
|---|