forked from hanwckf/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 XIAOMI Mi-4 (hanwckf#671)
* boards: add support for XIAOMI Mi-4 * boards: add support for XIAOMI Mi-4 * Update kernel-3.4.x.config * Alignment of the settings of other templates Following configurations were set to "y": CONFIG_FIRMWARE_INCLUDE_MINIEAP=y CONFIG_FIRMWARE_INCLUDE_NJIT_CLIENT=y
- Loading branch information
Showing
6 changed files
with
2,463 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
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,27 @@ | ||
/* Xiaomi Mi-4 */ | ||
|
||
#define BOARD_PID "MI-4" | ||
#define BOARD_NAME "MI-4" | ||
#define BOARD_DESC "Xiaomi Mi 4 Wireless Router" | ||
#define BOARD_VENDOR_NAME "Beijing Xiaomi Technology Co., Ltd." | ||
#define BOARD_VENDOR_URL "https://www.mi.com/" | ||
#define BOARD_MODEL_URL "https://www.mi.com/miwifi4" | ||
#define BOARD_BOOT_TIME 20 | ||
#define BOARD_FLASH_TIME 120 | ||
#define BOARD_GPIO_BTN_RESET 18 | ||
#undef BOARD_GPIO_BTN_WPS | ||
#undef BOARD_GPIO_LED_ALL | ||
#undef BOARD_GPIO_LED_WIFI | ||
#define BOARD_GPIO_LED_POWER 8 /* 6: red, 10: yellow, 8: blue */ | ||
#define BOARD_GPIO_LED_LAN 10 | ||
#undef BOARD_GPIO_LED_WAN | ||
#undef BOARD_GPIO_LED_ROUTER | ||
#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_NUM_ETH_EPHY 3 | ||
#define BOARD_HAS_EPHY_L1000 1 | ||
#define BOARD_HAS_EPHY_W1000 1 |
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 | ||
################################################################## | ||
# MI-4 # Xiaomi Mi 4 # MT7621 # | ||
################################################################## | ||
|
||
CFLAGS += -DBOARD_MI-4 | ||
BOARD_NUM_USB_PORTS=0 |
Oops, something went wrong.