mediatek: filogic: fix network config for mt7986a-rfb

Fix the network configuration according to the device tree.

Fixes: 5faff99 ("mediatek: filogic: fix mt7986a ethernet devicetree entries")
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
This commit is contained in:
Chukun Pan 2023-03-19 23:21:35 +08:00 committed by Christian Marangi
parent c7c3208192
commit 800ce7f7b4
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View File

@ -12,7 +12,9 @@ mediatek_setup_interfaces()
CI_UBIPART="UBI_DEV"
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "eth1"
;;
mediatek,mt7986a-rfb|\
mediatek,mt7986a-rfb)
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 lan6" "eth1 wan"
;;
mediatek,mt7986b-rfb)
ucidef_set_interfaces_lan_wan "lan0 lan1 lan2 lan3" eth1
;;