diff --git a/target/linux/realtek/base-files/etc/board.d/02_network b/target/linux/realtek/base-files/etc/board.d/02_network index c3951b591e1..839dcd85f21 100644 --- a/target/linux/realtek/base-files/etc/board.d/02_network +++ b/target/linux/realtek/base-files/etc/board.d/02_network @@ -91,7 +91,8 @@ d-link,dgs-1210-28p-f) ucidef_set_poe 193 "lan8 lan7 lan6 lan5 lan4 lan3 lan2 lan1 lan16 lan15 lan14 lan13 lan12 lan11 lan10 lan9 lan24 lan23 lan22 lan21 lan20 lan19 lan18 lan17" ;; -engenius,ews2910p-v1) +engenius,ews2910p-v1|\ +engenius,ews2910p-v3) ucidef_set_poe 60 "$(filter_port_list "$lan_list" "lan9 lan10")" ;; hpe,1920-8g-poe-65w) diff --git a/target/linux/realtek/dts/rtl8380_engenius_ews2910p-v3.dts b/target/linux/realtek/dts/rtl8380_engenius_ews2910p-v3.dts new file mode 100644 index 00000000000..eeab91e7313 --- /dev/null +++ b/target/linux/realtek/dts/rtl8380_engenius_ews2910p-v3.dts @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "rtl8380_engenius_ews2910p.dtsi" + +/ { + compatible = "engenius,ews2910p-v3", "realtek,rtl838x-soc"; + model = "EnGenius EWS2910P v3"; +}; + +&firmware_partition_1 { + compatible = "openwrt,uimage"; + openwrt,ih-magic = <0x03010500>; +}; diff --git a/target/linux/realtek/image/rtl838x.mk b/target/linux/realtek/image/rtl838x.mk index 6e43317148b..714b69d90d5 100644 --- a/target/linux/realtek/image/rtl838x.mk +++ b/target/linux/realtek/image/rtl838x.mk @@ -102,6 +102,15 @@ define Device/engenius_ews2910p-v1 endef TARGET_DEVICES += engenius_ews2910p-v1 +define Device/engenius_ews2910p-v3 + $(Device/engenius_ews2910p) + SOC := rtl8380 + DEVICE_MODEL := EWS2910P + DEVICE_VARIANT := v3 + UIMAGE_MAGIC := 0x03010500 +endef +TARGET_DEVICES += engenius_ews2910p-v3 + define Device/hpe_1920-8g $(Device/hpe_1920) SOC := rtl8380