aboutsummaryrefslogtreecommitdiffstats
path: root/arch/avr32/boards/mimc200/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/avr32/boards/mimc200/setup.c')
-rw-r--r--arch/avr32/boards/mimc200/setup.c29
1 files changed, 15 insertions, 14 deletions
diff --git a/arch/avr32/boards/mimc200/setup.c b/arch/avr32/boards/mimc200/setup.c
index c1b2175b4fea..523d8e183bef 100644
--- a/arch/avr32/boards/mimc200/setup.c
+++ b/arch/avr32/boards/mimc200/setup.c
@@ -43,16 +43,16 @@ unsigned long at32_board_osc_rates[3] = {
43/* Initialized by bootloader-specific startup code. */ 43/* Initialized by bootloader-specific startup code. */
44struct tag *bootloader_tags __initdata; 44struct tag *bootloader_tags __initdata;
45 45
46static struct fb_videomode __initdata tx14d14_modes[] = { 46static struct fb_videomode __initdata pt0434827_modes[] = {
47 { 47 {
48 .name = "640x480 @ 60", 48 .name = "480x272 @ 72",
49 .refresh = 60, 49 .refresh = 72,
50 .xres = 640, .yres = 480, 50 .xres = 480, .yres = 272,
51 .pixclock = KHZ2PICOS(11666), 51 .pixclock = KHZ2PICOS(10000),
52 52
53 .left_margin = 80, .right_margin = 1, 53 .left_margin = 1, .right_margin = 1,
54 .upper_margin = 13, .lower_margin = 2, 54 .upper_margin = 12, .lower_margin = 1,
55 .hsync_len = 64, .vsync_len = 1, 55 .hsync_len = 42, .vsync_len = 1,
56 56
57 .sync = 0, 57 .sync = 0,
58 .vmode = FB_VMODE_NONINTERLACED, 58 .vmode = FB_VMODE_NONINTERLACED,
@@ -60,14 +60,14 @@ static struct fb_videomode __initdata tx14d14_modes[] = {
60}; 60};
61 61
62static struct fb_monspecs __initdata mimc200_default_monspecs = { 62static struct fb_monspecs __initdata mimc200_default_monspecs = {
63 .manufacturer = "HIT", 63 .manufacturer = "PT",
64 .monitor = "TX14D14VM1BAB", 64 .monitor = "PT0434827-A401",
65 .modedb = tx14d14_modes, 65 .modedb = pt0434827_modes,
66 .modedb_len = ARRAY_SIZE(tx14d14_modes), 66 .modedb_len = ARRAY_SIZE(pt0434827_modes),
67 .hfmin = 14820, 67 .hfmin = 14820,
68 .hfmax = 22230, 68 .hfmax = 22230,
69 .vfmin = 60, 69 .vfmin = 60,
70 .vfmax = 73.3, 70 .vfmax = 85,
71 .dclkmax = 25200000, 71 .dclkmax = 25200000,
72}; 72};
73 73
@@ -228,7 +228,8 @@ static int __init mimc200_init(void)
228 i2c_register_board_info(0, i2c_info, ARRAY_SIZE(i2c_info)); 228 i2c_register_board_info(0, i2c_info, ARRAY_SIZE(i2c_info));
229 229
230 at32_add_device_lcdc(0, &mimc200_lcdc_data, 230 at32_add_device_lcdc(0, &mimc200_lcdc_data,
231 fbmem_start, fbmem_size, 1); 231 fbmem_start, fbmem_size,
232 ATMEL_LCDC_CONTROL | ATMEL_LCDC_ALT_CONTROL | ATMEL_LCDC_ALT_24B_DATA);
232 233
233 return 0; 234 return 0;
234} 235}