14 #include <linux/kernel.h>
16 #include <linux/device.h>
17 #include <linux/serial.h>
18 #include <linux/tty.h>
21 #include <asm/types.h>
22 #include <asm/setup.h>
23 #include <asm/memory.h>
24 #include <mach/hardware.h>
30 #define AVILA_SDA_PIN 7
31 #define AVILA_SCL_PIN 6
34 .map_name =
"cfi_probe",
38 static struct resource avila_flash_resource = {
43 .name =
"IXP4XX-Flash",
46 .platform_data = &avila_flash_data,
49 .resource = &avila_flash_resource,
61 .platform_data = &avila_i2c_gpio_data,
65 static struct resource avila_uart_resources[] = {
101 .name =
"serial8250",
103 .dev.platform_data = avila_uart_data,
105 .resource = avila_uart_resources
108 static struct resource avila_pata_resources[] = {
124 .cs0_bits = 0xbfff0043,
125 .cs1_bits = 0xbfff0043,
129 .name =
"pata_ixp4xx_cf",
131 .dev.platform_data = &avila_pata_data,
132 .num_resources =
ARRAY_SIZE(avila_pata_resources),
133 .resource = avila_pata_resources,
142 static void __init avila_init(
void)
147 avila_flash_resource.
end =
171 .atag_offset = 0x100,
172 .init_machine = avila_init,
173 #if defined(CONFIG_PCI)
184 #ifdef CONFIG_MACH_LOFT
191 .atag_offset = 0x100,
192 .init_machine = avila_init,
193 #if defined(CONFIG_PCI)