20 #include <linux/types.h>
29 #include <linux/i2c.h>
41 #include <mach/hardware.h>
42 #include <mach/common.h>
52 eukrea_cpuimx35_i2c0_data __initconst = {
56 #define TSC2007_IRQGPIO IMX_GPIO_NR(3, 2)
57 static int tsc2007_get_pendown_state(
void)
65 .get_pendown_state = tsc2007_get_pendown_state,
73 .platform_data = &tsc2007_info,
111 eukrea_cpuimx35_nand_board_info __initconst = {
123 .init = eukrea_cpuimx35_otg_init,
134 .
init = eukrea_cpuimx35_usbh1_init,
148 if (!
strcmp(options,
"host"))
149 otg_mode_host =
true;
150 else if (!
strcmp(options,
"device"))
151 otg_mode_host =
false;
153 pr_info(
"otg_mode neither \"host\" nor \"device\". "
154 "Defaulting to device\n");
157 __setup(
"otg_mode=", eukrea_cpuimx35_otg_mode);
162 static void __init eukrea_cpuimx35_init(
void)
187 #ifdef CONFIG_MACH_EUKREA_MBIMXSD35_BASEBOARD
192 static void __init eukrea_cpuimx35_timer_init(
void)
197 static struct sys_timer eukrea_cpuimx35_timer = {
198 .init = eukrea_cpuimx35_timer_init,
203 .atag_offset = 0x100,
208 .timer = &eukrea_cpuimx35_timer,
209 .init_machine = eukrea_cpuimx35_init,