Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-btrfs-devel.git] / arch / arm / mach-w90x900 / nuc960.c
blob8851a3a27ce2c4380b7626138f53f4df590718a8
1 /*
2 * linux/arch/arm/mach-w90x900/nuc960.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 * NUC960 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>
21 #include "cpu.h"
23 /* define specific CPU platform device */
25 static struct platform_device *nuc960_dev[] __initdata = {
26 &nuc900_device_kpi,
27 &nuc900_device_fmi,
30 /* define specific CPU platform io map */
32 static struct map_desc nuc960evb_iodesc[] __initdata = {
35 /*Init NUC960 evb io*/
37 void __init nuc960_map_io(void)
39 nuc900_map_io(nuc960evb_iodesc, ARRAY_SIZE(nuc960evb_iodesc));
42 /*Init NUC960 clock*/
44 void __init nuc960_init_clocks(void)
46 nuc900_init_clocks();
49 /*Init NUC960 board info*/
51 void __init nuc960_board_init(void)
53 nuc900_board_init(nuc960_dev, ARRAY_SIZE(nuc960_dev));