ath79: add support for NEC Aterm WF1200CR
[openwrt/openwrt.git] / target / linux / ath79 / generic / base-files / etc / board.d / 02_network
index ffafe7db20ea582445e31c77437f182a86ecb2de..f07c08697782ce15836cc31a240396eec108f9f7 100644 (file)
@@ -300,6 +300,11 @@ ath79_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth0" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "1:wan"
                ;;
+       nec,wf1200cr)
+               ucidef_set_interface_wan "eth1"
+               ucidef_add_switch "switch0" \
+                       "0@eth0" "1:lan"
+               ;;
        nec,wg1200cr|\
        qxwlan,e1700ac-v2-8m|\
        qxwlan,e1700ac-v2-16m|\
@@ -599,6 +604,7 @@ ath79_setup_macs()
                base_mac=$(mtd_get_mac_binary u-boot 0x1fc00)
                wan_mac=$(macaddr_add "$base_mac" 1)
                ;;
+       nec,wf1200cr|\
        nec,wg1200cr)
                lan_mac=$(mtd_get_mac_ascii devdata "lanmac")
                wan_mac=$(mtd_get_mac_ascii devdata "wanmac")