From 995a1ba841232fa993da82406f0f83f5eed64d6b Mon Sep 17 00:00:00 2001 From: Kevin Darbyshire-Bryant Date: Thu, 9 Aug 2018 16:41:52 +0100 Subject: 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 c7 fix only split out by: Signed-off-by: Kevin Darbyshire-Bryant --- target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi b/target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi index 70c8f63fbb..d6fb29ecfa 100644 --- a/target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi +++ b/target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi @@ -167,6 +167,7 @@ mtd-mac-address = <&uboot 0x1fc00>; mtd-mac-address-increment = <1>; phy-handle = <&phy0>; + pll-data = <0x56000000 0x00000101 0x00001616>; gmac-config { device = <&gmac>; @@ -178,6 +179,7 @@ status = "okay"; mtd-mac-address = <&uboot 0x1fc00>; + pll-data = <0x03000101 0x00000101 0x00001616>; fixed-link { speed = <1000>; -- cgit v1.2.3