26 #include <linux/device.h>
27 #include <linux/serial.h>
28 #include <linux/tty.h>
30 #include <asm/types.h>
31 #include <asm/setup.h>
32 #include <asm/memory.h>
33 #include <mach/hardware.h>
43 #define GTWX5715_KSSPI_SELECT 5
44 #define GTWX5715_KSSPI_TXD 6
45 #define GTWX5715_KSSPI_CLOCK 7
46 #define GTWX5715_KSSPI_RXD 12
51 #define GTWX5715_BUTTON_GPIO 3
61 #define GTWX5715_LED1_GPIO 2
62 #define GTWX5715_LED2_GPIO 9
63 #define GTWX5715_LED3_GPIO 8
64 #define GTWX5715_LED4_GPIO 1
65 #define GTWX5715_LED9_GPIO 4
92 static struct resource gtwx5715_uart_resources[] = {
121 .name =
"serial8250",
124 .platform_data = gtwx5715_uart_platform_data,
127 .resource = gtwx5715_uart_resources,
131 .map_name =
"cfi_probe",
135 static struct resource gtwx5715_flash_resource = {
140 .name =
"IXP4XX-Flash",
143 .platform_data = >wx5715_flash_data,
146 .resource = >wx5715_flash_resource,
150 >wx5715_uart_device,
154 static void __init gtwx5715_init(
void)
171 .atag_offset = 0x100,
172 .init_machine = gtwx5715_init,
173 #if defined(CONFIG_PCI)