Merge tag 'sched-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / arm / mach-s3c / mach-s3c2416-dt.c
blob418544d3015db852f2e041d41326c7ba1af6574b
1 // SPDX-License-Identifier: GPL-2.0
2 //
3 // Samsung's S3C2416 flattened device tree enabled machine
4 //
5 // Copyright (c) 2012 Heiko Stuebner <heiko@sntech.de>
6 //
7 // based on mach-exynos/mach-exynos4-dt.c
8 //
9 // Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
10 // http://www.samsung.com
11 // Copyright (c) 2010-2011 Linaro Ltd.
12 // www.linaro.org
14 #include <linux/clocksource.h>
15 #include <linux/irqchip.h>
16 #include <linux/serial_s3c.h>
18 #include <asm/mach/arch.h>
19 #include "map.h"
21 #include "cpu.h"
22 #include "pm.h"
24 #include "s3c24xx.h"
26 static void __init s3c2416_dt_map_io(void)
28 s3c24xx_init_io(NULL, 0);
31 static void __init s3c2416_dt_machine_init(void)
33 s3c_pm_init();
36 static const char *const s3c2416_dt_compat[] __initconst = {
37 "samsung,s3c2416",
38 "samsung,s3c2450",
39 NULL
42 DT_MACHINE_START(S3C2416_DT, "Samsung S3C2416 (Flattened Device Tree)")
43 /* Maintainer: Heiko Stuebner <heiko@sntech.de> */
44 .dt_compat = s3c2416_dt_compat,
45 .map_io = s3c2416_dt_map_io,
46 .init_irq = irqchip_init,
47 .init_machine = s3c2416_dt_machine_init,
48 MACHINE_END