diff --git a/target/linux/ramips/dts/FONERA20N.dts b/target/linux/ramips/dts/FONERA20N.dts
index b9503d91e6a94a5309544bc3d1cfcd8df66836e0..817e527df85826c564758f02f83cdb2faed7425b 100644
--- a/target/linux/ramips/dts/FONERA20N.dts
+++ b/target/linux/ramips/dts/FONERA20N.dts
@@ -77,6 +77,32 @@
 	esw@10110000 {
 		status = "okay";
 		ralink,portmap = <0x2f>;
+
+		port@0 {
+			conpatible = "swconfig,port";
+			swconfig,segment = "lan";
+			swconfig,portmap = <0 4>;
+		};
+		port@1 {
+			conpatible = "swconfig,port";
+			swconfig,segment = "lan";
+			swconfig,portmap = <1 3>;
+		};
+		port@2 {
+			conpatible = "swconfig,port";
+			swconfig,segment = "lan";
+			swconfig,portmap = <2 2>;
+		};
+		port@3 {
+			conpatible = "swconfig,port";
+			swconfig,segment = "lan";
+			swconfig,portmap = <3 1>;
+		};
+		port@4 {
+			conpatible = "swconfig,port";
+			swconfig,segment = "lan";
+			swconfig,portmap = <4 0>;
+		};
 	};
 
 	wmac@10180000 {