@$(call define_add,CFG_ATH_GMAC_NMACS,2)
@$(MKCONFIG) -a ap143 mips mips ap143 ar7240 ar7240
-tp-link_tl-mr10u: ar933x_common lsdk_kernel
- @$(call config_init,TP-Link TL-MR10U,tl-mr10u,4,11,,QCA_AR933X_SOC)
+tp-link_tl-mr10u_v1: ar933x_common lsdk_kernel
+ @$(call config_init,TP-Link TL-MR10U v1,tl-mr10u-v1,4,11,,QCA_AR933X_SOC)
@$(call define_add,CONFIG_FOR_TPLINK_MR10U_V1,1)
@$(MKCONFIG) -a ap121 mips mips ap121 ar7240 ar7240
-tp-link_tl-mr13u: ar933x_common lsdk_kernel
- @$(call config_init,TP-Link TL-MR13U,tl-mr13u,4,11,,QCA_AR933X_SOC)
+tp-link_tl-mr13u_v1: ar933x_common lsdk_kernel
+ @$(call config_init,TP-Link TL-MR13U v1,tl-mr13u-v1,4,11,,QCA_AR933X_SOC)
@$(call define_add,CONFIG_FOR_TPLINK_MR13U_V1,1)
@$(MKCONFIG) -a ap121 mips mips ap121 ar7240 ar7240
-tp-link_tl-mr3020: ar933x_common lsdk_kernel
- @$(call config_init,TP-Link TL-MR3020,tl-mr3020,4,11,,QCA_AR933X_SOC)
+tp-link_tl-mr3020_v1: ar933x_common lsdk_kernel
+ @$(call config_init,TP-Link TL-MR3020 v1,tl-mr3020-v1,4,11,,QCA_AR933X_SOC)
@$(call define_add,CONFIG_FOR_TPLINK_MR3020_V1,1)
@$(MKCONFIG) -a ap121 mips mips ap121 ar7240 ar7240
-tp-link_tl-mr3040: ar933x_common lsdk_kernel
- @$(call config_init,TP-Link TL-MR3040,tl-mr3040,4,11,,QCA_AR933X_SOC)
+tp-link_tl-mr3040_v1v2: ar933x_common lsdk_kernel
+ @$(call config_init,TP-Link TL-MR3040 v1/v2,tl-mr3040-v1v2,4,11,,QCA_AR933X_SOC)
@$(call define_add,CONFIG_FOR_TPLINK_MR3040_V1V2,1)
@$(MKCONFIG) -a ap121 mips mips ap121 ar7240 ar7240
@$(call define_add,CFG_ATH_GMAC_NMACS,2)
@$(MKCONFIG) -a ap143 mips mips ap143 ar7240 ar7240
-tp-link_tl-wdr3500: ar934x_common lsdk_kernel
- @$(call config_init,TP-Link TL-WDR3500,tl-wdr3500,8,16,1,QCA_AR9344_SOC)
+tp-link_tl-wdr3500_v1: ar934x_common lsdk_kernel
+ @$(call config_init,TP-Link TL-WDR3500 v1,tl-wdr3500-v1,8,16,1,QCA_AR9344_SOC)
@$(call define_add,CONFIG_FOR_TPLINK_WDR3500_V1,1)
@$(call define_add,CFG_ATHRS27_PHY,1)
@$(call define_add,CFG_AG7240_NMACS,2)
@$(call define_add,CONFIG_PCI,1)
@$(MKCONFIG) -a db12x mips mips db12x ar7240 ar7240
-tp-link_tl-wdr3600: ar934x_common lsdk_kernel
- @$(call config_init,TP-Link TL-WDR3600,tl-wdr3600,8,16,1,QCA_AR9344_SOC)
+tp-link_tl-wdr3600_v1: ar934x_common lsdk_kernel
+ @$(call config_init,TP-Link TL-WDR3600 v1,tl-wdr3600-v1,8,16,1,QCA_AR9344_SOC)
@$(call define_add,CONFIG_FOR_TPLINK_WDR3600_V1,1)
@$(call define_add,CFG_ATHRS17_PHY,1)
@$(call define_add,CFG_AG7240_NMACS,1)
@$(call define_add,CFG_DUAL_PHY_SUPPORT,1)
@$(MKCONFIG) -a db12x mips mips db12x ar7240 ar7240
-tp-link_tl-wdr43x0: ar934x_common lsdk_kernel
- @$(call config_init,TP-Link TL-WDR43x0,tl-wdr43x0,8,16,1,QCA_AR9344_SOC)
+tp-link_tl-wdr43x0_v1: ar934x_common lsdk_kernel
+ @$(call config_init,TP-Link TL-WDR43x0 v1,tl-wdr43x0-v1,8,16,1,QCA_AR9344_SOC)
@$(call define_add,CONFIG_FOR_TPLINK_WDR43X0_V1,1)
@$(call define_add,CFG_ATHRS17_PHY,1)
@$(call define_add,CFG_AG7240_NMACS,1)
@$(call define_add,CFG_DUAL_PHY_SUPPORT,1)
@$(MKCONFIG) -a db12x mips mips db12x ar7240 ar7240
-tp-link_tl-wr703n: ar933x_common lsdk_kernel
- @$(call config_init,TP-Link TL-WR703N,tl-wr703n,4,11,,QCA_AR933X_SOC)
+tp-link_tl-wr703n_v1: ar933x_common lsdk_kernel
+ @$(call config_init,TP-Link TL-WR703N v1,tl-wr703n-v1,4,11,,QCA_AR933X_SOC)
@$(call define_add,CONFIG_FOR_TPLINK_WR703N_V1,1)
@$(MKCONFIG) -a ap121 mips mips ap121 ar7240 ar7240
-tp-link_tl-wr710n: ar933x_common lsdk_kernel
- @$(call config_init,TP-Link TL-WR710N,tl-wr710n,8,11,,QCA_AR933X_SOC)
+tp-link_tl-wr710n_v1: ar933x_common lsdk_kernel
+ @$(call config_init,TP-Link TL-WR710N v1,tl-wr710n-v1,8,11,,QCA_AR933X_SOC)
@$(call define_add,CONFIG_FOR_TPLINK_WR710N_V1,1)
@$(MKCONFIG) -a ap121 mips mips ap121 ar7240 ar7240
@$(call define_add,CONFIG_FOR_TPLINK_WR740N_V4,1)
@$(MKCONFIG) -a ap121 mips mips ap121 ar7240 ar7240
-tp-link_tl-wr802n: qca953x_common lsdk_kernel
- @$(call config_init,TP-Link TL-WR802N,tl-wr802n,4,12,1,QCA_QCA953X_SOC)
- @$(call define_add,CONFIG_FOR_TPLINK_WR802N,1)
+tp-link_tl-wr802n_v1: qca953x_common lsdk_kernel
+ @$(call config_init,TP-Link TL-WR802N v1,tl-wr802n-v1,4,12,1,QCA_QCA953X_SOC)
+ @$(call define_add,CONFIG_FOR_TPLINK_WR802N_V1,1)
@$(call define_add,CFG_ATHRS27_PHY,1)
@$(call define_add,CFG_ATH_GMAC_NMACS,2)
@$(MKCONFIG) -a ap143 mips mips ap143 ar7240 ar7240
-tp-link_tl-wr810n: qca953x_common lsdk_kernel
- @$(call config_init,TP-Link TL-WR810N,tl-wr810n,8,12,1,QCA_QCA953X_SOC)
- @$(call define_add,CONFIG_FOR_TPLINK_WR810N,1)
+tp-link_tl-wr810n_v1: qca953x_common lsdk_kernel
+ @$(call config_init,TP-Link TL-WR810N v1,tl-wr810n-v1,8,12,1,QCA_QCA953X_SOC)
+ @$(call define_add,CONFIG_FOR_TPLINK_WR810N_V1,1)
@$(call define_add,CONFIG_USB,1)
@$(call define_add,CFG_ATHRS27_PHY,1)
@$(call define_add,CFG_ATH_GMAC_NMACS,2)
@$(MKCONFIG) -a ap143 mips mips ap143 ar7240 ar7240
-tp-link_tl-wr820n_CN: qca953x_common lsdk_kernel
- @$(call config_init,TP-Link TL-WR820N CN,tl-wr820n,4,12,1,QCA_QCA953X_SOC)
- @$(call define_add,CONFIG_FOR_TPLINK_WR820N_CN,1)
+tp-link_tl-wr820n_v1_CN: qca953x_common lsdk_kernel
+ @$(call config_init,TP-Link TL-WR820N v1 CN,tl-wr820n-v1,4,12,1,QCA_QCA953X_SOC)
+ @$(call define_add,CONFIG_FOR_TPLINK_WR820N_V1_CN,1)
@$(call define_add,CONFIG_USB,1)
@$(call define_add,CFG_ATHRS27_PHY,1)
@$(call define_add,CFG_ATH_GMAC_NMACS,2)
#define CONFIG_QCA_GPIO_MASK_OUT_INIT_H GPIO15 |\
CONFIG_QCA_GPIO_MASK_LED_ACT_L
-#elif defined(CONFIG_FOR_TPLINK_WR810N)
+#elif defined(CONFIG_FOR_TPLINK_WR810N_V1)
#define CONFIG_QCA_GPIO_MASK_LED_ACT_L GPIO13
#define CONFIG_QCA_GPIO_MASK_OUT GPIO11 |\
#define CONFIG_QCA_GPIO_MASK_OUT_INIT_H GPIO11 |\
CONFIG_QCA_GPIO_MASK_LED_ACT_L
-#elif defined(CONFIG_FOR_TPLINK_WR820N_CN) ||\
- defined(CONFIG_FOR_TPLINK_WR802N)
+#elif defined(CONFIG_FOR_TPLINK_WR820N_V1_CN) ||\
+ defined(CONFIG_FOR_TPLINK_WR802N_V1)
#define CONFIG_QCA_GPIO_MASK_LED_ACT_L GPIO13
#define CONFIG_QCA_GPIO_MASK_OUT CONFIG_QCA_GPIO_MASK_LED_ACT_L
"mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),14528k(rootfs),1472k(kernel),64k(art),16000k(firmware)"
#elif defined(CONFIG_FOR_TPLINK_MR6400_V1V2) ||\
- defined(CONFIG_FOR_TPLINK_WR810N)
+ defined(CONFIG_FOR_TPLINK_WR810N_V1)
#define CONFIG_BOOTARGS "console=ttyS0,115200 root=31:02 "\
"rootfstype=squashfs init=/sbin/init "\
"mtdparts=ath-nor0:128k(u-boot),1024k(kernel),6912k(rootfs),64k(config),64k(art)"
-#elif defined(CONFIG_FOR_TPLINK_WR820N_CN)
+#elif defined(CONFIG_FOR_TPLINK_WR820N_V1_CN)
#define CONFIG_BOOTARGS "console=ttyS0,115200 root=31:02 "\
"rootfstype=squashfs init=/sbin/init "\
defined(CONFIG_FOR_TPLINK_WR841N_V10) ||\
defined(CONFIG_FOR_TPLINK_WR841N_V11) ||\
defined(CONFIG_FOR_TPLINK_WR841N_V9) ||\
- defined(CONFIG_FOR_TPLINK_WR802N)
+ defined(CONFIG_FOR_TPLINK_WR802N_V1)
#define CONFIG_BOOTARGS "console=ttyS0,115200 root=31:02 "\
"rootfstype=squashfs init=/sbin/init "\
defined(CONFIG_FOR_TPLINK_MR3420_V3) ||\
defined(CONFIG_FOR_TPLINK_MR6400_V1V2) ||\
defined(CONFIG_FOR_TPLINK_WA850RE_V2) ||\
- defined(CONFIG_FOR_TPLINK_WR802N) ||\
- defined(CONFIG_FOR_TPLINK_WR810N) ||\
- defined(CONFIG_FOR_TPLINK_WR820N_CN) ||\
+ defined(CONFIG_FOR_TPLINK_WR802N_V1) ||\
+ defined(CONFIG_FOR_TPLINK_WR810N_V1) ||\
+ defined(CONFIG_FOR_TPLINK_WR820N_V1_CN) ||\
defined(CONFIG_FOR_TPLINK_WR841N_V10) ||\
defined(CONFIG_FOR_TPLINK_WR841N_V11) ||\
defined(CONFIG_FOR_TPLINK_WR841N_V9) ||\
#define CFG_ENV_ADDR 0x9F040000
#define CFG_ENV_SIZE 0xFC00
#define CFG_ENV_SECT_SIZE 0x10000
-#elif defined(CONFIG_FOR_TPLINK_MR3420_V3) ||\
- defined(CONFIG_FOR_TPLINK_MR6400_V1V2) ||\
- defined(CONFIG_FOR_TPLINK_WA850RE_V2) ||\
- defined(CONFIG_FOR_TPLINK_WR802N) ||\
- defined(CONFIG_FOR_TPLINK_WR810N) ||\
- defined(CONFIG_FOR_TPLINK_WR820N_CN) ||\
- defined(CONFIG_FOR_TPLINK_WR841N_V10) ||\
- defined(CONFIG_FOR_TPLINK_WR841N_V11) ||\
- defined(CONFIG_FOR_TPLINK_WR841N_V9) ||\
- defined(CONFIG_FOR_TPLINK_WR842N_V3) ||\
+#elif defined(CONFIG_FOR_TPLINK_MR3420_V3) ||\
+ defined(CONFIG_FOR_TPLINK_MR6400_V1V2) ||\
+ defined(CONFIG_FOR_TPLINK_WA850RE_V2) ||\
+ defined(CONFIG_FOR_TPLINK_WR802N_V1) ||\
+ defined(CONFIG_FOR_TPLINK_WR810N_V1) ||\
+ defined(CONFIG_FOR_TPLINK_WR820N_V1_CN) ||\
+ defined(CONFIG_FOR_TPLINK_WR841N_V10) ||\
+ defined(CONFIG_FOR_TPLINK_WR841N_V11) ||\
+ defined(CONFIG_FOR_TPLINK_WR841N_V9) ||\
+ defined(CONFIG_FOR_TPLINK_WR842N_V3) ||\
defined(CONFIG_FOR_TPLINK_WR902AC_V1)
#define CFG_ENV_ADDR 0x9F01EC00
#define CFG_ENV_SIZE 0x1000
#define OFFSET_MAC_DATA_BLOCK 0x3c0000
#define OFFSET_MAC_DATA_BLOCK_LENGTH 0x010000
#define OFFSET_MAC_ADDRESS 0x000008
-#elif defined(CONFIG_FOR_TPLINK_MR3420_V3) ||\
- defined(CONFIG_FOR_TPLINK_MR6400_V1V2) ||\
- defined(CONFIG_FOR_TPLINK_WR802N) ||\
- defined(CONFIG_FOR_TPLINK_WR810N) ||\
- defined(CONFIG_FOR_TPLINK_WR820N_CN) ||\
- defined(CONFIG_FOR_TPLINK_WR841N_V10) ||\
- defined(CONFIG_FOR_TPLINK_WR841N_V11) ||\
- defined(CONFIG_FOR_TPLINK_WR841N_V9) ||\
+#elif defined(CONFIG_FOR_TPLINK_MR3420_V3) ||\
+ defined(CONFIG_FOR_TPLINK_MR6400_V1V2) ||\
+ defined(CONFIG_FOR_TPLINK_WR802N_V1) ||\
+ defined(CONFIG_FOR_TPLINK_WR810N_V1) ||\
+ defined(CONFIG_FOR_TPLINK_WR820N_V1_CN) ||\
+ defined(CONFIG_FOR_TPLINK_WR841N_V10) ||\
+ defined(CONFIG_FOR_TPLINK_WR841N_V11) ||\
+ defined(CONFIG_FOR_TPLINK_WR841N_V9) ||\
defined(CONFIG_FOR_TPLINK_WR842N_V3)
#define OFFSET_MAC_DATA_BLOCK 0x010000
#define OFFSET_MAC_DATA_BLOCK_LENGTH 0x010000
defined(CONFIG_FOR_COMFAST_CF_E530N) ||\
defined(CONFIG_FOR_TPLINK_MR3420_V3) ||\
defined(CONFIG_FOR_TPLINK_MR6400_V1V2) ||\
- defined(CONFIG_FOR_TPLINK_WR802N) ||\
- defined(CONFIG_FOR_TPLINK_WR810N) ||\
- defined(CONFIG_FOR_TPLINK_WR820N_CN) ||\
+ defined(CONFIG_FOR_TPLINK_WR802N_V1) ||\
+ defined(CONFIG_FOR_TPLINK_WR810N_V1) ||\
+ defined(CONFIG_FOR_TPLINK_WR820N_V1_CN) ||\
defined(CONFIG_FOR_TPLINK_WR841N_V10) ||\
defined(CONFIG_FOR_TPLINK_WR841N_V11) ||\
defined(CONFIG_FOR_TPLINK_WR841N_V9) ||\
* PLL/Clocks configuration
* ========================
*/
-#if defined(CONFIG_FOR_TPLINK_WA850RE_V2) ||\
- defined(CONFIG_FOR_TPLINK_WR802N) ||\
- defined(CONFIG_FOR_TPLINK_WR820N_CN) ||\
+#if defined(CONFIG_FOR_TPLINK_WA850RE_V2) ||\
+ defined(CONFIG_FOR_TPLINK_WR802N_V1) ||\
+ defined(CONFIG_FOR_TPLINK_WR820N_V1_CN) ||\
defined(CONFIG_FOR_TPLINK_WR841N_V9)
#define CONFIG_QCA_PLL QCA_PLL_PRESET_550_400_200
#else
defined(CONFIG_FOR_TPLINK_MR3420_V3) ||\
defined(CONFIG_FOR_TPLINK_MR6400_V1V2) ||\
defined(CONFIG_FOR_TPLINK_WA850RE_V2) ||\
- defined(CONFIG_FOR_TPLINK_WR802N) ||\
- defined(CONFIG_FOR_TPLINK_WR810N) ||\
- defined(CONFIG_FOR_TPLINK_WR820N_CN) ||\
+ defined(CONFIG_FOR_TPLINK_WR802N_V1) ||\
+ defined(CONFIG_FOR_TPLINK_WR810N_V1) ||\
+ defined(CONFIG_FOR_TPLINK_WR820N_V1_CN) ||\
defined(CONFIG_FOR_TPLINK_WR841N_V10) ||\
defined(CONFIG_FOR_TPLINK_WR841N_V11) ||\
defined(CONFIG_FOR_TPLINK_WR841N_V9) ||\