11 #include <linux/kernel.h>
14 #include <linux/pci.h>
19 #include <linux/ethtool.h>
22 #include <linux/input.h>
40 static struct dsa_chip_data mv88f6281gtw_ge_switch_chip_data = {
41 .port_names[0] =
"lan1",
42 .port_names[1] =
"lan2",
43 .port_names[2] =
"lan3",
44 .port_names[3] =
"lan4",
45 .port_names[4] =
"wan",
46 .port_names[5] =
"cpu",
51 .chip = &mv88f6281gtw_ge_switch_chip_data,
55 .type =
"mx25l12805d",
61 .platform_data = &mv88f6281gtw_ge_spi_slave_data,
63 .max_speed_hz = 50000000,
84 .buttons = mv88f6281gtw_ge_button_pins,
85 .nbuttons =
ARRAY_SIZE(mv88f6281gtw_ge_button_pins),
93 .platform_data = &mv88f6281gtw_ge_button_data,
97 static struct gpio_led mv88f6281gtw_ge_led_pins[] = {
99 .name =
"gtw:green:Status",
103 .name =
"gtw:red:Status",
107 .name =
"gtw:green:USB",
114 .leds = mv88f6281gtw_ge_led_pins,
115 .num_leds =
ARRAY_SIZE(mv88f6281gtw_ge_led_pins),
122 .platform_data = &mv88f6281gtw_ge_led_data,
126 static unsigned int mv88f6281gtw_ge_mpp_config[]
__initdata = {
135 static void __init mv88f6281gtw_ge_init(
void)
154 static int __init mv88f6281gtw_ge_pci_init(
void)
156 if (machine_is_mv88f6281gtw_ge())
163 MACHINE_START(MV88F6281GTW_GE,
"Marvell 88F6281 GTW GE Board")
165 .atag_offset = 0x100,
166 .init_machine = mv88f6281gtw_ge_init,