Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nuc910.c
Go to the documentation of this file.
1 /*
2  * linux/arch/arm/mach-w90x900/nuc910.c
3  *
4  * Based on linux/arch/arm/plat-s3c24xx/s3c244x.c by Ben Dooks
5  *
6  * Copyright (c) 2009 Nuvoton corporation.
7  *
8  * Wan ZongShun <[email protected]>
9  *
10  * NUC910 cpu support
11  *
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.
15  *
16  */
17 
18 #include <linux/platform_device.h>
19 #include <asm/mach/map.h>
20 #include <mach/hardware.h>
21 #include "cpu.h"
22 #include "clock.h"
23 
24 /* define specific CPU platform device */
25 
26 static struct platform_device *nuc910_dev[] __initdata = {
31 };
32 
33 /* define specific CPU platform io map */
34 
35 static struct map_desc nuc910evb_iodesc[] __initdata = {
36  IODESC_ENT(USBEHCIHOST),
37  IODESC_ENT(USBOHCIHOST),
38  IODESC_ENT(KPI),
39  IODESC_ENT(USBDEV),
40  IODESC_ENT(ADC),
41 };
42 
43 /*Init NUC910 evb io*/
44 
46 {
47  nuc900_map_io(nuc910evb_iodesc, ARRAY_SIZE(nuc910evb_iodesc));
48 }
49 
50 /*Init NUC910 clock*/
51 
53 {
55 }
56 
57 /*Init NUC910 board info*/
58 
60 {
61  nuc900_board_init(nuc910_dev, ARRAY_SIZE(nuc910_dev));
62 }