ath79: support for TP-Link EAP225-Wall v2
[openwrt/openwrt.git] / tools / firmware-utils / src / tplink-safeloader.c
index dca68fa8a8953785244f402502782b0788b9c9fc..82166a9ebb17f95283068471007118d9e94b02d9 100644 (file)
@@ -1298,6 +1298,35 @@ static struct device_info boards[] = {
                .last_sysupgrade_partition = "file-system"
        },
 
+       /** Firmware layout for the EAP225-Wall v2 */
+       {
+               .id     = "EAP225-WALL-V2",
+               .support_list =
+                       "SupportList:\r\n"
+                       "EAP225-Wall(TP-Link|UN|AC1200-D):2.0\r\n",
+               .support_trail = '\xff',
+               .soft_ver = NULL,
+               .soft_ver_compat_level = 1,
+
+               .partitions = {
+                       {"fs-uboot", 0x00000, 0x20000},
+                       {"partition-table", 0x20000, 0x02000},
+                       {"default-mac", 0x30000, 0x01000},
+                       {"support-list", 0x31000, 0x00100},
+                       {"product-info", 0x31100, 0x00400},
+                       {"soft-version", 0x32000, 0x00100},
+                       {"firmware", 0x40000, 0xd80000},
+                       {"user-config", 0xdc0000, 0x30000},
+                       {"mutil-log", 0xf30000, 0x80000},
+                       {"oops", 0xfb0000, 0x40000},
+                       {"radio", 0xff0000, 0x10000},
+                       {NULL, 0, 0}
+               },
+
+               .first_sysupgrade_partition = "os-image",
+               .last_sysupgrade_partition = "file-system"
+       },
+
        /** Firmware layout for the EAP245 v3 */
        {
                .id     = "EAP245-V3",