mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-19 06:54:58 +01:00
aw-nr580: add support for the LAN ports
SVN-Revision: 14685
This commit is contained in:
parent
c7074a84f4
commit
5842bd91b6
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user