| // SPDX-License-Identifier: GPL-2.0-only |
| * linux/arch/arm/mach-mmp/mmp-dt.c |
| * Copyright (C) 2012 Marvell Technology Group Ltd. |
| * Author: Haojian Zhuang <haojian.zhuang@marvell.com> |
| #include <linux/irqchip.h> |
| #include <linux/of_platform.h> |
| #include <linux/clk-provider.h> |
| #include <linux/clocksource.h> |
| #include <asm/mach/arch.h> |
| #include <asm/mach/time.h> |
| #include <asm/hardware/cache-tauros2.h> |
| static const char *const pxa168_dt_board_compat[] __initconst = { |
| static const char *const pxa910_dt_board_compat[] __initconst = { |
| static void __init mmp_init_time(void) |
| #ifdef CONFIG_CACHE_TAUROS2 |
| DT_MACHINE_START(PXA168_DT, "Marvell PXA168 (Device Tree Support)") |
| .init_time = mmp_init_time, |
| .dt_compat = pxa168_dt_board_compat, |
| DT_MACHINE_START(PXA910_DT, "Marvell PXA910 (Device Tree Support)") |
| .init_time = mmp_init_time, |
| .dt_compat = pxa910_dt_board_compat, |