summaryrefslogtreecommitdiff
path: root/target/linux/ath79
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2018-08-09 16:41:52 +0100
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2018-08-09 17:04:59 +0100
commit995a1ba841232fa993da82406f0f83f5eed64d6b (patch)
treec90c8404d6a5d904797f88e35b1e48b7b7d8653a /target/linux/ath79
parente0fbf62821eb2d06badf393ac2c62570aaf85ccd (diff)
downloadmtk-20170518-995a1ba841232fa993da82406f0f83f5eed64d6b.zip
mtk-20170518-995a1ba841232fa993da82406f0f83f5eed64d6b.tar.gz
mtk-20170518-995a1ba841232fa993da82406f0f83f5eed64d6b.tar.bz2
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>
Diffstat (limited to 'target/linux/ath79')
-rw-r--r--target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi b/target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi
index 70c8f63..d6fb29e 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>;