mediatek: filogic: fix network config for mt7986a-rfb
authorChukun Pan <amadeus@jmu.edu.cn>
Sun, 19 Mar 2023 15:21:35 +0000 (23:21 +0800)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 21 Apr 2023 16:44:36 +0000 (18:44 +0200)
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>
target/linux/mediatek/filogic/base-files/etc/board.d/02_network

index 3d76e4d50291817c1a3414fd785f5876dbefa3af..730064695d6a70911a049db70b6f92d4bb6278ca 100644 (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
                ;;