ramips: fix lenovo newifi-y1 switch and LED config
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / board.d / 02_network
index b8116c773b9074611e0038062e672b6aebd4b35a..48fdfdf3f1007b6295f9843c2dd3041213df4d04 100755 (executable)
@@ -111,7 +111,6 @@ ramips_setup_interfaces()
        wndr3700v5|\
        wt1520-4M|\
        wt1520-8M|\
-       y1|\
        youku-yk1|\
        zbt-ape522ii|\
        zbt-we1326|\
@@ -348,6 +347,10 @@ ramips_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "1:lan" "2:lan" "0:wan" "6@eth0"
                ;;
+       y1)
+               ucidef_add_switch "switch0" \
+                       "0:lan:2" "1:lan:1" "4:wan" "6@eth0"
+               ;;
        *)
                RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"`
                if [ -n "${RT3X5X}" ]; then