From: Daniel Golle Date: Tue, 14 Feb 2017 13:08:59 +0000 (+0100) Subject: ramips: replace remaining instances of ralink, port-map X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d57223259ba9662ea1c8095b7a8269b11816794f;p=openwrt%2Fstaging%2Faparcar.git 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 --- diff --git a/target/linux/ramips/dts/D240.dts b/target/linux/ramips/dts/D240.dts index 3da96f2a9e..ef45d38e61 100644 --- a/target/linux/ramips/dts/D240.dts +++ b/target/linux/ramips/dts/D240.dts @@ -136,7 +136,7 @@ ðernet { 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 a700558a03..d4c8351f1e 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 be78a72b50..927ea54d0e 100644 --- a/target/linux/ramips/dts/GL-MT300N.dts +++ b/target/linux/ramips/dts/GL-MT300N.dts @@ -122,7 +122,7 @@ ðernet { 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 ad1e3f9173..1266dd3230 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 73ba493c5d..6d58b25b87 100644 --- a/target/linux/ramips/dts/MAC1200RV2.dts +++ b/target/linux/ramips/dts/MAC1200RV2.dts @@ -72,7 +72,7 @@ ðernet { 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 18e7902397..73143bd642 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 98716beb49..213cf9c70b 100644 --- a/target/linux/ramips/dts/WL-WN575A3.dts +++ b/target/linux/ramips/dts/WL-WN575A3.dts @@ -125,5 +125,5 @@ ðernet { 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 294616c0f7..ca7aa3befc 100644 --- a/target/linux/ramips/dts/WRTNODE2.dtsi +++ b/target/linux/ramips/dts/WRTNODE2.dtsi @@ -75,7 +75,7 @@ ðernet { 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 de7fa42d91..8a453bca32 100644 --- a/target/linux/ramips/dts/ZBT-WE826.dts +++ b/target/linux/ramips/dts/ZBT-WE826.dts @@ -102,7 +102,7 @@ ðernet { 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 2709b5188a..e25783f685 100644 --- a/target/linux/ramips/dts/kn_rc.dts +++ b/target/linux/ramips/dts/kn_rc.dts @@ -115,7 +115,7 @@ ðernet { 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 1190eab714..4f2b71035e 100644 --- a/target/linux/ramips/dts/kn_rf.dts +++ b/target/linux/ramips/dts/kn_rf.dts @@ -115,7 +115,7 @@ ðernet { mtd-mac-address = <&factory 0x4>; - ralink,port-map = "wllll"; + mediatek,portmap = "wllll"; }; &wmac {