Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rt-n56u #526

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions trunk/configs/boards/HC5661/board.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/* 5K-W20 */

#define BOARD_PID "HC5661"
#define BOARD_NAME "HC5661"
#define BOARD_DESC "HC5661 Wireless Router"
#define BOARD_VENDOR_NAME "HC5661 WIFI"
#define BOARD_VENDOR_URL "http://www.5ksh.com/"
#define BOARD_MODEL_URL "http://www.5ksh.com/product"
#define BOARD_BOOT_TIME 20
#define BOARD_FLASH_TIME 120
#define BOARD_GPIO_BTN_RESET 12
#undef BOARD_GPIO_BTN_WPS
#undef BOARD_GPIO_LED_ALL
#define BOARD_GPIO_LED_WIFI 72
#undef BOARD_GPIO_LED_POWER
#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 0
#define BOARD_NUM_ANT_5G_TX 0
#define BOARD_NUM_ANT_5G_RX 0
#define BOARD_NUM_ANT_2G_TX 2
#define BOARD_NUM_ANT_2G_RX 2
#define BOARD_NUM_ETH_LEDS 0
#define BOARD_HAS_EPHY_L1000 0
#define BOARD_HAS_EPHY_W1000 0
8 changes: 8 additions & 0 deletions trunk/configs/boards/HC5661/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
##################################################################
# Board PID # Board Name # PRODUCT # Note
##################################################################
# 5K-W20 # 5K-W20 # MT7620 #
##################################################################

CFLAGS += -DBOARD_HC5661
BOARD_NUM_USB_PORTS=0
Loading