[source] ramips: replace remaining instances of ralink, port-map

LEDE Commits lede-commits at lists.infradead.org
Wed Feb 15 00:16:26 PST 2017


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/d57223259ba9662ea1c8095b7a8269b11816794f

commit d57223259ba9662ea1c8095b7a8269b11816794f
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Tue Feb 14 14:08:59 2017 +0100

    ramips: replace remaining instances of ralink, port-map
    
    Some boards were apparently forgotten when ralink,portmap was renamed
    to mediatek,portmap -- probably because they used the long obsolete
    ralink,port-map attribute.
    If this commit breaks ethernet wan/lan assignment, this is because
    the port-map attribute wasn't actually parsed, you'll have to replace
    "wllll" by "llllw" in the dts file belonging to that board (and send
    a patch doing that!)
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 target/linux/ramips/dts/D240.dts       | 2 +-
 target/linux/ramips/dts/GL-MT300A.dts  | 2 +-
 target/linux/ramips/dts/GL-MT300N.dts  | 2 +-
 target/linux/ramips/dts/GL-MT750.dts   | 2 +-
 target/linux/ramips/dts/MAC1200RV2.dts | 2 +-
 target/linux/ramips/dts/NBG-419N2.dts  | 2 +-
 target/linux/ramips/dts/WL-WN575A3.dts | 2 +-
 target/linux/ramips/dts/WRTNODE2.dtsi  | 2 +-
 target/linux/ramips/dts/ZBT-WE826.dts  | 2 +-
 target/linux/ramips/dts/kn_rc.dts      | 2 +-
 target/linux/ramips/dts/kn_rf.dts      | 2 +-
 11 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/target/linux/ramips/dts/D240.dts b/target/linux/ramips/dts/D240.dts
index 3da96f2..ef45d38 100644
--- a/target/linux/ramips/dts/D240.dts
+++ b/target/linux/ramips/dts/D240.dts
@@ -136,7 +136,7 @@
 
 &ethernet {
 	mtd-mac-address = <&factory 0x4>;
-	ralink,port-map = "wllll";
+	mediatek,portmap = "wllll";
 };
 
 &wmac {
diff --git a/target/linux/ramips/dts/GL-MT300A.dts b/target/linux/ramips/dts/GL-MT300A.dts
index a700558..d4c8351 100644
--- a/target/linux/ramips/dts/GL-MT300A.dts
+++ b/target/linux/ramips/dts/GL-MT300A.dts
@@ -133,7 +133,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&ephy_pins>;
 	mtd-mac-address = <&factory 0x4000>;
-	ralink,port-map = "wllll";
+	mediatek,portmap = "wllll";
 };
 
 &wmac {
diff --git a/target/linux/ramips/dts/GL-MT300N.dts b/target/linux/ramips/dts/GL-MT300N.dts
index be78a72..927ea54 100644
--- a/target/linux/ramips/dts/GL-MT300N.dts
+++ b/target/linux/ramips/dts/GL-MT300N.dts
@@ -122,7 +122,7 @@
 
 &ethernet {
 	mtd-mac-address = <&factory 0x4000>;
-	ralink,port-map = "wllll";
+	mediatek,portmap = "wllll";
 };
 
 &wmac {
diff --git a/target/linux/ramips/dts/GL-MT750.dts b/target/linux/ramips/dts/GL-MT750.dts
index ad1e3f9..1266dd3 100644
--- a/target/linux/ramips/dts/GL-MT750.dts
+++ b/target/linux/ramips/dts/GL-MT750.dts
@@ -128,7 +128,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&ephy_pins>;
 	mtd-mac-address = <&factory 0x4000>;
-	ralink,port-map = "llllw";
+	mediatek,portmap = "llllw";
 };
 
 &wmac {
diff --git a/target/linux/ramips/dts/MAC1200RV2.dts b/target/linux/ramips/dts/MAC1200RV2.dts
index 73ba493..6d58b25 100644
--- a/target/linux/ramips/dts/MAC1200RV2.dts
+++ b/target/linux/ramips/dts/MAC1200RV2.dts
@@ -72,7 +72,7 @@
 &ethernet {
 	pinctrl-names = "default";
 	mtd-mac-address = <&factory 0xd>;
-	ralink,port-map = "llllw";
+	mediatek,portmap = "llllw";
 };
 
 &wmac {
diff --git a/target/linux/ramips/dts/NBG-419N2.dts b/target/linux/ramips/dts/NBG-419N2.dts
index 18e7902..73143bd 100644
--- a/target/linux/ramips/dts/NBG-419N2.dts
+++ b/target/linux/ramips/dts/NBG-419N2.dts
@@ -102,7 +102,7 @@
 };
 
 &esw {
-	ralink,portmap = <0x2f>;
+	mediatek,portmap = <0x2f>;
 };
 
 &wmac {
diff --git a/target/linux/ramips/dts/WL-WN575A3.dts b/target/linux/ramips/dts/WL-WN575A3.dts
index 98716be..213cf9c 100644
--- a/target/linux/ramips/dts/WL-WN575A3.dts
+++ b/target/linux/ramips/dts/WL-WN575A3.dts
@@ -125,5 +125,5 @@
 
 &ethernet {
 	mtd-mac-address = <&factory 0x2e>;
-	ralink,port-map = "llllw";
+	mediatek,portmap = "llllw";
 };
diff --git a/target/linux/ramips/dts/WRTNODE2.dtsi b/target/linux/ramips/dts/WRTNODE2.dtsi
index 294616c..ca7aa3b 100644
--- a/target/linux/ramips/dts/WRTNODE2.dtsi
+++ b/target/linux/ramips/dts/WRTNODE2.dtsi
@@ -75,7 +75,7 @@
 
 &ethernet {
 	mtd-mac-address = <&factory 0x4>;
-	ralink,port-map = "llllw";
+	mediatek,portmap = "llllw";
 };
 
 &sdhci {
diff --git a/target/linux/ramips/dts/ZBT-WE826.dts b/target/linux/ramips/dts/ZBT-WE826.dts
index de7fa42..8a453bc 100644
--- a/target/linux/ramips/dts/ZBT-WE826.dts
+++ b/target/linux/ramips/dts/ZBT-WE826.dts
@@ -102,7 +102,7 @@
 
 &ethernet {
 	mtd-mac-address = <&factory 0x4>;
-	ralink,port-map = "wllll";
+	mediatek,portmap = "wllll";
 };
 
 &wmac {
diff --git a/target/linux/ramips/dts/kn_rc.dts b/target/linux/ramips/dts/kn_rc.dts
index 2709b51..e25783f 100644
--- a/target/linux/ramips/dts/kn_rc.dts
+++ b/target/linux/ramips/dts/kn_rc.dts
@@ -115,7 +115,7 @@
 
 &ethernet {
 	mtd-mac-address = <&factory 0x4>;
-	ralink,port-map = "wllll";
+	mediatek,portmap = "wllll";
 };
 
 &wmac {
diff --git a/target/linux/ramips/dts/kn_rf.dts b/target/linux/ramips/dts/kn_rf.dts
index 1190eab..4f2b710 100644
--- a/target/linux/ramips/dts/kn_rf.dts
+++ b/target/linux/ramips/dts/kn_rf.dts
@@ -115,7 +115,7 @@
 
 &ethernet {
 	mtd-mac-address = <&factory 0x4>;
-	ralink,port-map = "wllll";
+	mediatek,portmap = "wllll";
 };
 
 &wmac {



More information about the lede-commits mailing list