aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-10-29 17:29:38 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-10-29 17:29:38 +0000
commit5c333646cc27a3e13843827da6ddf8dfb101db3f (patch)
tree22008d1f22874753a2d422ca6ed4ee44bca073b5 /target/linux
parent1cee0e872c3e1b12abdf598cbdb2605d42d3601d (diff)
downloadupstream-5c333646cc27a3e13843827da6ddf8dfb101db3f.tar.gz
upstream-5c333646cc27a3e13843827da6ddf8dfb101db3f.tar.bz2
upstream-5c333646cc27a3e13843827da6ddf8dfb101db3f.zip
AA: ar71xx: fix link speed between AR7242 and AR8327 on the RB750GL/RB751G boards
Bacport of r33993. The default pll_1000 value had to be changed in order to make it working. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33994 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c
index bee8bdf9c2..71d48679d2 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c
@@ -186,7 +186,7 @@ static struct ar8327_platform_data rb750gr3_ar8327_data = {
.pad0_cfg = &rb750gr3_ar8327_pad0_cfg,
.cpuport_cfg = {
.force_link = 1,
- .speed = AR8327_PORT_SPEED_100,
+ .speed = AR8327_PORT_SPEED_1000,
.duplex = 1,
.txpause = 1,
.rxpause = 1,
@@ -261,6 +261,7 @@ static void __init rb750gr3_setup(void)
ath79_init_mac(ath79_eth0_data.mac_addr, ath79_mac_base, 0);
ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
ath79_eth0_data.phy_mask = BIT(0);
+ ath79_eth0_pll_data.pll_1000 = 0x62000000;
ath79_register_eth(0);