ramips: allow to specify port layout for the switch of the RT305x/RT3350
[openwrt/openwrt.git] / target / linux / ramips / files / arch / mips / ralink / rt305x / mach-fonera20n.c
index bbf152fa86256f3aab9cb7cd78e3d6c6bd33f884..544279509a49bea6191ac7ce83e18e04bbb3cdf4 100644 (file)
@@ -118,6 +118,7 @@ static void __init fonera20n_init(void)
                                     ARRAY_SIZE(fonera20n_gpio_buttons),
                                     fonera20n_gpio_buttons);
 
+       rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_LLLLW;
        rt305x_register_ethernet();
        rt305x_register_wifi();
        rt305x_register_wdt();