[openwrt/openwrt] ramips: fix switch setup for ASUS RT-AX53U

LEDE Commits lede-commits at lists.infradead.org
Mon Oct 3 15:13:40 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/25747a4c0476b3ca537875cedad12aaa39a388ff

commit 25747a4c0476b3ca537875cedad12aaa39a388ff
Author: Matthias Schiffer <mschiffer at universe-factory.net>
AuthorDate: Mon Oct 3 13:23:41 2022 +0200

    ramips: fix switch setup for ASUS RT-AX53U
    
    The device has only 1 WAN + 3 LAN ports. Remove "lan4" interface
    corresponding to the non-existing port.
    
    Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
    (cherry picked from commit 149fc3a269b435483b31df03d6fd9679286cf9e7)
---
 target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts             | 5 -----
 target/linux/ramips/mt7621/base-files/etc/board.d/02_network | 1 +
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts b/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts
index 790f6cecb5..2df8b749df 100644
--- a/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts
+++ b/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts
@@ -147,11 +147,6 @@
 			status = "okay";
 			label = "lan3";
 		};
-
-		port at 4 {
-			status = "okay";
-			label = "lan4";
-		};
 	};
 };
 
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
index ad560a4ec0..4b273e5a15 100644
--- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
@@ -25,6 +25,7 @@ ramips_setup_interfaces()
 		ucidef_set_interface_lan "lan"
 		;;
 	ampedwireless,ally-r1900k|\
+	asus,rt-ax53u|\
 	gehua,ghl-r-001|\
 	hiwifi,hc5962|\
 	netgear,wax202|\




More information about the lede-commits mailing list