2 * arch/arm/mach-kirkwood/board-mv88f6281gtw_ge.c
4 * Marvell 88F6281 GTW GE Board Setup
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2. This program is licensed "as is" without any
8 * warranty of any kind, whether express or implied.
11 #include <linux/kernel.h>
12 #include <linux/init.h>
13 #include <linux/platform_device.h>
14 #include <linux/irq.h>
15 #include <linux/timer.h>
16 #include <linux/mv643xx_eth.h>
17 #include <linux/ethtool.h>
18 #include <linux/gpio.h>
20 #include <asm/mach-types.h>
21 #include <asm/mach/arch.h>
22 #include <asm/mach/pci.h>
23 #include <mach/kirkwood.h>
26 static struct mv643xx_eth_platform_data mv88f6281gtw_ge_ge00_data
= {
27 .phy_addr
= MV643XX_ETH_PHY_NONE
,
29 .duplex
= DUPLEX_FULL
,
32 static struct dsa_chip_data mv88f6281gtw_ge_switch_chip_data
= {
33 .port_names
[0] = "lan1",
34 .port_names
[1] = "lan2",
35 .port_names
[2] = "lan3",
36 .port_names
[3] = "lan4",
37 .port_names
[4] = "wan",
38 .port_names
[5] = "cpu",
41 static struct dsa_platform_data mv88f6281gtw_ge_switch_plat_data
= {
43 .chip
= &mv88f6281gtw_ge_switch_chip_data
,
46 void __init
mv88f6281gtw_ge_init(void)
48 kirkwood_ge00_init(&mv88f6281gtw_ge_ge00_data
);
49 kirkwood_ge00_switch_init(&mv88f6281gtw_ge_switch_plat_data
, NO_IRQ
);