ramips: Add support for the NixCore X1 Module
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / board.d / 02_network
index 6807eede319d364bed11e1dc76ae8d49447c5b33..f8b8ec66bdc791dcf3ddb2ff3bfc595c400275a7 100755 (executable)
@@ -77,6 +77,7 @@ ramips_setup_interfaces()
        mt7628|\
        mzk-750dhp|\
        mzk-w300nh2|\
+       nixcore|\
        oy-0001|\
        pbr-m1|\
        psg1208|\
@@ -113,6 +114,7 @@ ramips_setup_interfaces()
        atp-52b|\
        awm002-evb|\
        awm003-evb|\
+       c50|\
        dir-645|\
        dir-860l-b1|\
        f5d8235-v1|\
@@ -188,10 +190,12 @@ ramips_setup_interfaces()
                ;;
        mlwg2|\
        wizard8800|\
-       wl-330n|\
-       wmr-300)
+       wl-330n)
                ucidef_set_interface_lan "eth0.1"
                ;;
+       wmr-300)
+               ucidef_set_interface_lan "eth0"
+               ;;
        mzk-dp150n|\
        vocore)
                ucidef_add_switch "switch0" \
@@ -223,6 +227,7 @@ ramips_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "1:lan" "2:lan" "0:wan" "6@eth0"
                ;;
+       zbt-ape522ii|\
        zbt-we826|\
        zbt-wr8305rt)
                ucidef_add_switch "switch0" \
@@ -284,6 +289,10 @@ ramips_setup_macs()
                lan_mac=$(mtd_get_mac_ascii nvram lanmac)
                wan_mac=$(mtd_get_mac_ascii nvram wanmac)
                ;;
+       dir-860l-b1)
+               lan_mac=$(mtd_get_mac_ascii factory lanmac)
+               wan_mac=$(mtd_get_mac_ascii factory wanmac)
+               ;;
        e1700)
                wan_mac=$(mtd_get_mac_ascii config WAN_MAC_ADDR)
                ;;