ramips: add support for ASUS RT-AC1200-V2
[openwrt/staging/wigyori.git] / target / linux / ramips / mt76x8 / base-files / etc / board.d / 02_network
index 1f833c1820f223888d0115995f08b4c042002431..408f5f5e01d858aa25b7ac41d06b917bdc3b94b4 100644 (file)
@@ -35,6 +35,7 @@ ramips_setup_interfaces()
                ucidef_set_interface_lan "eth0"
                ;;
        asus,rt-ac1200|\
+       asus,rt-ac1200-v2|\
        hilink,hlk-7628n|\
        hilink,hlk-7688a|\
        hiwifi,hc5861b|\
@@ -178,7 +179,9 @@ ramips_setup_macs()
        local label_mac=""
 
        case $board in
-       asus,rt-ac1200|\
+       asus,rt-ac1200)
+               wan_mac=$(mtd_get_mac_binary factory 0x22)
+               ;;
        elecom,wrc-1167fs)
                wan_mac=$(mtd_get_mac_binary factory 0x22)
                label_mac=$wan_mac