ramips: mt7620: disable SOC VLANs for external switches
[openwrt/staging/dedeckeh.git] / target / linux / ramips / mt7620 / base-files / etc / board.d / 02_network
index 71850863c0230a22ae8755731db16f28008867aa..eaa8cbf7aa3e31261585e57c75fe8738e05f24fa 100644 (file)
@@ -136,6 +136,9 @@ ramips_setup_interfaces()
        engenius,esr600)
                ucidef_add_switch "switch0" \
                        "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan" "0@eth0"
+               ucidef_add_switch "switch1" \
+                       "5:lan" "6@eth0"
+               ucidef_add_switch_attr "switch1" "enable" "false"
                ;;
        fon,fon2601)
                ucidef_add_switch "switch0" \
@@ -168,6 +171,9 @@ ramips_setup_interfaces()
        lava,lr-25g001)
                ucidef_add_switch "switch0" \
                        "1:lan" "2:lan" "3:lan" "4:lan" "5:wan" "0@eth0"
+               ucidef_add_switch "switch1" \
+                       "5:lan" "6@eth0"
+               ucidef_add_switch_attr "switch1" "enable" "false"
                ;;
        lenovo,newifi-y1|\
        xiaomi,miwifi-mini)