|
|
楼主 |
发表于 2016-9-6 15:13
|
显示全部楼层
mt7620.c init.c raether.c 这三个文件修改 wan 和 gpio 查找1200HP
/////////////////////////////////////
WAN_PORT=4,
LAN1_PORT=1,
LAN2_PORT=0,
LAN3_PORT=2,
LAN4_PORT=3,
P5_PORT=5,
CPU_PORT=6,
P7_PORT=7,
////////////////////////////////////
"2", "1", "3", "4", "", "x"
///////////////////////////////////
nvram_set_int("btn_rst_gpio", 11|GPIO_ACTIVE_LOW);
// nvram_set_int("btn_wps_gpio", 11|GPIO_ACTIVE_LOW);
nvram_set_int("led_usb_gpio", 52|GPIO_ACTIVE_LOW);
nvram_set_int("led_lan_gpio", 55|GPIO_ACTIVE_LOW);
nvram_set_int("led_wan_gpio", 51|GPIO_ACTIVE_LOW);
nvram_set_int("led_pwr_gpio", 9|GPIO_ACTIVE_LOW);
nvram_set_int("led_wps_gpio", 9|GPIO_ACTIVE_LOW);
nvram_set_int("led_2g_gpio", 72|GPIO_ACTIVE_LOW);
nvram_set_int("led_5g_gpio", 50|GPIO_ACTIVE_LOW);
// nvram_set_int("led_all_gpio", 10|GPIO_ACTIVE_LOW);
///////////////////////////////////////////////////////////////// |
|