From 56558807471c467452d9a051a92d5e033aae43ae Mon Sep 17 00:00:00 2001
From: Stijn Segers <foss@volatilesystems.org>
Date: Tue, 7 Jun 2022 22:31:39 +0200
Subject: [PATCH] mvebu: RB5009: use port 8 as WAN port

Port 1 (2,5 GbE) does not pass any traffic at 2,5G presently, nor will
we be using it for WAN in the near future. Plain gigabit port will
suffice for now.

Signed-off-by: Stijn Segers <foss@volatilesystems.org>
---
 target/linux/mvebu/cortexa72/base-files/etc/board.d/02_network | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mvebu/cortexa72/base-files/etc/board.d/02_network b/target/linux/mvebu/cortexa72/base-files/etc/board.d/02_network
index e1703029be..0eeb94b880 100644
--- a/target/linux/mvebu/cortexa72/base-files/etc/board.d/02_network
+++ b/target/linux/mvebu/cortexa72/base-files/etc/board.d/02_network
@@ -33,7 +33,7 @@ marvell,armada8040-clearfog-gt-8k)
 	ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 eth2" "eth0 eth1"
 	;;
 mikrotik,rb5009)
-	ucidef_set_interfaces_lan_wan "p2 p3 p4 p5 p6 p7 p8 sfp" "p1"
+	ucidef_set_interfaces_lan_wan "p1 p2 p3 p4 p5 p6 p7 sfp" "p8"
 	;;
 *)
 	ucidef_set_interface_lan "eth0"
-- 
2.30.2

