From f87281b2956110f10af9eb23fc6d327dfde7ab42 Mon Sep 17 00:00:00 2001
From: Sungbo Eo <mans0n@gorani.run>
Date: Wed, 1 Jan 2020 21:34:33 +0900
Subject: [PATCH] ramips: rt305x: remove unnecessary mediatek,portmap

"#mediatek,portmap" is not a valid property name.

If mediatek,portmap equals 0x0, then the esw driver ditches it and uses
the default value, 0x3f.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
---
 target/linux/ramips/dts/rt3052_aximcom_mr-102n.dts | 1 -
 target/linux/ramips/dts/rt5350_zorlik_zl5900v2.dts | 1 -
 2 files changed, 2 deletions(-)

diff --git a/target/linux/ramips/dts/rt3052_aximcom_mr-102n.dts b/target/linux/ramips/dts/rt3052_aximcom_mr-102n.dts
index c2bb9bb20f..cbb8b7b947 100644
--- a/target/linux/ramips/dts/rt3052_aximcom_mr-102n.dts
+++ b/target/linux/ramips/dts/rt3052_aximcom_mr-102n.dts
@@ -115,7 +115,6 @@
 
 &esw {
 	status = "okay";
-	#mediatek,portmap = <0x3e>;
 	mediatek,portmap = <0x2f>;
 };
 
diff --git a/target/linux/ramips/dts/rt5350_zorlik_zl5900v2.dts b/target/linux/ramips/dts/rt5350_zorlik_zl5900v2.dts
index 2be3c0b527..56e3f0854d 100644
--- a/target/linux/ramips/dts/rt5350_zorlik_zl5900v2.dts
+++ b/target/linux/ramips/dts/rt5350_zorlik_zl5900v2.dts
@@ -94,7 +94,6 @@
 };
 
 &esw {
-	mediatek,portmap = <0>;
 	mediatek,portdisable = <0x2f>;
 };
 
-- 
2.30.2