20 #include <linux/types.h>
31 #include <mach/hardware.h>
32 #include <mach/common.h>
35 #include <linux/i2c.h>
41 #define GPIO_LCDPWR IMX_GPIO_NR(1, 2)
42 #define GPIO_PMIC_INT IMX_GPIO_NR(2, 0)
44 #define GPIO_BUTTON1 IMX_GPIO_NR(1, 4)
45 #define GPIO_BUTTON2 IMX_GPIO_NR(1, 5)
46 #define GPIO_BUTTON3 IMX_GPIO_NR(1, 7)
47 #define GPIO_BUTTON4 IMX_GPIO_NR(1, 8)
48 #define GPIO_BUTTON5 IMX_GPIO_NR(1, 9)
49 #define GPIO_BUTTON6 IMX_GPIO_NR(1, 10)
50 #define GPIO_BUTTON7 IMX_GPIO_NR(1, 11)
51 #define GPIO_BUTTON8 IMX_GPIO_NR(1, 12)
72 .name =
"CTP-CLAA070LC0ACW",
99 static struct resource vpr200_flash_resource = {
106 .name =
"physmap-flash",
109 .platform_data = &vpr200_flash_data,
111 .resource = &vpr200_flash_resource,
122 #define VPR_KEY_DEBOUNCE 500
135 vpr200_gpio_keys_data __initconst = {
136 .buttons = vpr200_gpio_keys_table,
137 .nbuttons =
ARRAY_SIZE(vpr200_gpio_keys_table),
149 .byte_len = 2048 / 8,
156 .platform_data = &vpr200_eeprom,
159 .platform_data = &vpr200_pmic,
252 .
init = vpr200_usbh_init,
263 static void __init vpr200_board_init(
void)
304 static void __init vpr200_timer_init(
void)
310 .init = vpr200_timer_init,
319 .timer = &vpr200_timer,
320 .init_machine = vpr200_board_init,