diff options
author | David Bauer <mail@david-bauer.net> | 2022-03-25 22:58:34 +0100 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2022-03-25 23:58:09 +0100 |
commit | 4551bfd91f31be5987727c77e58333fa06ba3acd (patch) | |
tree | d9191cd26d3bee1e1fd0af128009069856d536fd /target/linux/ath79/dts | |
parent | 62fd9f97090d05637a283d594f2d02958fd36a80 (diff) | |
download | upstream-4551bfd91f31be5987727c77e58333fa06ba3acd.tar.gz upstream-4551bfd91f31be5987727c77e58333fa06ba3acd.tar.bz2 upstream-4551bfd91f31be5987727c77e58333fa06ba3acd.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>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r-- | target/linux/ath79/dts/ar9344_ocedo_raccoon.dts | 13 |
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 e5e2067846..0bbeb2b533 100644 --- a/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts +++ b/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts @@ -152,19 +152,30 @@ phy0: ethernet-phy@0 { reg = <0>; + eee-broken-100tx; + eee-broken-1000t; }; }; ð0 { status = "okay"; - pll-data = <0x06000000 0x00000101 0x00001313>; + pll-data = <0x02000000 0x00000101 0x00001313>; nvmem-cells = <&macaddr_art_0>; nvmem-cell-names = "mac-address"; phy-mode = "rgmii-id"; phy-handle = <&phy0>; + + gmac-config { + device = <&gmac>; + rgmii-gmac0 = <1>; + rxdv-delay = <3>; + rxd-delay = <3>; + txen-delay = <0>; + txd-delay = <0>; + }; }; &art { |