summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2022-03-25 22:58:34 +0100
committerDavid Bauer <mail@david-bauer.net>2022-03-27 23:43:27 +0200
commita518a4f7863094f9b7f76707c011a187b7df4f5f (patch)
treecc1176c1962847de15fd268f058f34a100f79ccb
parentea0e521d3706a56256bee89aad7d1b8b24441d39 (diff)
downloadopenwrt-a518a4f7863094f9b7f76707c011a187b7df4f5f.tar.gz
openwrt-a518a4f7863094f9b7f76707c011a187b7df4f5f.tar.bz2
openwrt-a518a4f7863094f9b7f76707c011a187b7df4f5f.zip
ath79: fix link for long cables with OCEDO Raccoon
The OCEDO Raccoon had significant packet-loss with cables longer than 50 meter. Disabling EEE restores normal operation. Also change the ethernet config to reduce loss on sub-1G links. Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit 4551bfd91f31be5987727c77e58333fa06ba3acd)
-rw-r--r--target/linux/ath79/dts/ar9344_ocedo_raccoon.dts13
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts b/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts
index a1a912383f..96d2cf438a 100644
--- a/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts
+++ b/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts
@@ -163,16 +163,27 @@
phy0: ethernet-phy@0 {
reg = <0>;
phy-mode = "rgmii";
+ eee-broken-100tx;
+ eee-broken-1000t;
};
};
&eth0 {
status = "okay";
- pll-data = <0x06000000 0x00000101 0x00001313>;
+ pll-data = <0x02000000 0x00000101 0x00001313>;
mtd-mac-address = <&art 0x0>;
phy-mode = "rgmii";
phy-handle = <&phy0>;
+
+ gmac-config {
+ device = <&gmac>;
+ rgmii-gmac0 = <1>;
+ rxdv-delay = <3>;
+ rxd-delay = <3>;
+ txen-delay = <0>;
+ txd-delay = <0>;
+ };
};