Skip to content

Commit

Permalink
ath79: fix link for long cables with OCEDO Raccoon
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
blocktrron committed Mar 25, 2022
1 parent 62fd9f9 commit 4551bfd
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion target/linux/ath79/dts/ar9344_ocedo_raccoon.dts
Expand Up @@ -152,19 +152,30 @@

phy0: ethernet-phy@0 {
reg = <0>;
eee-broken-100tx;
eee-broken-1000t;
};
};

&eth0 {
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 {
Expand Down

0 comments on commit 4551bfd

Please sign in to comment.