24 #include <linux/kernel.h>
25 #include <linux/types.h>
27 #include <linux/list.h>
31 #include <linux/device.h>
33 #include <linux/serial_core.h>
46 #include <mach/hardware.h>
51 #include <mach/regs-lcd.h>
70 #define UCON S3C2410_UCON_DEFAULT
71 #define ULCON S3C2410_LCON_CS8 | S3C2410_LCON_PNONE | S3C2410_LCON_STOPB
72 #define UFCON S3C2410_UFCON_RXTRIG8 | S3C2410_UFCON_FIFOMODE
172 .displays = qt2410_lcd_cfg,
174 .default_display = 0,
176 .lpcsel = ((0xCE6) & ~7) | 1<<4,
181 static struct resource qt2410_cs89x0_resources[] = {
187 .name =
"cirrus-cs89x0",
188 .num_resources =
ARRAY_SIZE(qt2410_cs89x0_resources),
189 .resource = qt2410_cs89x0_resources,
198 .def_trigger =
"timer",
202 .name =
"s3c24xx_led",
205 .platform_data = &qt2410_pdata_led,
220 .dev.platform_data = &spi_gpio_cfg,
238 static struct mtd_partition __initdata qt2410_nand_part[] = {
245 .name =
"U-Boot environment",
270 .nr_partitions =
ARRAY_SIZE(qt2410_nand_part),
271 .partitions = qt2410_nand_part,
284 .sets = qt2410_nand_sets,
292 static char tft_type =
's';
294 static int __init qt2410_tft_setup(
char *
str)
300 __setup(
"tft=", qt2410_tft_setup);
302 static void __init qt2410_map_io(
void)
309 static void __init qt2410_machine_init(
void)
315 qt2410_fb_info.default_display = 1;
318 qt2410_fb_info.default_display = 0;
322 qt2410_fb_info.default_display = 2;
342 .atag_offset = 0x100,
343 .map_io = qt2410_map_io,
345 .init_machine = qt2410_machine_init,