Linux 3.11-rc3
[cris-mirror.git] / arch / arm / mach-w90x900 / nuc950.c
blob5704f74a50eeaf768667c07669108396fdcd1fe0
1 /*
2 * linux/arch/arm/mach-w90x900/nuc950.c
4 * Based on linux/arch/arm/plat-s3c24xx/s3c244x.c by Ben Dooks
6 * Copyright (c) 2008 Nuvoton technology corporation.
8 * Wan ZongShun <mcuos.com@gmail.com>
10 * NUC950 cpu support
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation;version 2 of the License.
18 #include <linux/platform_device.h>
19 #include <asm/mach/map.h>
20 #include <mach/hardware.h>
22 #include "cpu.h"
24 /* define specific CPU platform device */
26 static struct platform_device *nuc950_dev[] __initdata = {
27 &nuc900_device_kpi,
28 &nuc900_device_fmi,
29 &nuc900_device_lcd,
32 /* define specific CPU platform io map */
34 static struct map_desc nuc950evb_iodesc[] __initdata = {
37 /*Init NUC950 evb io*/
39 void __init nuc950_map_io(void)
41 nuc900_map_io(nuc950evb_iodesc, ARRAY_SIZE(nuc950evb_iodesc));
44 /*Init NUC950 clock*/
46 void __init nuc950_init_clocks(void)
48 nuc900_init_clocks();
51 /*Init NUC950 board info*/
53 void __init nuc950_board_init(void)
55 nuc900_board_init(nuc950_dev, ARRAY_SIZE(nuc950_dev));