1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 02:48:37 +02:00

[ar71xx] aw-nr580: add support for the LAN ports

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14685 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2009-02-27 16:34:09 +00:00
parent a00fc66f06
commit ccf3bdc4a6

View File

@ -56,6 +56,15 @@ static struct gpio_button aw_nr580_gpio_buttons[] __initdata = {
static void __init aw_nr580_setup(void)
{
ar71xx_add_device_mdio(0x0);
ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII;
ar71xx_eth0_data.phy_mask = 0xf;
ar71xx_eth0_data.speed = SPEED_100;
ar71xx_eth0_data.duplex = DUPLEX_FULL;
ar71xx_add_device_eth(0);
ar71xx_add_device_spi(NULL, aw_nr580_spi_info,
ARRAY_SIZE(aw_nr580_spi_info));