@$(call define_add,CONFIG_FOR_GL_AR150,1)
@$(MKCONFIG) -a ap121 mips mips ap121 ar7240 ar7240
+gl-inet_gl-usb150: ar933x_common
+ @$(call config_init,GL.iNet GL-USB150,gl-usb150,16,11,,QCA_AR933X_SOC)
+ @$(call define_add,CONFIG_FOR_GL_USB150,1)
+ @$(MKCONFIG) -a ap121 mips mips ap121 ar7240 ar7240
+
p2w_cpe505n: qca953x_common
@$(call config_init,P&W CPE505N,cpe505n,16,17,1,QCA_QCA953X_SOC)
@$(call define_add,CONFIG_FOR_P2W_CPE505N,1)
#define CONFIG_QCA_GPIO_MASK_IN GPIO11
#define CONFIG_QCA_GPIO_MASK_OUT_INIT_L CONFIG_QCA_GPIO_MASK_LED_ACT_H
+#elif defined(CONFIG_FOR_GL_USB150)
+
+ #define CONFIG_QCA_GPIO_MASK_LED_ACT_H GPIO0
+ #define CONFIG_QCA_GPIO_MASK_OUT GPIO7 | GPIO13 |\
+ CONFIG_QCA_GPIO_MASK_LED_ACT_H
+ #define CONFIG_QCA_GPIO_MASK_IN GPIO11
+ #define CONFIG_QCA_GPIO_MASK_OUT_INIT_H GPIO13
+ #define CONFIG_QCA_GPIO_MASK_OUT_INIT_L GPIO7 |\
+ CONFIG_QCA_GPIO_MASK_LED_ACT_H
+
#elif defined(CONFIG_FOR_GS_OOLITE_V1_DEV)
#define CONFIG_QCA_GPIO_MASK_LED_ACT_L GPIO13 | GPIO15 | GPIO17 |\
"rootfstype=squashfs init=/sbin/init "\
"mtdparts=ar7240-nor0:192k(u-boot),64k(u-boot-env),16064k(firmware),64k(art)"
-#elif defined(CONFIG_FOR_GL_AR150)
+#elif defined(CONFIG_FOR_GL_AR150) ||\
+ defined(CONFIG_FOR_GL_USB150)
#define CONFIG_BOOTARGS "console=ttyATH0,115200 board=domino root=31:03 "\
"rootfstype=squashfs,jffs2 noinitrd "\
defined(CONFIG_FOR_ALFA_NETWORK_AP121F) ||\
defined(CONFIG_FOR_ALFA_NETWORK_HORNET_UB) ||\
defined(CONFIG_FOR_CREATCOMM_D3321) ||\
- defined(CONFIG_FOR_GL_AR150)
+ defined(CONFIG_FOR_GL_AR150) ||\
+ defined(CONFIG_FOR_GL_USB150)
#define CFG_LOAD_ADDR 0x9F050000
#elif defined(CONFIG_FOR_BLACK_SWIFT_BOARD)
#define CFG_LOAD_ADDR 0x9F030000
#if defined(CONFIG_FOR_8DEVICES_CARAMBOLA2) ||\
defined(CONFIG_FOR_ALFA_NETWORK_HORNET_UB) ||\
defined(CONFIG_FOR_CREATCOMM_D3321) ||\
- defined(CONFIG_FOR_GL_AR150)
+ defined(CONFIG_FOR_GL_AR150) ||\
+ defined(CONFIG_FOR_GL_USB150)
#define CFG_ENV_ADDR 0x9F040000
#define CFG_ENV_SIZE 0x8000
#define CFG_ENV_SECT_SIZE 0x10000
#define OFFSET_MAC_DATA_BLOCK_LENGTH 0x10000
#define OFFSET_MAC_ADDRESS 0x00000
#elif defined(CONFIG_FOR_BLACK_SWIFT_BOARD) ||\
- defined(CONFIG_FOR_GL_AR150)
+ defined(CONFIG_FOR_GL_AR150) ||\
+ defined(CONFIG_FOR_GL_USB150)
#define OFFSET_MAC_DATA_BLOCK 0xFF0000
#define OFFSET_MAC_DATA_BLOCK_LENGTH 0x010000
#define OFFSET_MAC_ADDRESS 0x000000
!defined(CONFIG_FOR_DRAGINO_V2) &&\
!defined(CONFIG_FOR_GL_AR150) &&\
!defined(CONFIG_FOR_GL_INET) &&\
+ !defined(CONFIG_FOR_GL_USB150) &&\
!defined(CONFIG_FOR_GS_OOLITE_V1_DEV) &&\
!defined(CONFIG_FOR_MESH_POTATO_V2)
#define OFFSET_ROUTER_MODEL 0xFD00
/* Firmware size limit */
#if defined(CONFIG_FOR_8DEVICES_CARAMBOLA2) ||\
- defined(CONFIG_FOR_GL_AR150)
+ defined(CONFIG_FOR_GL_AR150) ||\
+ defined(CONFIG_FOR_GL_USB150)
#define WEBFAILSAFE_UPLOAD_LIMITED_AREA_IN_BYTES (384 * 1024)
#elif defined(CONFIG_FOR_ALFA_NETWORK_AP121F) ||\
defined(CONFIG_FOR_DRAGINO_V2) ||\
defined(CONFIG_FOR_ALFA_NETWORK_AP121F) ||\
defined(CONFIG_FOR_ALFA_NETWORK_HORNET_UB) ||\
defined(CONFIG_FOR_CREATCOMM_D3321) ||\
- defined(CONFIG_FOR_GL_AR150)
+ defined(CONFIG_FOR_GL_AR150) ||\
+ defined(CONFIG_FOR_GL_USB150)
#define CONFIG_QCA_PLL_IN_FLASH_BLOCK_OFFSET 0x40000
#define CONFIG_QCA_PLL_IN_FLASH_BLOCK_SIZE 0x10000
!defined(CONFIG_FOR_DLINK_DIR505_A1) &&\
!defined(CONFIG_FOR_DRAGINO_V2) &&\
!defined(CONFIG_FOR_GL_AR150) &&\
+ !defined(CONFIG_FOR_GL_USB150) &&\
!defined(CONFIG_FOR_MESH_POTATO_V2)
#define CONFIG_UPG_SCRIPTS_UBOOT_SIZE_BCKP_HEX 0x20000
#endif