11 #include <linux/kernel.h>
13 #include <linux/device.h>
14 #include <linux/serial.h>
15 #include <linux/tty.h>
18 #include <asm/types.h>
19 #include <asm/setup.h>
20 #include <asm/memory.h>
21 #include <mach/hardware.h>
27 #define COYOTE_IDE_BASE_PHYS IXP4XX_EXP_BUS_BASE(3)
28 #define COYOTE_IDE_BASE_VIRT 0xFFFE1000
29 #define COYOTE_IDE_REGION_SIZE 0x1000
31 #define COYOTE_IDE_DATA_PORT 0xFFFE10E0
32 #define COYOTE_IDE_CTRL_PORT 0xFFFE10FC
33 #define COYOTE_IDE_ERROR_PORT 0xFFFE10E2
34 #define IRQ_COYOTE_IDE IRQ_IXP4XX_GPIO5
37 .map_name =
"cfi_probe",
41 static struct resource coyote_flash_resource = {
46 .name =
"IXP4XX-Flash",
49 .platform_data = &coyote_flash_data,
52 .resource = &coyote_flash_resource,
55 static struct resource coyote_uart_resource = {
78 .platform_data = coyote_uart_data,
81 .resource = &coyote_uart_resource,
89 static void __init coyote_init(
void)
99 if (machine_is_ixdpg425()) {
109 #ifdef CONFIG_ARCH_ADI_COYOTE
116 .atag_offset = 0x100,
117 .init_machine = coyote_init,
118 #if defined(CONFIG_PCI)
129 #ifdef CONFIG_MACH_IXDPG425
136 .atag_offset = 0x100,
137 .init_machine = coyote_init,