aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d/02_network')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index 6510b1ae90..d2daab5ddb 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -212,6 +212,13 @@ ramips_setup_interfaces()
ucidef_set_interface_lan "eth0"
;;
+ mt7620a_mt7530)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ ucidef_add_switch "switch1" "1" "1"
+ ucidef_add_switch_vlan "switch1" "1" "0 1 2 3 6t"
+ ucidef_add_switch_vlan "switch1" "2" "4 6t"
+ ;;
+
*)
RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"`
if [ -n "${RT3X5X}" ]; then