]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ramips: add support for I-O DATA WN-AX2033GR2 22762/head
authorHiroki Utsunomiya <hu-git-ja@proton.me>
Fri, 3 Apr 2026 15:36:28 +0000 (00:36 +0900)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 13 Apr 2026 00:14:26 +0000 (02:14 +0200)
I-O DATA WN-AX2033GR2 is roughly the same as I-O DATA WN-AX2033GR.
The difference is the Flash Memory (Macronix MX30LF1G18AC).

Specification
=============
- SoC: MediaTek MT7621A
- RAM: DDR3 128 MiB
- Flash Memory: NAND 128 MiB (Macronix MX30LF1G18AC)
- Wi-Fi: MediaTek MT7603E
- Wi-Fi: MediaTek MT7615
- Ethernet: 5x 10 Mbps / 100 Mbps / 1000 Mbps (1x WAN, 4x LAN)
- LED: 2x green LED
- Input: 2x tactile switch, 1x slide switch
- Power: DC 12V

Flash instruction
=================
1. Open the router management page (192.168.0.1).
2. Update router firmware using "initramfs-kernel.bin".
3. After updating, run sysupgrade with "sysupgrade.bin".

Signed-off-by: Hiroki Utsunomiya <hu-git-ja@proton.me>
Link: https://github.com/openwrt/openwrt/pull/22762
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ramips/dts/mt7621_iodata_wn-ax2033gr2.dts [new file with mode: 0644]
target/linux/ramips/image/mt7621.mk
target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh

diff --git a/target/linux/ramips/dts/mt7621_iodata_wn-ax2033gr2.dts b/target/linux/ramips/dts/mt7621_iodata_wn-ax2033gr2.dts
new file mode 100644 (file)
index 0000000..eb657ae
--- /dev/null
@@ -0,0 +1,36 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "mt7621_iodata_wn-xx-xr.dtsi"
+
+/ {
+       compatible = "iodata,wn-ax2033gr2", "mediatek,mt7621-soc";
+       model = "I-O DATA WN-AX2033GR2";
+};
+
+&partitions {
+       partition@6b00000 {
+               label = "Backup";
+               reg = <0x6b00000 0x1480000>;
+               read-only;
+       };
+};
+
+&pcie0 {
+       wifi@0,0 {
+               compatible = "mediatek,mt76";
+               reg = <0x0000 0 0 0 0>;
+               nvmem-cells = <&eeprom_factory_0>;
+               nvmem-cell-names = "eeprom";
+               ieee80211-freq-limit = <2400000 2483000>;
+       };
+};
+
+&pcie1 {
+       wifi@0,0 {
+               compatible = "mediatek,mt76";
+               reg = <0x0000 0 0 0 0>;
+               nvmem-cells = <&eeprom_factory_8000>;
+               nvmem-cell-names = "eeprom";
+               ieee80211-freq-limit = <5000000 5710000>;
+       };
+};
index 77448610f9faacc1e95eb9309341f47a936d3991..cd595e72c43948dcef85363baebb0ec5f416a74a 100644 (file)
@@ -1753,6 +1753,15 @@ define Device/iodata_wn-ax2033gr
 endef
 TARGET_DEVICES += iodata_wn-ax2033gr
 
+define Device/iodata_wn-ax2033gr2
+  $(Device/iodata_nand)
+  DEVICE_MODEL := WN-AX2033GR2
+  KERNEL_INITRAMFS := $(KERNEL_DTB) | loader-kernel | lzma | \
+       uImage lzma -M 0x434f4d42 -n '3.10(XBH.0)b50' | iodata-mstc-header
+  DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware -uboot-envtools
+endef
+TARGET_DEVICES += iodata_wn-ax2033gr2
+
 define Device/iodata_wn-deax1800gr
   $(Device/dsa-migration)
   DEVICE_VENDOR := I-O DATA
index f91f82d76c3b8f2332c22f742f41f1427cb6280d..f80d9d9266408437e9db0502a87e9618026fc42f 100644 (file)
@@ -178,6 +178,7 @@ platform_do_upgrade() {
                ;;
        iodata,wn-ax1167gr2|\
        iodata,wn-ax2033gr|\
+       iodata,wn-ax2033gr2|\
        iodata,wn-dx1167r|\
        iodata,wn-dx2033gr)
                iodata_mstc_set_flag "debugflag" "factory" "0xfe75" "0,1" "1"