ar71xx: add v4.14 support
[openwrt/staging/stintel.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-fritz450e.c
index e48ddd65e7c37d6955824a158aa03316b6b52108..83127e4c6495d8ccd4998aec664ff6ba55279f63 100644 (file)
@@ -122,13 +122,14 @@ static struct gpio_keys_button fritz450E_gpio_keys[] __initdata = {
 static struct at803x_platform_data fritz450E_at803x_data = {
        .disable_smarteee = 1,
        .has_reset_gpio = 1,
+       .override_sgmii_aneg = 1,
        .reset_gpio = FRITZ450E_GPIO_PHY_RESET,
 };
 
 static struct mdio_board_info fritz450E_mdio_info[] = {
        {
                .bus_id = "ag71xx-mdio.1",
-               .phy_addr = FRITZ450E_PHY_ADDRESS,
+               .mdio_addr = FRITZ450E_PHY_ADDRESS,
                .platform_data = &fritz450E_at803x_data,
        },
 };