ramips: fix switch setup for ASUS RT-AX53U
authorMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 3 Oct 2022 11:23:41 +0000 (13:23 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 3 Oct 2022 17:51:50 +0000 (19:51 +0200)
The device has only 1 WAN + 3 LAN ports. Remove "lan4" interface
corresponding to the non-existing port.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
(cherry picked from commit 149fc3a269b435483b31df03d6fd9679286cf9e7)

target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts
target/linux/ramips/mt7621/base-files/etc/board.d/02_network

index 790f6cecb54e331ac789b1785b439e03773f903b..2df8b749df80e5f1bd30aeaf93aa17e780491211 100644 (file)
                        status = "okay";
                        label = "lan3";
                };
-
-               port@4 {
-                       status = "okay";
-                       label = "lan4";
-               };
        };
 };
 
index ad560a4ec09083398b25e561ec4793762b7db012..4b273e5a152244d43e805b85f4bd105227992682 100644 (file)
@@ -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|\