diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-2055-a1.dts b/target/linux/ramips/dts/mt7621_dlink_dir-2055-a1.dts new file mode 100644 index 00000000000..b1c89a4b014 --- /dev/null +++ b/target/linux/ramips/dts/mt7621_dlink_dir-2055-a1.dts @@ -0,0 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include "mt7621_dlink_dir_nand_128m.dtsi" + +/ { + compatible = "dlink,dir-2055-a1", "mediatek,mt7621-soc"; + model = "D-Link DIR-2055 A1"; +}; diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index ff071213efa..8886456bbbe 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -771,6 +771,14 @@ define Device/dlink_dir-1960-a1 endef TARGET_DEVICES += dlink_dir-1960-a1 +define Device/dlink_dir-2055-a1 + $(Device/dlink_dir_nand_128m) + DEVICE_PACKAGES += -kmod-usb-ledtrig-usbport + DEVICE_MODEL := DIR-2055 + DEVICE_VARIANT := A1 +endef +TARGET_DEVICES += dlink_dir-2055-a1 + define Device/dlink_dir-2150-a1 $(Device/dlink_dir_nand_128m) DEVICE_MODEL := DIR-2150 diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds index 36c7d9e97a5..21b1e8ea916 100644 --- a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds @@ -92,6 +92,7 @@ dlink,dap-x1860-a1) ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:rssihigh" "wlan1" "76" "100" ;; dlink,dir-1960-a1|\ +dlink,dir-2055-a1|\ dlink,dir-2150-a1|\ dlink,dir-2640-a1|\ dlink,dir-2660-a1) diff --git a/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh b/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh index 3c8c4b36eef..46ca89e991b 100755 --- a/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh @@ -71,6 +71,7 @@ platform_do_upgrade() { dlink,covr-x1860-a1|\ dlink,dap-x1860-a1|\ dlink,dir-1960-a1|\ + dlink,dir-2055-a1|\ dlink,dir-2150-a1|\ dlink,dir-2640-a1|\ dlink,dir-2660-a1|\