aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/mt7622/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2020-06-04 15:07:28 +0200
committerJohn Crispin <john@phrozen.org>2020-06-07 19:10:51 +0200
commitad39d06df7f6c6af6249c0f33358ae2d799ec4b4 (patch)
treea16dc1b5933acf842ae43f49f18070dce5b331d8 /target/linux/mediatek/mt7622/base-files/etc
parentf72a2b004c3541b1834fe7af2ae69dcfcde8d338 (diff)
downloadupstream-ad39d06df7f6c6af6249c0f33358ae2d799ec4b4.tar.gz
upstream-ad39d06df7f6c6af6249c0f33358ae2d799ec4b4.tar.bz2
upstream-ad39d06df7f6c6af6249c0f33358ae2d799ec4b4.zip
mediatek: add mt7531 DSA support
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/mediatek/mt7622/base-files/etc')
-rwxr-xr-xtarget/linux/mediatek/mt7622/base-files/etc/board.d/02_network4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/mediatek/mt7622/base-files/etc/board.d/02_network b/target/linux/mediatek/mt7622/base-files/etc/board.d/02_network
index b87a24fc2a..eed01a9293 100755
--- a/target/linux/mediatek/mt7622/base-files/etc/board.d/02_network
+++ b/target/linux/mediatek/mt7622/base-files/etc/board.d/02_network
@@ -9,6 +9,10 @@ mediatek_setup_interfaces()
local board="$1"
case $board in
+ bananapi,bpi-r64-rootdisk|\
+ bananapi,bpi-r64)
+ ucidef_set_interfaces_lan_wan "lan0 lan1 lan2 lan3" wan
+ ;;
*)
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6u@eth0" "5u@eth1"