ramips: Update ARC Freestation profile
[lede.git] / target / linux / ramips / base-files / etc / uci-defaults / 02_network
index 49c4f7f334c19a495bb87b1c8778d3542ae0fdaa..fe81899e7b4dcbcc48fa8a2fc6c9ea5d6315d178 100755 (executable)
@@ -41,6 +41,7 @@ ramips_setup_interfaces()
        w150m | \
        all0256n | \
        all5002 | \
+       all5003 | \
        broadway | \
        wnce2001)
                ucidef_add_switch "switch0" "1" "0"
@@ -63,6 +64,12 @@ ramips_setup_interfaces()
                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
                ;;
 
+       asl26555)
+               ucidef_set_interface_lan "eth0.1"
+               ucidef_add_switch "switch0" "1" "1"
+               ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 6t"
+               ;;
+
        dir-645)
                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
                ucidef_add_switch "switch0" "1" "1"
@@ -122,7 +129,6 @@ ramips_setup_interfaces()
                ucidef_add_switch_vlan "switch0" "2" "0t 5"
                ;;
 
-       freestation5 | \
        wcr-150gn)
                ucidef_set_interfaces_lan_wan "eth0.2" "eth0.1"
                ;;
@@ -176,6 +182,10 @@ ramips_setup_macs()
                wan_mac=$(macaddr_add "$lan_mac" 1)
                ;;
 
+       asl26555)
+               lan_mac=$(mtd_get_mac_binary devdata 16388)
+               ;;
+
        w306r-v20)
                lan_mac=$(mtd_get_mac_binary factory 4)
                wan_mac=$(macaddr_add "$lan_mac" 5)
@@ -244,6 +254,7 @@ ramips_setup_macs()
 
        all0239-3g | \
        carambola | \
+       freestation5 | \
        w502u | \
        wnce2001)
                lan_mac=$(mtd_get_mac_binary factory 40)