diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-07-20 18:18:50 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-08-06 12:42:43 +0200 |
commit | 431b177afa79340136745536f472a58aa869a438 (patch) | |
tree | 9b2c119a72d172312d2744b1ab680294a8106de0 /target/linux/mediatek/mt7622 | |
parent | b7727a8005635a46255518bdf19eb016e160278a (diff) | |
download | upstream-431b177afa79340136745536f472a58aa869a438.tar.gz upstream-431b177afa79340136745536f472a58aa869a438.tar.bz2 upstream-431b177afa79340136745536f472a58aa869a438.zip |
mediatek: fix mt7622-rfb1 board support
Make GPIO keys active-low.
Add DSA support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/mediatek/mt7622')
-rwxr-xr-x | target/linux/mediatek/mt7622/base-files/etc/board.d/02_network | 3 |
1 files changed, 3 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 eed01a9293..426d9937bf 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 @@ -13,6 +13,9 @@ mediatek_setup_interfaces() bananapi,bpi-r64) ucidef_set_interfaces_lan_wan "lan0 lan1 lan2 lan3" wan ;; + mediatek,mt7622-rfb1) + ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" wan + ;; *) ucidef_add_switch "switch0" \ "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6u@eth0" "5u@eth1" |