Skip to content

Commit

Permalink
ath79: fix eth0 PLL registers on WD My Net Wi-Fi Range Extender
Browse files Browse the repository at this point in the history
This replaces the register bits for RGMII delay on the MAC side in favor
of having the RGMII delay on the PHY side by setting the phy-mode
property to rgmii-id (RGMII internal delay), which is supported by the
at803x driver.  Speed 1000 is fixed as a result, so now all ethernet
speeds function.

Signed-off-by: Jonathan A. Kollasch <jakllsch@kollasch.net>
Reviewed-by: Michael Pratt <mcpratt@pm.me>
  • Loading branch information
jakllsch authored and adschm committed Jun 6, 2021
1 parent 3e0387b commit f36990e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions target/linux/ath79/dts/ar9344_wd_mynet-wifi-rangeextender.dts
Expand Up @@ -144,10 +144,10 @@
&eth0 {
status = "okay";

pll-data = <0x0e000000 0x3c000101 0x3c001313>;
pll-data = <0x02000000 0x00000101 0x00001313>;

/* ethernet MAC is stored in nvram */
phy-mode = "rgmii";
phy-mode = "rgmii-id";
phy-handle = <&phy4>;

gmac-config {
Expand Down

0 comments on commit f36990e

Please sign in to comment.