Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / arch / arm / mach-w90x900 / nuc950.c
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * linux/arch/arm/mach-w90x900/nuc950.c
4  *
5  * Based on linux/arch/arm/plat-s3c24xx/s3c244x.c by Ben Dooks
6  *
7  * Copyright (c) 2008 Nuvoton technology corporation.
8  *
9  * Wan ZongShun <mcuos.com@gmail.com>
10  *
11  * NUC950 cpu support
12  */
13
14 #include <linux/platform_device.h>
15 #include <asm/mach/map.h>
16 #include <mach/hardware.h>
17
18 #include "cpu.h"
19
20 /* define specific CPU platform device */
21
22 static struct platform_device *nuc950_dev[] __initdata = {
23         &nuc900_device_kpi,
24         &nuc900_device_fmi,
25         &nuc900_device_lcd,
26 };
27
28 /* define specific CPU platform io map */
29
30 static struct map_desc nuc950evb_iodesc[] __initdata = {
31 };
32
33 /*Init NUC950 evb io*/
34
35 void __init nuc950_map_io(void)
36 {
37         nuc900_map_io(nuc950evb_iodesc, ARRAY_SIZE(nuc950evb_iodesc));
38 }
39
40 /*Init NUC950 clock*/
41
42 void __init nuc950_init_clocks(void)
43 {
44         nuc900_init_clocks();
45 }
46
47 /*Init NUC950 board info*/
48
49 void __init nuc950_board_init(void)
50 {
51         nuc900_board_init(nuc950_dev, ARRAY_SIZE(nuc950_dev));
52 }