summaryrefslogtreecommitdiff
path: root/target/linux/ath79
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2018-08-09 16:10:13 +0200
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2018-08-09 17:24:39 +0100
commit65556127832c6b9c87a8b97ca2f937b799088c87 (patch)
treecaa104416e51f08d095c43be3cc6c747f87c7a0a /target/linux/ath79
parent995a1ba841232fa993da82406f0f83f5eed64d6b (diff)
downloadmtk-20170518-65556127832c6b9c87a8b97ca2f937b799088c87.zip
mtk-20170518-65556127832c6b9c87a8b97ca2f937b799088c87.tar.gz
mtk-20170518-65556127832c6b9c87a8b97ca2f937b799088c87.tar.bz2
ath79: fix PLL settings for QCA955x
This adds PLL settings for the ethernet ports of the TP-Link TL-WR1043 v2/v3 and the Openmesh OM5P-AC-v2. We also change the PLL-settings in the qca9557.dtsi to match the ones used as default on the ar71xx target. As of 4b9680f138 those devices have broken ethernet ports as the default PLL settings defined in the QCA9557.dtsi are applied which are off for those devices. Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ath79')
-rw-r--r--target/linux/ath79/dts/qca9557.dtsi4
-rw-r--r--target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts4
-rw-r--r--target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi4
3 files changed, 10 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/qca9557.dtsi b/target/linux/ath79/dts/qca9557.dtsi
index 992ccff..379e257 100644
--- a/target/linux/ath79/dts/qca9557.dtsi
+++ b/target/linux/ath79/dts/qca9557.dtsi
@@ -298,7 +298,7 @@
pll-reg = <0 0x28 0>;
pll-handle = <&pll>;
- pll-data = <0x82000101 0x80000101 0x80001313>;
+ pll-data = <0x16000000 0x00000101 0x00001616>;
phy-mode = "rgmii";
resets = <&rst 9>;
@@ -316,7 +316,7 @@
pll-reg = <0 0x48 0>;
pll-handle = <&pll>;
- pll-data = <0x82000101 0x80000101 0x80001313>;
+ pll-data = <0x16000000 0x00000101 0x00001616>;
phy-mode = "sgmii";
resets = <&rst 13>;
diff --git a/target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts b/target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts
index 097e44b..8794718 100644
--- a/target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts
+++ b/target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts
@@ -155,6 +155,8 @@
&eth0 {
status = "okay";
+ pll-data = <0x82000101 0x80000101 0x80001313>;
+
phy-handle = <&phy4>;
phy-mode = "rgmii";
};
@@ -162,6 +164,8 @@
&eth1 {
status = "okay";
+ pll-data = <0x03000101 0x80000101 0x80001313>;
+
phy-handle = <&phy1>;
phy-mode = "sgmii";
};
diff --git a/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi b/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi
index 52041b8..fb08f86 100644
--- a/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi
+++ b/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi
@@ -155,6 +155,8 @@
&eth0 {
status = "okay";
+ pll-data = <0x56000000 0x00000101 0x00001616>;
+
mtd-mac-address = <&uboot 0x1fc00>;
mtd-mac-address-increment = <1>;
phy-handle = <&phy0>;
@@ -163,6 +165,8 @@
&eth1 {
status = "okay";
+ pll-data = <0x03000101 0x00000101 0x00001616>;
+
mtd-mac-address = <&uboot 0x1fc00>;
fixed-link {