ath79: add support for ZTE MF282
[openwrt/staging/stintel.git] / target / linux / ath79 / nand / base-files / etc / board.d / 02_network
index 137f3aa11b3549773fbb4fcd739efbc04b76860c..243c5bb7aaae14b080d579500e3db5f4facccfd0 100644 (file)
@@ -66,6 +66,10 @@ ath79_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth0" "5:lan"
                ;;
+       zte,mf282)
+               ucidef_set_interface_lan "eth0"
+               ucidef_set_interface "wan" device "/dev/cdc-wdm0" protocol "qmi"
+               ;;
        zte,mf286|\
        zte,mf286a|\
        zte,mf286r)