[FS#3481] ath79: Ethernet broken on 2-port TPLink CPE510v1

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Sun Nov 29 07:01:18 EST 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#3481 - ath79: Ethernet broken on 2-port TPLink CPE510v1
User who did this - Bluse-Blue (Bluse)

----------
the code I have pasted in the ticket for testing some dts changes had a c&p prob, the first letter was missing .. here is our testing code which brings ethernet back working but is not yet proper in terms of naming and wanrings:


diff --git a/target/linux/ath79/dts/ar9344_tplink_cpe.dtsi b/target/linux/ath79/dts/ar9344_tplink_cpe.dtsi
index 07c3fc052662..572a00bf4628 100644
--- a/target/linux/ath79/dts/ar9344_tplink_cpe.dtsi
+++ b/target/linux/ath79/dts/ar9344_tplink_cpe.dtsi
@@ -103,14 +103,6 @@
        mtd-mac-address = ;
 };

-&eth0 {
-       status = "okay";
-
-       phy-handle = ;
-
-       mtd-mac-address = ;
-};
-
 &eth1 {
        status = "okay";
 };
diff --git a/target/linux/ath79/dts/ar9344_tplink_cpe_1port.dtsi b/target/linux/ath79/dts/ar9344_tplink_cpe_1port.dtsi
index a1dca810936f..df41270c23af 100644
--- a/target/linux/ath79/dts/ar9344_tplink_cpe_1port.dtsi
+++ b/target/linux/ath79/dts/ar9344_tplink_cpe_1port.dtsi
@@ -40,6 +40,14 @@
        };
 };

+&eth0 {
+       status = "okay";
+
+       phy-handle = ;
+
+       mtd-mac-address = ;
+};
+
 &eth1 {
        compatible = "syscon", "simple-mfd";
 };
diff --git a/target/linux/ath79/dts/ar934x.dtsi b/target/linux/ath79/dts/ar934x.dtsi
index b1339ab36a7f..c32d6a3b66fe 100644
--- a/target/linux/ath79/dts/ar934x.dtsi
+++ b/target/linux/ath79/dts/ar934x.dtsi
@@ -270,7 +270,7 @@
 };

 &eth1 {
-       compatible = "qca,ar9340-eth", "syscon";
+       compatible = "qca,ar9340-eth", "syscon", "simple-mfd";

        resets = , ;
        reset-names = "mac", "mdio";


----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3481#comment9065

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list