1 // SPDX-License-Identifier: GPL-2.0-only
3 * arch/arm/mach-spear13xx/spear1340.c
5 * SPEAr1340 machine source file
7 * Copyright (C) 2012 ST Microelectronics
8 * Viresh Kumar <vireshk@kernel.org>
11 #define pr_fmt(fmt) "SPEAr1340: " fmt
13 #include <linux/platform_device.h>
14 #include <asm/mach/arch.h>
17 static void __init
spear1340_dt_init(void)
19 platform_device_register_simple("spear-cpufreq", -1, NULL
, 0);
22 static const char * const spear1340_dt_board_compat
[] = {
28 DT_MACHINE_START(SPEAR1340_DT
, "ST SPEAr1340 SoC with Flattened Device Tree")
29 .smp
= smp_ops(spear13xx_smp_ops
),
30 .map_io
= spear13xx_map_io
,
31 .init_time
= spear13xx_timer_init
,
32 .init_machine
= spear1340_dt_init
,
33 .restart
= spear_restart
,
34 .dt_compat
= spear1340_dt_board_compat
,