diff options
author | John Crispin <john@phrozen.org> | 2020-06-04 15:07:28 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2020-06-07 19:10:51 +0200 |
commit | ad39d06df7f6c6af6249c0f33358ae2d799ec4b4 (patch) | |
tree | a16dc1b5933acf842ae43f49f18070dce5b331d8 /target/linux/mediatek/mt7622 | |
parent | f72a2b004c3541b1834fe7af2ae69dcfcde8d338 (diff) | |
download | upstream-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')
-rwxr-xr-x | target/linux/mediatek/mt7622/base-files/etc/board.d/02_network | 4 | ||||
-rwxr-xr-x | target/linux/mediatek/mt7622/config-5.4 | 7 |
2 files changed, 10 insertions, 1 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" diff --git a/target/linux/mediatek/mt7622/config-5.4 b/target/linux/mediatek/mt7622/config-5.4 index 040de2fbc0..1a00636968 100755 --- a/target/linux/mediatek/mt7622/config-5.4 +++ b/target/linux/mediatek/mt7622/config-5.4 @@ -393,7 +393,7 @@ CONFIG_MMC_MTK=y # CONFIG_MMC_TIFM_SD is not set CONFIG_MODULES_TREE_LOOKUP=y CONFIG_MODULES_USE_ELF_RELA=y -CONFIG_MT753X_GSW=y +# CONFIG_MT753X_GSW is not set CONFIG_MTD_NAND_CORE=y CONFIG_MTD_NAND_ECC_SW_HAMMING=y CONFIG_MTD_NAND_MTK=y @@ -415,8 +415,13 @@ CONFIG_MTK_TIMER=y CONFIG_MUTEX_SPIN_ON_OWNER=y CONFIG_NEED_DMA_MAP_STATE=y CONFIG_NEED_SG_DMA_LENGTH=y +CONFIG_NET_DEVLINK=y +CONFIG_NET_DSA=y +CONFIG_NET_DSA_MT7530=y +CONFIG_NET_DSA_TAG_MTK=y CONFIG_NET_FLOW_LIMIT=y CONFIG_NET_MEDIATEK_SOC=y +CONFIG_NET_SWITCHDEV=y CONFIG_NET_VENDOR_MEDIATEK=y CONFIG_NLS=y CONFIG_NO_HZ_COMMON=y |