13 #include <linux/module.h>
14 #include <linux/kernel.h>
79 #define TAVOREVB_ETH_PHYS (0x14000000)
81 static struct resource smc91x_resources[] = {
101 .num_resources =
ARRAY_SIZE(smc91x_resources),
102 .resource = smc91x_resources,
104 .platform_data = &tavorevb_smc91x_info,
108 #if defined(CONFIG_KEYBOARD_PXA27x) || defined(CONFIG_KEYBOARD_PXA27x_MODULE)
109 static unsigned int tavorevb_matrix_key_map[] = {
120 KEY(0, 3,
KEY_0),
KEY(2, 0,
KEY_1),
KEY(2, 1,
KEY_2),
KEY(2, 2,
KEY_3),
121 KEY(2, 3,
KEY_4),
KEY(1, 0,
KEY_5),
KEY(1, 1,
KEY_6),
KEY(1, 2,
KEY_7),
152 .matrix_key_cols = 7,
153 .matrix_key_map = tavorevb_matrix_key_map,
154 .matrix_key_map_size =
ARRAY_SIZE(tavorevb_matrix_key_map),
155 .debounce_interval = 30,
158 static void __init tavorevb_init_keypad(
void)
163 static inline void tavorevb_init_keypad(
void) {}
166 #if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE)
171 .max_brightness = 100,
172 .dft_brightness = 100,
173 .pwm_period_ns = 100000,
178 .max_brightness = 100,
179 .dft_brightness = 100,
180 .pwm_period_ns = 100000,
186 .
name =
"pwm-backlight",
189 .platform_data = &tavorevb_backlight_data[0],
193 .name =
"pwm-backlight",
196 .platform_data = &tavorevb_backlight_data[1],
409 static uint16_t update_framedata[] = {
429 if (pxafb_smart_flush(info))
430 pr_err(
"%s: timed out\n", __func__);
433 static void ltm020d550_update(
struct fb_info *info)
436 pxafb_smart_flush(info);
444 .a0csrd_set_hld = 30,
445 .a0cswr_set_hld = 30,
446 .wr_pulse_width = 30,
447 .rd_pulse_width = 170,
458 .
modes = toshiba_ltm020d550_modes,
461 .pxafb_lcd_power = ltm020d550_lcd_power,
462 .smart_update = ltm020d550_update,
465 static void __init tavorevb_init_lcd(
void)
472 static inline void tavorevb_init_lcd(
void) {}
475 static void __init tavorevb_init(
void)
487 tavorevb_init_keypad();
490 MACHINE_START(TAVOREVB,
"PXA930 Evaluation Board (aka TavorEVB)")
492 .atag_offset = 0x100,
498 .init_machine = tavorevb_init,