Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/hanwckf/rt-n56u
Browse files Browse the repository at this point in the history
  • Loading branch information
chongshengB committed Dec 23, 2019
2 parents 6a08193 + fdf5e89 commit 473771c
Show file tree
Hide file tree
Showing 9 changed files with 2,269 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
>- MI-3 (USB)
>- MI-R3G (USB)
>- HC5661A
>- HC5761A (USB)
>- HC5861B
>- 360P2 (USB)
>- MI-NANO
Expand Down
32 changes: 32 additions & 0 deletions trunk/configs/boards/HC5761A/board.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/* HC5761A */

#define BOARD_PID "HC5761A"
#define BOARD_NAME "HC5761A"
#define BOARD_DESC "HiWiFi HC5761A Wireless Router"
#define BOARD_VENDOR_NAME "HiWiFi"
#define BOARD_VENDOR_URL "http://www.hiwifi.com/"
#define BOARD_MODEL_URL "http://www.hiwifi.com/"
#define BOARD_BOOT_TIME 25
#define BOARD_FLASH_TIME 120
#define BOARD_GPIO_BTN_RESET 38
#define BOARD_GPIO_LED_INVERTED
#undef BOARD_GPIO_BTN_WPS
#undef BOARD_GPIO_LED_ALL
#define BOARD_GPIO_LED_SW2G 44
#define BOARD_GPIO_LED_SW5G 40
#define BOARD_GPIO_LED_POWER 37
#undef BOARD_GPIO_LED_LAN
#define BOARD_GPIO_LED_WAN 1
#undef BOARD_GPIO_LED_USB
#undef BOARD_GPIO_LED_ROUTER
#define BOARD_HAS_5G_11AC 1
#define BOARD_NUM_ANT_5G_TX 1
#define BOARD_NUM_ANT_5G_RX 1
#define BOARD_NUM_ANT_2G_TX 2
#define BOARD_NUM_ANT_2G_RX 2
#define BOARD_NUM_ETH_LEDS 1
#define BOARD_NUM_ETH_EPHY 3
#define BOARD_GPIO_PWR_USB 41
#define BOARD_GPIO_PWR_USB_ON 0
#define BOARD_HAS_EPHY_L1000 0
#define BOARD_HAS_EPHY_W1000 0
8 changes: 8 additions & 0 deletions trunk/configs/boards/HC5761A/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
##################################################################
# Board PID # Board Name # PRODUCT # Note
##################################################################
# HC5761A # HC5761A # MT7628 #
##################################################################

CFLAGS += -DBOARD_HC5761A
BOARD_NUM_USB_PORTS=1
Loading

0 comments on commit 473771c

Please sign in to comment.