16 #include <linux/kernel.h>
17 #include <linux/types.h>
19 #include <linux/list.h>
22 #include <linux/serial_core.h>
25 #include <linux/i2c.h>
39 #include <mach/hardware.h>
49 #include <plat/clock.h>
52 #include <mach/regs-gpio.h>
58 #define ANW6410_PA_DM9000 (0x18000000)
63 #define ANW6410_VA_EXTDEV S3C_ADDR(0x02000000)
64 #define ANW6410_PA_EXTDEV (0x30000000)
66 #define ANW6410_EN_DM9000 (1<<11)
67 #define ANW6410_EN_LCD (1<<14)
69 static __u32 anw6410_extdev_status;
89 static void __init anw6410_lcd_mode_set(
void)
127 .set_power = anw6410_lcd_power_set,
131 .name =
"platform-lcd",
133 .dev.platform_data = &anw6410_lcd_power_data,
157 .vtiming = &anw6410_lcd_timing,
158 .win[0] = &anw6410_fb_win0,
164 static void __init anw6410_dm9000_enable(
void)
170 static struct resource anw6410_dm9000_resource[] = {
185 .num_resources =
ARRAY_SIZE(anw6410_dm9000_resource),
186 .resource = anw6410_dm9000_resource,
188 .platform_data = &anw6410_dm9000_pdata,
192 static struct map_desc anw6410_iodesc[] __initdata = {
203 &anw6410_lcd_powerdev,
207 static void __init anw6410_map_io(
void)
213 anw6410_lcd_mode_set();
216 static void __init anw6410_machine_init(
void)
223 anw6410_dm9000_enable();
230 .atag_offset = 0x100,
234 .map_io = anw6410_map_io,
235 .init_machine = anw6410_machine_init,