aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2020-12-30 21:56:55 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-01-19 15:39:36 +0100
commit7b772e07ea0cf637994a2c5631c1f28756c6b5a3 (patch)
tree844e1223626115b07d9eaba0a893d5d836ba589d /target/linux
parentd9a3af46d8a1001223c2a327f449b7048d0fd5f6 (diff)
downloadupstream-7b772e07ea0cf637994a2c5631c1f28756c6b5a3.tar.gz
upstream-7b772e07ea0cf637994a2c5631c1f28756c6b5a3.tar.bz2
upstream-7b772e07ea0cf637994a2c5631c1f28756c6b5a3.zip
ath79: apply Engenius EAP600 style to OpenMesh MR600 RGMII cfg
The OpenMesh MR600 is a modified version of the EAP600 family. These devices are shipped with an AR803x PHY and had various problems with the delay configuration in ar71xx. These problems are now in the past [1] and parts of the delay configuration should now be done in the PHY only. Just switch to the configuration of the EAP600 to have an already well tested configuration for ath79 with the newer kernel versions. [1] https://github.com/openwrt/openwrt/pull/3505#issuecomment-716050292 Reported-by: Michael Pratt <mcpratt@pm.me> Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ath79/dts/ar9344_openmesh_mr600.dtsi6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/ar9344_openmesh_mr600.dtsi b/target/linux/ath79/dts/ar9344_openmesh_mr600.dtsi
index 987a32e344..8517576787 100644
--- a/target/linux/ath79/dts/ar9344_openmesh_mr600.dtsi
+++ b/target/linux/ath79/dts/ar9344_openmesh_mr600.dtsi
@@ -99,16 +99,18 @@
&eth0 {
status = "okay";
- pll-data = <0x06000000 0x00000101 0x00001313>;
+ pll-data = <0x02000000 0x00000101 0x00001313>;
mtd-mac-address = <&art 0x0>;
- phy-mode = "rgmii";
+ phy-mode = "rgmii-id";
phy-handle = <&phy0>;
gmac-config {
device = <&gmac>;
rgmii-gmac0 = <1>;
+ rxdv-delay = <3>;
+ rxd-delay = <3>;
};
};