The ZBT-WG3526 is available with 16 or 32 MByte of flash. Rename the
current supported 16MByte version to indicate which flash size variant
is supported.
Signed-off-by: Mathias Kresin <dev@kresin.me>
zbt-we1326|\
zbt-we826|\
zbt-wg2626|\
zbt-we1326|\
zbt-we826|\
zbt-wg2626|\
zbt-wr8305rt)
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
zbt-wr8305rt)
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
rut5xx|\
v11st-fe|\
wmr-300|\
rut5xx|\
v11st-fe|\
wmr-300|\
- zbt-wg2626|\
- zbt-wg3526)
status_led="$board:green:status"
;;
ai-br100|\
status_led="$board:green:status"
;;
ai-br100|\
zbt-cpe102)
status_led="$board:green:4g-0"
;;
zbt-cpe102)
status_led="$board:green:4g-0"
;;
+ zbt-wg3526-16M)
+ status_led="zbt-wg3526:green:status"
+ ;;
*"ZBT-WG2626")
name="zbt-wg2626"
;;
*"ZBT-WG2626")
name="zbt-wg2626"
;;
- *"ZBT-WG3526")
- name="zbt-wg3526"
+ *"ZBT-WG3526 (16M)")
+ name="zbt-wg3526-16M"
;;
*"ZBT-WR8305RT")
name="zbt-wr8305rt"
;;
*"ZBT-WR8305RT")
name="zbt-wr8305rt"
zbt-we2026|\
zbt-we826|\
zbt-wg2626|\
zbt-we2026|\
zbt-we826|\
zbt-wg2626|\
zbt-wr8305rt|\
zte-q7|\
youku-yk1)
zbt-wr8305rt|\
zte-q7|\
youku-yk1)
--- /dev/null
+/dts-v1/;
+
+#include "ZBT-WG3526.dtsi"
+
+/ {
+ model = "ZBT-WG3526 (16M)";
+};
+
+&firmware {
+ reg = <0x50000 0xfb0000>;
+};
+
+&status_led {
+ label = "zbt-wg3526:green:status";
+};
+++ /dev/null
-/dts-v1/;
-
-#include "ZBT-WG3526.dtsi"
-
-/ {
- model = "ZBT-WG3526";
-};
-
-&firmware {
- reg = <0x50000 0xfb0000>;
-};
-
-&status_led {
- label = "zbt-wg3526:green:status";
-};
endef
TARGET_DEVICES += zbt-wg2626
endef
TARGET_DEVICES += zbt-wg2626
-define Device/zbt-wg3526
- DTS := ZBT-WG3526
+define Device/zbt-wg3526-16M
+ DTS := ZBT-WG3526-16M
IMAGE_SIZE := $(ralink_default_fw_size_16M)
IMAGE_SIZE := $(ralink_default_fw_size_16M)
- DEVICE_TITLE := ZBT WG3526
+ SUPPORTED_DEVICES += zbt-wg3526
+ DEVICE_TITLE := ZBT WG3526 (16MB flash)
DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport kmod-ata-core kmod-ata-ahci kmod-sdhci-mt7620
endef
DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport kmod-ata-core kmod-ata-ahci kmod-sdhci-mt7620
endef
-TARGET_DEVICES += zbt-wg3526
+TARGET_DEVICES += zbt-wg3526-16M
# FIXME: is this still needed?
define Image/Prepare
# FIXME: is this still needed?
define Image/Prepare