summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDirk Buchwalder <buchwalder@posteo.de>2023-11-24 15:56:39 +0100
committerChristian Marangi <ansuelsmth@gmail.com>2023-12-13 17:32:36 +0100
commit9b598ec8d5585ca81cd472ca1d1b4f93d18dc3d5 (patch)
treeb4aec427a1b59604c1a63861cd7aae6cc6fa518c /target
parentfbcda3616e2c18b533a552fad9b724a636bcae5e (diff)
downloadopenwrt-9b598ec8d5585ca81cd472ca1d1b4f93d18dc3d5.tar.gz
openwrt-9b598ec8d5585ca81cd472ca1d1b4f93d18dc3d5.tar.bz2
openwrt-9b598ec8d5585ca81cd472ca1d1b4f93d18dc3d5.zip
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@uniurb.it> Signed-off-by: Dirk Buchwalder <buchwalder@posteo.de> Reviewed-by: Robert Marko <robimarko@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8071-eap102.dts16
1 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8071-eap102.dts b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8071-eap102.dts
index 7067f92968..d40b3f0d24 100644
--- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8071-eap102.dts
+++ b/target/linux/qualcommax/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;
};
@@ -343,8 +343,8 @@
&switch {
status = "okay";
- switch_lan_bmp = <ESS_PORT6>; /* lan port bitmap */
- switch_wan_bmp = <ESS_PORT5>; /* wan port bitmap */
+ switch_lan_bmp = <ESS_PORT5>; /* lan port bitmap */
+ switch_wan_bmp = <ESS_PORT6>; /* wan port bitmap */
switch_mac_mode1 = <MAC_MODE_SGMII_CHANNEL0>; /* mac mode for uniphy instance1*/
switch_mac_mode2 = <MAC_MODE_SGMII_CHANNEL0>; /* mac mode for uniphy instance2*/
@@ -368,14 +368,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 {