ath79: add pll for archer c7

commit 4b9680f fixed pll settings and the correct pll set
by bootloader is overrided by value in qca9557.dtsi which
is incorrect for Archer C7 and breaks ethernet. Add pll
values for archer c7 to fix ethernet connection.

This individual pll tweak has been cherry picked from github pr 1260
which changes a couple of things in a single commit and should be
ideally split.  This commit get archer v7 back and working.

Tested: archer c7 v2

Original combined commit authored by:
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
c7 fix only split out by:
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
This commit is contained in:
Kevin Darbyshire-Bryant 2018-08-09 16:41:52 +01:00
parent e0fbf62821
commit 995a1ba841

View file

@ -167,6 +167,7 @@
mtd-mac-address = <&uboot 0x1fc00>; mtd-mac-address = <&uboot 0x1fc00>;
mtd-mac-address-increment = <1>; mtd-mac-address-increment = <1>;
phy-handle = <&phy0>; phy-handle = <&phy0>;
pll-data = <0x56000000 0x00000101 0x00001616>;
gmac-config { gmac-config {
device = <&gmac>; device = <&gmac>;
@ -178,6 +179,7 @@
status = "okay"; status = "okay";
mtd-mac-address = <&uboot 0x1fc00>; mtd-mac-address = <&uboot 0x1fc00>;
pll-data = <0x03000101 0x00000101 0x00001616>;
fixed-link { fixed-link {
speed = <1000>; speed = <1000>;