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@makrotopia.org>
v19.07.3_mercusys_ac12_duma
Daniel Golle 7 years ago committed by John Crispin
parent 6cb0372d42
commit d57223259b

@ -136,7 +136,7 @@
&ethernet { &ethernet {
mtd-mac-address = <&factory 0x4>; mtd-mac-address = <&factory 0x4>;
ralink,port-map = "wllll"; mediatek,portmap = "wllll";
}; };
&wmac { &wmac {

@ -133,7 +133,7 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>; pinctrl-0 = <&ephy_pins>;
mtd-mac-address = <&factory 0x4000>; mtd-mac-address = <&factory 0x4000>;
ralink,port-map = "wllll"; mediatek,portmap = "wllll";
}; };
&wmac { &wmac {

@ -122,7 +122,7 @@
&ethernet { &ethernet {
mtd-mac-address = <&factory 0x4000>; mtd-mac-address = <&factory 0x4000>;
ralink,port-map = "wllll"; mediatek,portmap = "wllll";
}; };
&wmac { &wmac {

@ -128,7 +128,7 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>; pinctrl-0 = <&ephy_pins>;
mtd-mac-address = <&factory 0x4000>; mtd-mac-address = <&factory 0x4000>;
ralink,port-map = "llllw"; mediatek,portmap = "llllw";
}; };
&wmac { &wmac {

@ -72,7 +72,7 @@
&ethernet { &ethernet {
pinctrl-names = "default"; pinctrl-names = "default";
mtd-mac-address = <&factory 0xd>; mtd-mac-address = <&factory 0xd>;
ralink,port-map = "llllw"; mediatek,portmap = "llllw";
}; };
&wmac { &wmac {

@ -102,7 +102,7 @@
}; };
&esw { &esw {
ralink,portmap = <0x2f>; mediatek,portmap = <0x2f>;
}; };
&wmac { &wmac {

@ -125,5 +125,5 @@
&ethernet { &ethernet {
mtd-mac-address = <&factory 0x2e>; mtd-mac-address = <&factory 0x2e>;
ralink,port-map = "llllw"; mediatek,portmap = "llllw";
}; };

@ -75,7 +75,7 @@
&ethernet { &ethernet {
mtd-mac-address = <&factory 0x4>; mtd-mac-address = <&factory 0x4>;
ralink,port-map = "llllw"; mediatek,portmap = "llllw";
}; };
&sdhci { &sdhci {

@ -102,7 +102,7 @@
&ethernet { &ethernet {
mtd-mac-address = <&factory 0x4>; mtd-mac-address = <&factory 0x4>;
ralink,port-map = "wllll"; mediatek,portmap = "wllll";
}; };
&wmac { &wmac {

@ -115,7 +115,7 @@
&ethernet { &ethernet {
mtd-mac-address = <&factory 0x4>; mtd-mac-address = <&factory 0x4>;
ralink,port-map = "wllll"; mediatek,portmap = "wllll";
}; };
&wmac { &wmac {

@ -115,7 +115,7 @@
&ethernet { &ethernet {
mtd-mac-address = <&factory 0x4>; mtd-mac-address = <&factory 0x4>;
ralink,port-map = "wllll"; mediatek,portmap = "wllll";
}; };
&wmac { &wmac {

Loading…
Cancel
Save