[openwrt/openwrt] ipq807x: fix edgecore EAP102 lan/wan

LEDE Commits lede-commits at lists.infradead.org
Wed Dec 13 08:34:49 PST 2023


ansuel pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/fcf08d9db6a50a3ca6f0b64d105d975ab896cc35

commit fcf08d9db6a50a3ca6f0b64d105d975ab896cc35
Author: Dirk Buchwalder <buchwalder at posteo.de>
AuthorDate: Fri Nov 24 15:56:39 2023 +0100

    ipq807x: fix edgecore EAP102 lan/wan
    
    We have a report in the forum, that lan/wan is non-functional
    on the EAP102 (https://forum.openwrt.org/t/edgecore-eap102/178449)
    
    Fixing that by swapping label and phy-handle of the dp-nodes and
    updating the lan/wan bmp.
    
    Note: the original commiter of the device support seems absent for a
    long time in the forum and on the OpenWrt github group.
    
    Tested-by: Antonio Della Selva <antonio.dellaselva at uniurb.it>
    Signed-off-by: Dirk Buchwalder <buchwalder at posteo.de>
    Reviewed-by: Robert Marko <robimarko at gmail.com>
    (cherry picked from commit 9b598ec8d5585ca81cd472ca1d1b4f93d18dc3d5)
    [ fix conflicts errors ]
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 .../files/arch/arm64/boot/dts/qcom/ipq8071-eap102.dts        | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/target/linux/ipq807x/files/arch/arm64/boot/dts/qcom/ipq8071-eap102.dts b/target/linux/ipq807x/files/arch/arm64/boot/dts/qcom/ipq8071-eap102.dts
index 357b6368d9..32ed6bd5af 100644
--- a/target/linux/ipq807x/files/arch/arm64/boot/dts/qcom/ipq8071-eap102.dts
+++ b/target/linux/ipq807x/files/arch/arm64/boot/dts/qcom/ipq8071-eap102.dts
@@ -21,8 +21,8 @@
 		led-running = &led_system_green;
 		led-upgrade = &led_system_green;
 		/* Aliases as required by u-boot to patch MAC addresses */
-		ethernet0 = &dp5;
-		ethernet1 = &dp6;
+		ethernet0 = &dp6;
+		ethernet1 = &dp5;
 		label-mac-device = &dp5;
 	};
 
@@ -372,14 +372,14 @@
 
 &dp5 {
 	status = "okay";
-	phy-handle = <&qca8081_28>;
-	label = "wan";
+	phy-handle = <&qca8081_24>;
+	label = "lan";
 };
 
 &dp6 {
 	status = "okay";
-	phy-handle = <&qca8081_24>;
-	label = "lan";
+	phy-handle = <&qca8081_28>;
+	label = "wan";
 };
 
 &wifi {




More information about the lede-commits mailing list