forked from chongshengB/rt-n56u
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boards: add support for zte-e8820s (chongshengB#551)
- Loading branch information
liuyunwuhen
authored
Jan 9, 2021
1 parent
54ee086
commit 558fa2f
Showing
5 changed files
with
2,469 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* ZTE_E8820S */ | ||
|
||
#define BOARD_PID "ZTE_E8820S" | ||
#define BOARD_NAME "ZTE_E8820S" | ||
#define BOARD_DESC "ZTE_E8820S Wireless Router" | ||
#define BOARD_VENDOR_NAME "ZTE Technology" | ||
#define BOARD_VENDOR_URL "http://www.ztehome.com.cn/" | ||
#define BOARD_MODEL_URL "http://www.ztehome.com.cn/" | ||
#define BOARD_BOOT_TIME 30 | ||
#define BOARD_FLASH_TIME 120 | ||
#define BOARD_GPIO_BTN_FN1 10 | ||
#define BOARD_GPIO_BTN_RESET 18 | ||
#define BOARD_GPIO_BTN_WPS 8 | ||
#undef BOARD_GPIO_LED_ALL | ||
#undef BOARD_GPIO_LED_WIFI | ||
#undef BOARD_GPIO_LED_SW2G | ||
#undef BOARD_GPIO_LED_SW5G | ||
#define BOARD_GPIO_LED_POWER 3 | ||
#define BOARD_GPIO_LED_SYS | ||
#undef BOARD_GPIO_LED_LAN | ||
#undef BOARD_GPIO_LED_WAN | ||
#undef BOARD_GPIO_LED_USB | ||
#undef BOARD_GPIO_LED_ROUTER | ||
#undef BOARD_GPIO_PWR_USB | ||
#define BOARD_HAS_5G_11AC 1 | ||
#define BOARD_NUM_ANT_5G_TX 2 | ||
#define BOARD_NUM_ANT_5G_RX 2 | ||
#define BOARD_NUM_ANT_2G_TX 2 | ||
#define BOARD_NUM_ANT_2G_RX 2 | ||
#define BOARD_NUM_ETH_LEDS 1 | ||
#define BOARD_HAS_EPHY_L1000 1 | ||
#define BOARD_HAS_EPHY_W1000 1 | ||
#define BOARD_NUM_UPHY_USB3 1 | ||
#define BOARD_GPIO_PWR_USB 11 | ||
#define BOARD_GPIO_PWR_USB_ON 1 | ||
#define BOARD_USB_PORT_SWAP 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
################################################################## | ||
# Board PID # Board Name # PRODUCT # Note | ||
################################################################## | ||
# ZTE_E8820S # ZTE_E8820S # MT7621 # | ||
################################################################## | ||
|
||
CFLAGS += -DBOARD_ZTE_E8820S | ||
BOARD_NUM_USB_PORTS=1 |
Oops, something went wrong.