15 #include <linux/kernel.h>
26 #include <linux/input.h>
33 #include <mach/irqs.h>
39 #define EVM_MMC_WP_GPIO 21
40 #define EVM_MMC_CD_GPIO 24
41 #define EVM_SPI_CS_GPIO 54
43 static int initialize_gpio(
int gpio,
char *
desc)
56 static int mmc_get_cd(
int index)
69 static int mmc_get_ro(
int index)
99 static const short uart1_pins[] __initconst = {
104 static const short ssp_pins[] __initconst = {
113 .name =
"bootloader",
134 .name =
"filesystem",
144 .parts = nand_partitions,
207 static void spi_select_device(
int cs)
215 pr_err(
"cannot open spi chipsel gpio\n");
232 .select = spi_select_device,
239 .out_clock = 250 * 1000,
242 .dev_name =
"ti-ssp-spi",
243 .pdata = &spi_master_data,
244 .pdata_size =
sizeof(spi_master_data),
260 static __init void tnetv107x_evm_board_init(
void)
271 #ifdef CONFIG_SERIAL_8250_CONSOLE
272 static int __init tnetv107x_evm_console_init(
void)
280 .atag_offset = 0x100,
284 .init_machine = tnetv107x_evm_board_init,