ar71xx: add ew-balin platform from Embedded Wireless
[openwrt/staging/mkresin.git] / target / linux / ar71xx / base-files / etc / board.d / 02_network
index b0755c44dd815abf216fe1f30e10c334f791803e..02eb94691c637b2a561df05ffb86519410de5621 100755 (executable)
@@ -372,6 +372,12 @@ ar71xx_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan"
                ;;
+       ew-balin)
+# usb0 is RNDIS interface over USB in device mode
+               ucidef_set_interface_raw "usb2" "usb0" "static"
+               ucidef_add_switch "switch0" \
+                       "0@eth0" "5:lan:4" "4:lan:5" "3:wan"
+               ;;
        ew-dorin)
                ucidef_add_switch "switch0" \
                        "0@eth0" "1:lan" "2:lan" "3:wan"