18 #include <linux/if_ether.h>
20 #include <linux/serial.h>
23 #include <linux/reboot.h>
24 #include <linux/i2c.h>
31 #define FSG_SDA_PIN 12
32 #define FSG_SCL_PIN 13
36 #define FSG_UB_GPIO 10
39 .map_name =
"cfi_probe",
43 static struct resource fsg_flash_resource = {
48 .name =
"IXP4XX-Flash",
51 .platform_data = &fsg_flash_data,
54 .resource = &fsg_flash_resource,
66 .platform_data = &fsg_i2c_gpio_data,
76 static struct resource fsg_uart_resources[] = {
112 .name =
"serial8250",
115 .platform_data = fsg_uart_data,
117 .num_resources =
ARRAY_SIZE(fsg_uart_resources),
118 .resource = fsg_uart_resources,
141 .name =
"ixp4xx_eth",
144 .platform_data = fsg_plat_eth,
147 .name =
"ixp4xx_eth",
150 .platform_data = fsg_plat_eth + 1,
183 static void __init fsg_init(
void)
190 fsg_flash_resource.
end =
212 "FSG reset button",
NULL) < 0) {
220 "FSG power button",
NULL) < 0) {
235 for (i = 0; i < 6; i++) {
264 fsg_plat_eth[0].hwaddr);
266 fsg_plat_eth[1].hwaddr);
276 .atag_offset = 0x100,
277 .init_machine = fsg_init,
278 #if defined(CONFIG_PCI)