ramips: rt305x: add support for the ALFA Networks W502U (R36) board
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / uci-defaults / network
index 834a2a7d906f7fef08167c6d63575d9ecb086457..f98162c6b240c1bf069f2dcf9cb7b3401d8ea557 100755 (executable)
@@ -19,7 +19,8 @@ ramips_setup_interfaces()
        argus-atp52b | \
        b2c | \
        f5d8235-v2 | \
-       nw718)
+       nw718 | \
+       w502u)
                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
                ;;
 
@@ -86,6 +87,11 @@ ramips_setup_macs()
                 wan_mac=$(ramips_get_mac_binary factory 40)
                ;;
 
+       w502u)
+                lan_mac=$(ramips_get_mac_binary factory 40)
+                wan_mac=$(ramips_get_mac_binary factory 46)
+               ;;
+
        wli-tx4-ag300n)
                lan_mac=$(ramips_get_mac_binary factory 4)
                ;;