aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-06-14 17:43:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-06-14 17:43:18 +0000
commit956f2da49e5f3ef4f1fa0fa3f302558c0d60351b (patch)
tree4c327b98b21d2e263de84456203b9e74e6c84f5e
parent2e0d07f426ec71a355d9f9dfb551d8b4a811f811 (diff)
downloadupstream-956f2da49e5f3ef4f1fa0fa3f302558c0d60351b.tar.gz
upstream-956f2da49e5f3ef4f1fa0fa3f302558c0d60351b.tar.bz2
upstream-956f2da49e5f3ef4f1fa0fa3f302558c0d60351b.zip
ar71xx: Add pll_1000 value for eth0 to Ubiquiti Rocket M XW
This patch adds the pll_1000 value for eth0 interface. This makes the Rocket M XW image compatible with other Ubiquiti devices with similar hardware with a Gigabit Ethernet port. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45965 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar71xx/patches-3.18/903-MIPS-ath79-ubnt-rocket-m-xw-support.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ar71xx/patches-3.18/903-MIPS-ath79-ubnt-rocket-m-xw-support.patch b/target/linux/ar71xx/patches-3.18/903-MIPS-ath79-ubnt-rocket-m-xw-support.patch
index 1d461eb642..2cd386e545 100644
--- a/target/linux/ar71xx/patches-3.18/903-MIPS-ath79-ubnt-rocket-m-xw-support.patch
+++ b/target/linux/ar71xx/patches-3.18/903-MIPS-ath79-ubnt-rocket-m-xw-support.patch
@@ -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);
+}
+