ar71xx: enable access to the WAN port PHY on a few devices, adds WAN link detection
[openwrt.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-tl-mr3x20.c
index 7e8ab4c..8bf853b 100644 (file)
@@ -130,6 +130,7 @@ static void __init tl_mr3x20_setup(void)
        ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
        ar71xx_eth0_data.speed = SPEED_100;
        ar71xx_eth0_data.duplex = DUPLEX_FULL;
+       ar71xx_eth0_data.phy_mask = BIT(4);
 
        /* LAN ports */
        ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;