ar71xx: Add pll_1000 value for eth0 to Ubiquiti Rocket M XW
[openwrt/staging/lynxis/omap.git] / target / linux / ar71xx / patches-3.18 / 903-MIPS-ath79-ubnt-rocket-m-xw-support.patch
index 1d461eb64233bd34748339f5690328d038882223..2cd386e545612d970795ccad0664b9c0cd28eacf 100644 (file)
@@ -10,7 +10,7 @@
        ATH79_MACH_UBNT_UAP_PRO,        /* Ubiquiti UniFi AP Pro */
 --- a/arch/mips/ath79/mach-ubnt-xm.c
 +++ b/arch/mips/ath79/mach-ubnt-xm.c
-@@ -449,12 +449,42 @@ static void __init ubnt_loco_m_xw_setup(
+@@ -449,12 +449,43 @@ static void __init ubnt_loco_m_xw_setup(
        ath79_register_eth(0);
  }
  
@@ -38,6 +38,7 @@
 +      
 +      ath79_register_mdio(0, ~BIT(4));
 +      ath79_eth0_data.phy_mask = BIT(4);
++      ath79_eth0_pll_data.pll_1000 = 0x06000000;
 +      ath79_register_eth(0);
 +}
 +