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)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 3 Oct 2022 11:23:41 +0000 (13:23 +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>
target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts
target/linux/ramips/mt7621/base-files/etc/board.d/02_network

index fc1a00a1c9095623586e3a266a179beef5dd676e..aec8a0494d12433927fd72577cf32e02bb6aa417 100644 (file)
                        status = "okay";
                        label = "lan3";
                };
-
-               port@4 {
-                       status = "okay";
-                       label = "lan4";
-               };
        };
 };
 
index 15aa9aefcca89436bd9262c77b4f975fa4bf51b1..0a05017fd753549129af580ba1368a339bd3ffa2 100644 (file)
@@ -29,6 +29,7 @@ ramips_setup_interfaces()
                ucidef_set_interface_lan "lan"
                ;;
        ampedwireless,ally-r1900k|\
+       asus,rt-ax53u|\
        gehua,ghl-r-001|\
        h3c,tx1800-plus|\
        h3c,tx1801-plus|\