From 149fc3a269b435483b31df03d6fd9679286cf9e7 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 3 Oct 2022 13:23:41 +0200 Subject: [PATCH] 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 --- 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 fc1a00a1c9..aec8a0494d 100644 --- a/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts +++ b/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts @@ -158,11 +158,6 @@ status = "okay"; label = "lan3"; }; - - port@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 15aa9aefcc..0a05017fd7 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 @@ -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|\ -- 2.30.2