]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/arm/mach-mmp/mmp-dt.c
2 * linux/arch/arm/mach-mmp/mmp-dt.c
4 * Copyright (C) 2012 Marvell Technology Group Ltd.
5 * Author: Haojian Zhuang <haojian.zhuang@marvell.com>
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.
12 #include <linux/irqchip.h>
13 #include <linux/of_platform.h>
14 #include <linux/clk-provider.h>
15 #include <asm/mach/arch.h>
16 #include <asm/mach/time.h>
17 #include <asm/hardware/cache-tauros2.h>
21 extern void __init
mmp_dt_init_timer(void);
23 static const char *pxa168_dt_board_compat
[] __initdata
= {
24 "mrvl,pxa168-aspenite",
28 static const char *pxa910_dt_board_compat
[] __initdata
= {
33 static void __init
mmp_init_time(void)
35 #ifdef CONFIG_CACHE_TAUROS2
42 DT_MACHINE_START(PXA168_DT
, "Marvell PXA168 (Device Tree Support)")
44 .init_time
= mmp_init_time
,
45 .dt_compat
= pxa168_dt_board_compat
,
48 DT_MACHINE_START(PXA910_DT
, "Marvell PXA910 (Device Tree Support)")
50 .init_time
= mmp_init_time
,
51 .dt_compat
= pxa910_dt_board_compat
,