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

GHL: enable wifi led support #384

Merged
merged 1 commit into from
Aug 13, 2020
Merged
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
17 changes: 8 additions & 9 deletions trunk/configs/boards/GHL/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@
#define BOARD_GPIO_BTN_RESET 3
#define BOARD_GPIO_BTN_WPS 7
#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 15
#undef BOARD_GPIO_LED_WIFI
#undef BOARD_GPIO_LED_SW2G
#undef BOARD_GPIO_LED_SW5G
#undef BOARD_GPIO_LED_POWER
#undef BOARD_GPIO_LED_LAN
#define BOARD_GPIO_LED_WAN 11
#define BOARD_GPIO_LED_USB 10
#define BOARD_GPIO_LED_WAN 16
#define BOARD_GPIO_LED_USB 15
#undef BOARD_GPIO_LED_ROUTER
#undef BOARD_GPIO_PWR_USB
#define BOARD_GPIO_PWR_USB 11
#define BOARD_GPIO_PWR_USB_ON 1
#define BOARD_HAS_5G_11AC 1
#define BOARD_NUM_ANT_5G_TX 2
#define BOARD_NUM_ANT_5G_RX 2
Expand All @@ -30,6 +31,4 @@
#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
4 changes: 2 additions & 2 deletions trunk/configs/boards/GHL/kernel-3.4.x.config
Original file line number Diff line number Diff line change
Expand Up @@ -1940,7 +1940,7 @@ CONFIG_RT_THIRD_CARD=0
# AP MODE MediaTek MT7620/MT7602E/MT7612E RBUS/PCIe Wireless driver
#
CONFIG_MT76X2_AP=m
# CONFIG_MT76X2_AP_LED is not set
CONFIG_MT76X2_AP_LED=y
# CONFIG_MT76X2_AP_LED_SOFT is not set
CONFIG_MT76X2_AP_LLTD=y
CONFIG_MT76X2_AP_WDS=y
Expand Down Expand Up @@ -2000,7 +2000,7 @@ CONFIG_MT7603E_RTMP_FLASH_SUPPORT=y
# CONFIG_MT7603E_ROAMING_ENHANCE_SUPPORT is not set
# CONFIG_MT7603E_WIFI_FWD_UPDATED is not set
# CONFIG_MT_BTCOEX_CONCURRENT is not set
# CONFIG_MT7603E_LED_CONTROL_SUPPORT is not set
CONFIG_MT7603E_LED_CONTROL_SUPPORT=y
# CONFIG_MT7603E_SINGLE_SKU_V2 is not set
# CONFIG_MT7603E_ATE_SUPPORT is not set
CONFIG_MT7603E_RT2860V2_AP_V24_DATA_STRUCTURE=y
Expand Down