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

boards: add support for NEWIFI-Y1S #765

Open
wants to merge 3 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
33 changes: 33 additions & 0 deletions trunk/configs/boards/NEWIFI-Y1S/board.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/* NEWIFI Y1S */

#define BOARD_PID "NEWIFI-Y1S"
#define BOARD_NAME "NEWIFI-Y1S"
#define BOARD_DESC "NEWIFI Y1S Wireless Router"
#define BOARD_VENDOR_NAME "Lenovo(Beijing) Limited"
#define BOARD_VENDOR_URL "http://www.newifi.com/"
#define BOARD_MODEL_URL "http://www.newifi.com/product_newifi1.shtml"
#define BOARD_BOOT_TIME 25
#define BOARD_FLASH_TIME 120
#undef BOARD_GPIO_BTN_RESET
#define BOARD_GPIO_BTN_WPS 11
#undef BOARD_GPIO_BTN_WLTOG
#undef BOARD_GPIO_LED_ALL
#define BOARD_GPIO_LED_WIFI 72
#define BOARD_GPIO_LED_SW5G 50 /* soft led */
#define BOARD_GPIO_LED_POWER 9
#undef BOARD_GPIO_LED_LAN 55
#define BOARD_GPIO_LED_WAN 51
#define BOARD_GPIO_LED_USB 52
#undef BOARD_GPIO_LED_ROUTER
#undef BOARD_GPIO_PWR_USB
/*#define BOARD_GPIO_PWR_USB 54
#define BOARD_GPIO_PWR_USB2 55
#define BOARD_GPIO_PWR_USB3 56*/
#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 0
8 changes: 8 additions & 0 deletions trunk/configs/boards/NEWIFI-Y1S/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
##################################################################
# Board PID # Board Name # PRODUCT # Note
##################################################################
# RT-AC1200HP # ASUS RT-AC1200HP # MT7620 #
##################################################################

CFLAGS += -DBOARD_NEWIFI1S -DVENDOR_LENOVO
BOARD_NUM_USB_PORTS=3
Loading