ramips: replace remaining instances of ralink, port-map
authorDaniel Golle <daniel@makrotopia.org>
Tue, 14 Feb 2017 13:08:59 +0000 (14:08 +0100)
committerJohn Crispin <john@phrozen.org>
Wed, 15 Feb 2017 08:12:40 +0000 (09:12 +0100)
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@makrotopia.org>
target/linux/ramips/dts/D240.dts
target/linux/ramips/dts/GL-MT300A.dts
target/linux/ramips/dts/GL-MT300N.dts
target/linux/ramips/dts/GL-MT750.dts
target/linux/ramips/dts/MAC1200RV2.dts
target/linux/ramips/dts/NBG-419N2.dts
target/linux/ramips/dts/WL-WN575A3.dts
target/linux/ramips/dts/WRTNODE2.dtsi
target/linux/ramips/dts/ZBT-WE826.dts
target/linux/ramips/dts/kn_rc.dts
target/linux/ramips/dts/kn_rf.dts

index 3da96f2..ef45d38 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
-       ralink,port-map = "wllll";
+       mediatek,portmap = "wllll";
 };
 
 &wmac {
index a700558..d4c8351 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
        mtd-mac-address = <&factory 0x4000>;
-       ralink,port-map = "wllll";
+       mediatek,portmap = "wllll";
 };
 
 &wmac {
index be78a72..927ea54 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x4000>;
-       ralink,port-map = "wllll";
+       mediatek,portmap = "wllll";
 };
 
 &wmac {
index ad1e3f9..1266dd3 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
        mtd-mac-address = <&factory 0x4000>;
-       ralink,port-map = "llllw";
+       mediatek,portmap = "llllw";
 };
 
 &wmac {
index 73ba493..6d58b25 100644 (file)
@@ -72,7 +72,7 @@
 &ethernet {
        pinctrl-names = "default";
        mtd-mac-address = <&factory 0xd>;
-       ralink,port-map = "llllw";
+       mediatek,portmap = "llllw";
 };
 
 &wmac {
index 18e7902..73143bd 100644 (file)
 };
 
 &esw {
-       ralink,portmap = <0x2f>;
+       mediatek,portmap = <0x2f>;
 };
 
 &wmac {
index 98716be..213cf9c 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x2e>;
-       ralink,port-map = "llllw";
+       mediatek,portmap = "llllw";
 };
index 294616c..ca7aa3b 100644 (file)
@@ -75,7 +75,7 @@
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
-       ralink,port-map = "llllw";
+       mediatek,portmap = "llllw";
 };
 
 &sdhci {
index de7fa42..8a453bc 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
-       ralink,port-map = "wllll";
+       mediatek,portmap = "wllll";
 };
 
 &wmac {
index 2709b51..e25783f 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
-       ralink,port-map = "wllll";
+       mediatek,portmap = "wllll";
 };
 
 &wmac {
index 1190eab..4f2b710 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
-       ralink,port-map = "wllll";
+       mediatek,portmap = "wllll";
 };
 
 &wmac {