ath79: fix gigabit link pll-data for EX7300
authorDaniel Gimpelevich <[email protected]>
Thu, 17 Oct 2019 10:42:52 +0000 (03:42 -0700)
committerDavid Bauer <[email protected]>
Mon, 21 Oct 2019 07:08:58 +0000 (09:08 +0200)
The device did not appear to be reachable unless the connection were
forced to 100Mb or lower. Revert to previously working pll-data.

Also fix the phy-mode to represent the actual state needed for ethernet
to function.

Reported-by: Moritz Schreiber <[email protected]>
Signed-off-by: Daniel Gimpelevich <[email protected]>
[add remark about phy-mode property]
Signed-off-by: David Bauer <[email protected]>
(cherry picked from commit ee41b602a2a2ced06c26e6edc160b2a5e9619f0d)

target/linux/ath79/dts/qca9558_netgear_ex7300.dtsi

index 21c25a571788fd3f8ff21c1f95e1effa674e3df5..285601f3cf7134e080b350cc21895f6b75b661f7 100644 (file)
        mtd-mac-address = <&caldata 0x00>;
 
        phy-handle = <&phy4>;
-       phy-mode = "rgmii";
+       phy-mode = "rgmii-rxid";
 
-       pll-data = <0x83000000 0x80000101 0x80001313>;
+       pll-data = <0x86000000 0x80000101 0x80001313>;
 };