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

参照ZTE_E8820S给LINKSYS_EA7500V2适配,只有LED还有点问题 #780

Open
yunhai20082008 opened this issue Mar 10, 2023 · 0 comments
Open

Comments

@yunhai20082008
Copy link

yunhai20082008 commented Mar 10, 2023

1.前面板linksys灯gpio为10,但是用#define BOARD_GPIO_LED_POWER或者#define BOARD_GPIO_LED_SYS都不亮
2.lan1口绿灯gpio为3,但是board.h中并未定义,且web-参数设置-按钮/LED-电源:LED 禁用和启动会被触发

board.h

/* ZTE_E8820S */

#define BOARD_PID		"ZTE_E8820S"
#define BOARD_NAME		"ZTE_E8820S"
#define BOARD_DESC		"ZTE_E8820S Wireless Router"
#define BOARD_VENDOR_NAME	"ZTE Technology"
#define BOARD_VENDOR_URL	"http://www.ztehome.com.cn/"
#define BOARD_MODEL_URL		"http://www.ztehome.com.cn/"
#define BOARD_BOOT_TIME		30
#define BOARD_FLASH_TIME   	120
#define BOARD_GPIO_BTN_FN1    
#define BOARD_GPIO_BTN_RESET	12
#define BOARD_GPIO_BTN_WPS	17
#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
#define BOARD_GPIO_LED_SYS	10
#undef BOARD_GPIO_LED_LAN
#undef BOARD_GPIO_LED_WAN	7
#undef BOARD_GPIO_LED_USB	
#undef BOARD_GPIO_LED_ROUTER
#undef  BOARD_GPIO_PWR_USB
#define BOARD_HAS_5G_11AC	1
#define BOARD_NUM_ANT_5G_TX
#define BOARD_NUM_ANT_5G_RX
#define BOARD_NUM_ANT_2G_TX
#define BOARD_NUM_ANT_2G_RX
#define BOARD_NUM_ETH_LEDS
#define BOARD_HAS_EPHY_L1000
#define BOARD_HAS_EPHY_W1000
#define BOARD_NUM_UPHY_USB3
#define BOARD_GPIO_PWR_USB
#define BOARD_GPIO_PWR_USB_ON
#define BOARD_USB_PORT_SWAP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant