ath79: fix gigabit link pll-data for EX7300
authorDaniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
Thu, 17 Oct 2019 10:42:52 +0000 (03:42 -0700)
committerDavid Bauer <mail@david-bauer.net>
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 <moritz@mosos.de>
Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
[add remark about phy-mode property]
Signed-off-by: David Bauer <mail@david-bauer.net>
(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>;
 };