diff options
author | John Crispin <john@openwrt.org> | 2015-12-17 09:25:57 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-12-17 09:25:57 +0000 |
commit | 651e620de5b0e0a8da4787771f0b65d8af0426f0 (patch) | |
tree | 7af15350ab4cd9c2afc29b891a006e431d41fd56 | |
parent | fa854a02a16a4961f09358569f0328bf87fcbc1d (diff) | |
download | upstream-651e620de5b0e0a8da4787771f0b65d8af0426f0.tar.gz upstream-651e620de5b0e0a8da4787771f0b65d8af0426f0.tar.bz2 upstream-651e620de5b0e0a8da4787771f0b65d8af0426f0.zip |
ralink: fixup devicetree files to work with new ethernet driver
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47900
139 files changed, 190 insertions, 176 deletions
diff --git a/target/linux/ramips/dts/3G-6200N.dts b/target/linux/ramips/dts/3G-6200N.dts index 5c1e588d01..183148ad8b 100644 --- a/target/linux/ramips/dts/3G-6200N.dts +++ b/target/linux/ramips/dts/3G-6200N.dts @@ -58,7 +58,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/3G-6200NL.dts b/target/linux/ramips/dts/3G-6200NL.dts index 8f7d383ed1..760dafcd85 100644 --- a/target/linux/ramips/dts/3G-6200NL.dts +++ b/target/linux/ramips/dts/3G-6200NL.dts @@ -58,7 +58,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/3G150B.dts b/target/linux/ramips/dts/3G150B.dts index a8387a45f6..54b9461710 100644 --- a/target/linux/ramips/dts/3G150B.dts +++ b/target/linux/ramips/dts/3G150B.dts @@ -62,7 +62,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/3G300M.dts b/target/linux/ramips/dts/3G300M.dts index 997c0817ab..9f3967c4aa 100644 --- a/target/linux/ramips/dts/3G300M.dts +++ b/target/linux/ramips/dts/3G300M.dts @@ -111,7 +111,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/A5-V11.dts b/target/linux/ramips/dts/A5-V11.dts index f1d0891ebd..0dcdd18826 100644 --- a/target/linux/ramips/dts/A5-V11.dts +++ b/target/linux/ramips/dts/A5-V11.dts @@ -62,7 +62,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/AI-BR100.dts b/target/linux/ramips/dts/AI-BR100.dts index f3932aec5d..1c282f1c21 100644 --- a/target/linux/ramips/dts/AI-BR100.dts +++ b/target/linux/ramips/dts/AI-BR100.dts @@ -73,7 +73,7 @@ pinctrl-names = "default"; pinctrl-0 = <&ephy_pins>; mtd-mac-address = <&factory 0x4>; - ralink,port-map = "llllw"; + mediatek,portmap = "llllw"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/AIR3GII.dts b/target/linux/ramips/dts/AIR3GII.dts index 40d3228615..e613c433c2 100644 --- a/target/linux/ramips/dts/AIR3GII.dts +++ b/target/linux/ramips/dts/AIR3GII.dts @@ -62,7 +62,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/ALL0239-3G.dts b/target/linux/ramips/dts/ALL0239-3G.dts index d75bb2ce40..ae09fb9706 100644 --- a/target/linux/ramips/dts/ALL0239-3G.dts +++ b/target/linux/ramips/dts/ALL0239-3G.dts @@ -53,7 +53,7 @@ esw@10110000 { status = "okay"; - ralink,portmap = <0x3e>; + mediatek,portmap = <0x3e>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/ALL0256N-4M.dts b/target/linux/ramips/dts/ALL0256N-4M.dts index d0fbb8905f..b24225637e 100644 --- a/target/linux/ramips/dts/ALL0256N-4M.dts +++ b/target/linux/ramips/dts/ALL0256N-4M.dts @@ -62,7 +62,7 @@ }; esw@10110000 { - ralink,portmap = <0x3f>; + mediatek,portmap = <0x3f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/ALL0256N-8M.dts b/target/linux/ramips/dts/ALL0256N-8M.dts index c7888691e2..aa0aeecb87 100644 --- a/target/linux/ramips/dts/ALL0256N-8M.dts +++ b/target/linux/ramips/dts/ALL0256N-8M.dts @@ -62,7 +62,7 @@ }; esw@10110000 { - ralink,portmap = <0x3f>; + mediatek,portmap = <0x3f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/ALL5002.dts b/target/linux/ramips/dts/ALL5002.dts index 7717f02f6f..1985aa7e94 100644 --- a/target/linux/ramips/dts/ALL5002.dts +++ b/target/linux/ramips/dts/ALL5002.dts @@ -62,7 +62,7 @@ }; esw@10110000 { - ralink,portmap = <0x3f>; + mediatek,portmap = <0x3f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/ALL5003.dts b/target/linux/ramips/dts/ALL5003.dts index c2561452e8..9e6a686d7d 100644 --- a/target/linux/ramips/dts/ALL5003.dts +++ b/target/linux/ramips/dts/ALL5003.dts @@ -62,7 +62,7 @@ }; esw@10110000 { - ralink,portmap = <0x3f>; + mediatek,portmap = <0x3f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/ASL26555-16M.dts b/target/linux/ramips/dts/ASL26555-16M.dts index 2cf1ac6182..9448ce1ea0 100644 --- a/target/linux/ramips/dts/ASL26555-16M.dts +++ b/target/linux/ramips/dts/ASL26555-16M.dts @@ -80,7 +80,7 @@ }; esw@10110000 { - ralink,portmap = <0x1e>; + mediatek,portmap = <0x1e>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/ASL26555-8M.dts b/target/linux/ramips/dts/ASL26555-8M.dts index 80cf4a4b17..579b3276fd 100644 --- a/target/linux/ramips/dts/ASL26555-8M.dts +++ b/target/linux/ramips/dts/ASL26555-8M.dts @@ -74,7 +74,7 @@ }; esw@10110000 { - ralink,portmap = <0x1e>; + mediatek,portmap = <0x1e>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/ATP-52B.dts b/target/linux/ramips/dts/ATP-52B.dts index c3f42bfea5..f7e9ac77d9 100644 --- a/target/linux/ramips/dts/ATP-52B.dts +++ b/target/linux/ramips/dts/ATP-52B.dts @@ -83,7 +83,7 @@ }; esw@10110000 { - ralink,portmap = <0x3e>; + mediatek,portmap = <0x3e>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/AWAPN2403.dts b/target/linux/ramips/dts/AWAPN2403.dts index b0f81b0dee..fe297a9e37 100644 --- a/target/linux/ramips/dts/AWAPN2403.dts +++ b/target/linux/ramips/dts/AWAPN2403.dts @@ -54,7 +54,7 @@ }; esw@10110000 { - ralink,portmap = <0x3e>; + mediatek,portmap = <0x3e>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/AWM002.dtsi b/target/linux/ramips/dts/AWM002.dtsi index 1906e6e831..7afe80fe33 100644 --- a/target/linux/ramips/dts/AWM002.dtsi +++ b/target/linux/ramips/dts/AWM002.dtsi @@ -50,7 +50,7 @@ }; esw@10110000 { - ralink,portmap = <0x3f>; + mediatek,portmap = <0x3f>; }; ehci@101c0000 { diff --git a/target/linux/ramips/dts/ArcherC20i.dts b/target/linux/ramips/dts/ArcherC20i.dts index 0ad4d12078..da2269918f 100644 --- a/target/linux/ramips/dts/ArcherC20i.dts +++ b/target/linux/ramips/dts/ArcherC20i.dts @@ -73,7 +73,7 @@ pinctrl-names = "default"; pinctrl-0 = <&ephy_pins>; mtd-mac-address = <&rom 0xf100>; - ralink,port-map = "wllll"; + mediatek,portmap = "wllll"; }; ehci@101c0000 { @@ -85,7 +85,7 @@ }; gsw@10110000 { - ralink,port4 = "ephy"; + mediatek,port4 = "ephy"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/BC2.dts b/target/linux/ramips/dts/BC2.dts index d920b6e882..0c74ffaee3 100644 --- a/target/linux/ramips/dts/BC2.dts +++ b/target/linux/ramips/dts/BC2.dts @@ -74,7 +74,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/BR-6425.dts b/target/linux/ramips/dts/BR-6425.dts index cb2c89b44d..a5f91771f0 100644 --- a/target/linux/ramips/dts/BR-6425.dts +++ b/target/linux/ramips/dts/BR-6425.dts @@ -29,7 +29,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/BR-6475ND.dts b/target/linux/ramips/dts/BR-6475ND.dts index 8c8a980256..fc6d16f775 100644 --- a/target/linux/ramips/dts/BR-6475ND.dts +++ b/target/linux/ramips/dts/BR-6475ND.dts @@ -34,7 +34,7 @@ mtd-mac-address = <&devdata 0x0d>; port@0 { - ralink,fixed-link = <1000 1 1 1>; + mediatek,fixed-link = <1000 1 1 1>; }; }; diff --git a/target/linux/ramips/dts/BROADWAY.dts b/target/linux/ramips/dts/BROADWAY.dts index 95c245d66b..df43644178 100644 --- a/target/linux/ramips/dts/BROADWAY.dts +++ b/target/linux/ramips/dts/BROADWAY.dts @@ -52,7 +52,7 @@ }; esw@10110000 { - ralink,portmap = <0x3e>; + mediatek,portmap = <0x3e>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/CARAMBOLA.dts b/target/linux/ramips/dts/CARAMBOLA.dts index ea3623d4e3..771d4ec9c7 100644 --- a/target/linux/ramips/dts/CARAMBOLA.dts +++ b/target/linux/ramips/dts/CARAMBOLA.dts @@ -56,7 +56,7 @@ }; esw@10110000 { - ralink,portmap = <0x3f>; + mediatek,portmap = <0x3f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/CY-SWR1100.dts b/target/linux/ramips/dts/CY-SWR1100.dts index cec84ac701..be15d9b863 100644 --- a/target/linux/ramips/dts/CY-SWR1100.dts +++ b/target/linux/ramips/dts/CY-SWR1100.dts @@ -23,7 +23,7 @@ ethernet@10100000 { port@0 { - ralink,fixed-link = <1000 1 1 1>; + mediatek,fixed-link = <1000 1 1 1>; phy-mode = "rgmii"; }; }; diff --git a/target/linux/ramips/dts/D105.dts b/target/linux/ramips/dts/D105.dts index 5ef625c871..1a1ea73632 100644 --- a/target/linux/ramips/dts/D105.dts +++ b/target/linux/ramips/dts/D105.dts @@ -79,7 +79,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/DAP-1350.dts b/target/linux/ramips/dts/DAP-1350.dts index ce529459f8..e97c5514f8 100644 --- a/target/linux/ramips/dts/DAP-1350.dts +++ b/target/linux/ramips/dts/DAP-1350.dts @@ -62,7 +62,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/DB-WRT01.dts b/target/linux/ramips/dts/DB-WRT01.dts index d0fbaf3c2a..e3a7770835 100644 --- a/target/linux/ramips/dts/DB-WRT01.dts +++ b/target/linux/ramips/dts/DB-WRT01.dts @@ -61,11 +61,11 @@ pinctrl-names = "default"; pinctrl-0 = <&ephy_pins>; mtd-mac-address = <&factory 0x4>; - ralink,port-map = "llllw"; + mediatek,portmap = "llllw"; }; gsw@10110000 { - ralink,port4 = "ephy"; + mediatek,port4 = "ephy"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/DCS-930.dts b/target/linux/ramips/dts/DCS-930.dts index 3c89f84dd6..b43d4e5504 100644 --- a/target/linux/ramips/dts/DCS-930.dts +++ b/target/linux/ramips/dts/DCS-930.dts @@ -100,7 +100,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/DCS-930L-B1.dts b/target/linux/ramips/dts/DCS-930L-B1.dts index 525707c3ad..deb056dec2 100644 --- a/target/linux/ramips/dts/DCS-930L-B1.dts +++ b/target/linux/ramips/dts/DCS-930L-B1.dts @@ -58,7 +58,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/DIR-300-B1.dts b/target/linux/ramips/dts/DIR-300-B1.dts index 6d19f651d8..f0298b2db3 100644 --- a/target/linux/ramips/dts/DIR-300-B1.dts +++ b/target/linux/ramips/dts/DIR-300-B1.dts @@ -52,7 +52,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/DIR-300-B7.dts b/target/linux/ramips/dts/DIR-300-B7.dts index 30c259608c..3317472e92 100644 --- a/target/linux/ramips/dts/DIR-300-B7.dts +++ b/target/linux/ramips/dts/DIR-300-B7.dts @@ -58,8 +58,8 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; - ralink,led_polarity = <0x17>; + mediatek,portmap = <0x2f>; + mediatek,led_polarity = <0x17>; }; gpio-leds { diff --git a/target/linux/ramips/dts/DIR-320-B1.dts b/target/linux/ramips/dts/DIR-320-B1.dts index c1e583264c..2b69350cad 100644 --- a/target/linux/ramips/dts/DIR-320-B1.dts +++ b/target/linux/ramips/dts/DIR-320-B1.dts @@ -58,8 +58,8 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; - ralink,led_polarity = <0x17>; + mediatek,portmap = <0x2f>; + mediatek,led_polarity = <0x17>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/DIR-600-B1.dts b/target/linux/ramips/dts/DIR-600-B1.dts index 5020b78a06..ea3d3ebecd 100644 --- a/target/linux/ramips/dts/DIR-600-B1.dts +++ b/target/linux/ramips/dts/DIR-600-B1.dts @@ -52,7 +52,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/DIR-600-B2.dts b/target/linux/ramips/dts/DIR-600-B2.dts index d06b85307f..27915634e9 100644 --- a/target/linux/ramips/dts/DIR-600-B2.dts +++ b/target/linux/ramips/dts/DIR-600-B2.dts @@ -48,7 +48,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/DIR-610-A1.dts b/target/linux/ramips/dts/DIR-610-A1.dts index 9ec987051e..b762cc3d2e 100644 --- a/target/linux/ramips/dts/DIR-610-A1.dts +++ b/target/linux/ramips/dts/DIR-610-A1.dts @@ -59,8 +59,8 @@ esw@10110000 { status = "okay"; - ralink,portmap = <0x2f>; - ralink,led_polarity = <0x17>; + mediatek,portmap = <0x2f>; + mediatek,led_polarity = <0x17>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/DIR-615-D.dts b/target/linux/ramips/dts/DIR-615-D.dts index a57ea6d34f..45aeacea1e 100644 --- a/target/linux/ramips/dts/DIR-615-D.dts +++ b/target/linux/ramips/dts/DIR-615-D.dts @@ -48,7 +48,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/DIR-615-H1.dts b/target/linux/ramips/dts/DIR-615-H1.dts index f9bdc92943..8f064afd32 100644 --- a/target/linux/ramips/dts/DIR-615-H1.dts +++ b/target/linux/ramips/dts/DIR-615-H1.dts @@ -68,7 +68,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/DIR-620-A1.dts b/target/linux/ramips/dts/DIR-620-A1.dts index 212cf881b7..c72b11bc14 100644 --- a/target/linux/ramips/dts/DIR-620-A1.dts +++ b/target/linux/ramips/dts/DIR-620-A1.dts @@ -52,7 +52,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/DIR-620-D1.dts b/target/linux/ramips/dts/DIR-620-D1.dts index 166d61ed0d..9e7314f1ac 100644 --- a/target/linux/ramips/dts/DIR-620-D1.dts +++ b/target/linux/ramips/dts/DIR-620-D1.dts @@ -68,7 +68,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/DIR-645.dts b/target/linux/ramips/dts/DIR-645.dts index 58a078811b..87588c5c47 100644 --- a/target/linux/ramips/dts/DIR-645.dts +++ b/target/linux/ramips/dts/DIR-645.dts @@ -72,7 +72,7 @@ mtd-mac-address = <&factory 0x4>; port@0 { - ralink,fixed-link = <1000 1 1 0>; + mediatek,fixed-link = <1000 1 1 0>; }; }; diff --git a/target/linux/ramips/dts/DIR-810L.dts b/target/linux/ramips/dts/DIR-810L.dts index 4f0078710a..82e602d9b0 100644 --- a/target/linux/ramips/dts/DIR-810L.dts +++ b/target/linux/ramips/dts/DIR-810L.dts @@ -79,11 +79,11 @@ ethernet@10100000 { mtd-mac-address = <&factory 0x28>; - ralink,port-map = "llllw"; + mediatek,portmap = "llllw"; }; gsw@10110000 { - ralink,port4 = "ephy"; + mediatek,port4 = "ephy"; pinctrl-names = "default"; pinctrl-0 = <&ephy_pins>; }; diff --git a/target/linux/ramips/dts/E1700.dts b/target/linux/ramips/dts/E1700.dts index 832b715b9f..890f36ea26 100644 --- a/target/linux/ramips/dts/E1700.dts +++ b/target/linux/ramips/dts/E1700.dts @@ -71,7 +71,7 @@ port@5 { status = "okay"; - ralink,fixed-link = <1000 1 1 1>; + mediatek,fixed-link = <1000 1 1 1>; phy-mode = "rgmii"; }; @@ -111,7 +111,7 @@ }; gsw@10110000 { - ralink,port4 = "gmac"; + mediatek,port4 = "gmac"; mediatek,mt7530 = <1>; }; diff --git a/target/linux/ramips/dts/ESR-9753.dts b/target/linux/ramips/dts/ESR-9753.dts index b0f9046ca4..67d8539f9d 100644 --- a/target/linux/ramips/dts/ESR-9753.dts +++ b/target/linux/ramips/dts/ESR-9753.dts @@ -85,7 +85,7 @@ }; esw@10110000 { - ralink,portmap = <0x3e>; + mediatek,portmap = <0x3e>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/F5D8235_V1.dts b/target/linux/ramips/dts/F5D8235_V1.dts index 2f510257c0..f1bfc0917e 100644 --- a/target/linux/ramips/dts/F5D8235_V1.dts +++ b/target/linux/ramips/dts/F5D8235_V1.dts @@ -60,7 +60,7 @@ mtd-mac-address = <&factory 0x4>; port@0 { - ralink,fixed-link = <1000 1 1 1>; + mediatek,fixed-link = <1000 1 1 1>; }; }; diff --git a/target/linux/ramips/dts/F5D8235_V2.dts b/target/linux/ramips/dts/F5D8235_V2.dts index d0a49f60e2..38446e62f9 100644 --- a/target/linux/ramips/dts/F5D8235_V2.dts +++ b/target/linux/ramips/dts/F5D8235_V2.dts @@ -50,7 +50,7 @@ }; esw@10110000 { - ralink,portmap = <0x3f>; + mediatek,portmap = <0x3f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/FONERA20N.dts b/target/linux/ramips/dts/FONERA20N.dts index d3479b1286..a9d0acdc87 100644 --- a/target/linux/ramips/dts/FONERA20N.dts +++ b/target/linux/ramips/dts/FONERA20N.dts @@ -91,7 +91,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; port@0 { compatible = "swconfig,port"; diff --git a/target/linux/ramips/dts/FREESTATION5.dts b/target/linux/ramips/dts/FREESTATION5.dts index a6a7402774..0e38c553d8 100644 --- a/target/linux/ramips/dts/FREESTATION5.dts +++ b/target/linux/ramips/dts/FREESTATION5.dts @@ -56,7 +56,7 @@ }; esw@10110000 { - ralink,portmap = <0x01>; + mediatek,portmap = <0x01>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/HC5861.dts b/target/linux/ramips/dts/HC5861.dts index 05857ea8e8..b279db1835 100644 --- a/target/linux/ramips/dts/HC5861.dts +++ b/target/linux/ramips/dts/HC5861.dts @@ -11,7 +11,7 @@ mtd-mac-address = <&factory 0x4>; pinctrl-names = "default"; pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>; - ralink,port-map = "wllll"; + mediatek,portmap = "wllll"; port@4 { status = "okay"; @@ -41,7 +41,7 @@ }; gsw@10110000 { - ralink,port4 = "gmac"; + mediatek,port4 = "gmac"; }; gpio-leds { diff --git a/target/linux/ramips/dts/HC5XXX.dtsi b/target/linux/ramips/dts/HC5XXX.dtsi index d295fd969a..361a049a40 100644 --- a/target/linux/ramips/dts/HC5XXX.dtsi +++ b/target/linux/ramips/dts/HC5XXX.dtsi @@ -86,7 +86,7 @@ pinctrl-names = "default"; pinctrl-0 = <&ephy_pins>; mtd-mac-address = <&factory 0x4>; - ralink,port-map = "wllll"; + mediatek,portmap = "wllll"; }; sdhci@10130000 { diff --git a/target/linux/ramips/dts/HG255D.dts b/target/linux/ramips/dts/HG255D.dts index 4fbe3e62ec..00f012c425 100644 --- a/target/linux/ramips/dts/HG255D.dts +++ b/target/linux/ramips/dts/HG255D.dts @@ -117,7 +117,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/HT-TM02.dts b/target/linux/ramips/dts/HT-TM02.dts index 72feaa9e82..2ae2b141c6 100644 --- a/target/linux/ramips/dts/HT-TM02.dts +++ b/target/linux/ramips/dts/HT-TM02.dts @@ -62,7 +62,7 @@ }; esw@10110000 { - ralink,portmap = <0x10>; + mediatek,portmap = <0x10>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/HW550-3G.dts b/target/linux/ramips/dts/HW550-3G.dts index 8dbd82bd0f..8a88131d0c 100644 --- a/target/linux/ramips/dts/HW550-3G.dts +++ b/target/linux/ramips/dts/HW550-3G.dts @@ -52,7 +52,7 @@ }; esw@10110000 { - ralink,portmap = <0x3e>; + mediatek,portmap = <0x3e>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/IP2202.dts b/target/linux/ramips/dts/IP2202.dts index 9eecad6ca8..da6304521e 100644 --- a/target/linux/ramips/dts/IP2202.dts +++ b/target/linux/ramips/dts/IP2202.dts @@ -52,7 +52,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; gpio-leds { diff --git a/target/linux/ramips/dts/M2M.dts b/target/linux/ramips/dts/M2M.dts index dbe36dac52..17974c8122 100644 --- a/target/linux/ramips/dts/M2M.dts +++ b/target/linux/ramips/dts/M2M.dts @@ -95,7 +95,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; ehci@101c0000 { diff --git a/target/linux/ramips/dts/M3.dts b/target/linux/ramips/dts/M3.dts index c10bf3bea0..03e4216e0b 100644 --- a/target/linux/ramips/dts/M3.dts +++ b/target/linux/ramips/dts/M3.dts @@ -58,8 +58,8 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; - ralink,led_polarity = <1>; + mediatek,portmap = <0x2f>; + mediatek,led_polarity = <1>; }; gpio-leds { diff --git a/target/linux/ramips/dts/M4-4M.dts b/target/linux/ramips/dts/M4-4M.dts index 24431876d1..7f15d9b30a 100644 --- a/target/linux/ramips/dts/M4-4M.dts +++ b/target/linux/ramips/dts/M4-4M.dts @@ -58,8 +58,8 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; - ralink,led_polarity = <1>; + mediatek,portmap = <0x2f>; + mediatek,led_polarity = <1>; }; gpio-leds { diff --git a/target/linux/ramips/dts/M4-8M.dts b/target/linux/ramips/dts/M4-8M.dts index e7e5058648..54a41d435a 100644 --- a/target/linux/ramips/dts/M4-8M.dts +++ b/target/linux/ramips/dts/M4-8M.dts @@ -58,8 +58,8 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; - ralink,led_polarity = <1>; + mediatek,portmap = <0x2f>; + mediatek,led_polarity = <1>; }; gpio-leds { diff --git a/target/linux/ramips/dts/MINIEMBPLUG.dts b/target/linux/ramips/dts/MINIEMBPLUG.dts index c94c3aa6cd..c294227eaa 100644 --- a/target/linux/ramips/dts/MINIEMBPLUG.dts +++ b/target/linux/ramips/dts/MINIEMBPLUG.dts @@ -107,7 +107,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/MINIEMBWIFI.dts b/target/linux/ramips/dts/MINIEMBWIFI.dts index b026f0c75f..70557f9c2b 100644 --- a/target/linux/ramips/dts/MINIEMBWIFI.dts +++ b/target/linux/ramips/dts/MINIEMBWIFI.dts @@ -79,7 +79,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/MIWIFI-MINI.dts b/target/linux/ramips/dts/MIWIFI-MINI.dts index dad99c3ea1..9c5e1fcebf 100644 --- a/target/linux/ramips/dts/MIWIFI-MINI.dts +++ b/target/linux/ramips/dts/MIWIFI-MINI.dts @@ -87,7 +87,7 @@ pinctrl-names = "default"; pinctrl-0 = <&ephy_pins>; mtd-mac-address = <&factory 0x4>; - ralink,port-map = "llllw"; + mediatek,portmap = "llllw"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/MLW221.dts b/target/linux/ramips/dts/MLW221.dts index 12bc8c0149..f6d72de5f0 100644 --- a/target/linux/ramips/dts/MLW221.dts +++ b/target/linux/ramips/dts/MLW221.dts @@ -71,7 +71,7 @@ ethernet@10100000 { mtd-mac-address = <&factory 0x4>; - ralink,port-map = "wllll"; + mediatek,portmap = "wllll"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/MLWG2.dts b/target/linux/ramips/dts/MLWG2.dts index c417bff2c8..2ba178af7c 100644 --- a/target/linux/ramips/dts/MLWG2.dts +++ b/target/linux/ramips/dts/MLWG2.dts @@ -71,7 +71,7 @@ ethernet@10100000 { mtd-mac-address = <&factory 0x4>; - ralink,port-map = "wllll"; + mediatek,portmap = "wllll"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/MOFI3500-3GN.dts b/target/linux/ramips/dts/MOFI3500-3GN.dts index 27c9e8378a..9bd1f42d43 100644 --- a/target/linux/ramips/dts/MOFI3500-3GN.dts +++ b/target/linux/ramips/dts/MOFI3500-3GN.dts @@ -48,7 +48,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; gpio-leds { diff --git a/target/linux/ramips/dts/MPRA1.dts b/target/linux/ramips/dts/MPRA1.dts index 8a7d684bde..98828dabf4 100644 --- a/target/linux/ramips/dts/MPRA1.dts +++ b/target/linux/ramips/dts/MPRA1.dts @@ -62,7 +62,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/MPRA2.dts b/target/linux/ramips/dts/MPRA2.dts index 4b8fd29d04..9dc8a18502 100644 --- a/target/linux/ramips/dts/MPRA2.dts +++ b/target/linux/ramips/dts/MPRA2.dts @@ -58,7 +58,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/MR-102N.dts b/target/linux/ramips/dts/MR-102N.dts index 3c392e44c9..2b6139737f 100644 --- a/target/linux/ramips/dts/MR-102N.dts +++ b/target/linux/ramips/dts/MR-102N.dts @@ -63,8 +63,8 @@ esw@10110000 { status = "okay"; - #ralink,portmap = <0x3e>; - ralink,portmap = <0x2f>; + #mediatek,portmap = <0x3e>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/MT7620a.dts b/target/linux/ramips/dts/MT7620a.dts index 71b30bde6b..35006192f6 100644 --- a/target/linux/ramips/dts/MT7620a.dts +++ b/target/linux/ramips/dts/MT7620a.dts @@ -57,7 +57,7 @@ status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>; - ralink,port-map = "llllw"; + mediatek,portmap = "llllw"; port@4 { status = "okay"; @@ -87,7 +87,7 @@ }; gsw@10110000 { - ralink,port4 = "gmac"; + mediatek,port4 = "gmac"; }; sdhci@10130000 { diff --git a/target/linux/ramips/dts/MT7620a_MT7530.dts b/target/linux/ramips/dts/MT7620a_MT7530.dts index ac01fd2a87..c2398ec82a 100644 --- a/target/linux/ramips/dts/MT7620a_MT7530.dts +++ b/target/linux/ramips/dts/MT7620a_MT7530.dts @@ -57,11 +57,11 @@ status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>; - ralink,port-map = "llllw"; + mediatek,portmap = "llllw"; port@5 { status = "okay"; - ralink,fixed-link = <1000 1 1 1>; + mediatek,fixed-link = <1000 1 1 1>; phy-mode = "rgmii"; }; @@ -101,7 +101,7 @@ }; gsw@10110000 { - ralink,port4 = "gmac"; + mediatek,port4 = "gmac"; mediatek,mt7530 = <1>; }; diff --git a/target/linux/ramips/dts/MT7620a_MT7610e.dts b/target/linux/ramips/dts/MT7620a_MT7610e.dts index ba57fae1cb..7a512cfd8c 100644 --- a/target/linux/ramips/dts/MT7620a_MT7610e.dts +++ b/target/linux/ramips/dts/MT7620a_MT7610e.dts @@ -52,11 +52,11 @@ status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&ephy_pins>; - ralink,port-map = "llllw"; + mediatek,portmap = "llllw"; }; gsw@10110000 { - ralink,port4 = "ephy"; + mediatek,port4 = "ephy"; }; sdhci@10130000 { diff --git a/target/linux/ramips/dts/MT7620a_V22SG.dts b/target/linux/ramips/dts/MT7620a_V22SG.dts index ef3019576f..f56d592663 100644 --- a/target/linux/ramips/dts/MT7620a_V22SG.dts +++ b/target/linux/ramips/dts/MT7620a_V22SG.dts @@ -19,7 +19,7 @@ status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>; - ralink,port-map = "llllw"; + mediatek,portmap = "llllw"; port@4 { status = "okay"; @@ -49,7 +49,7 @@ }; gsw@10110000 { - ralink,port4 = "gmac"; + mediatek,port4 = "gmac"; }; pcie@10140000 { diff --git a/target/linux/ramips/dts/MZK-750DHP.dts b/target/linux/ramips/dts/MZK-750DHP.dts index bdf3f8f13d..73c864a799 100644 --- a/target/linux/ramips/dts/MZK-750DHP.dts +++ b/target/linux/ramips/dts/MZK-750DHP.dts @@ -61,11 +61,11 @@ pinctrl-names = "default"; pinctrl-0 = <&ephy_pins>; mtd-mac-address = <&factory 0x4>; - ralink,port-map = "llllw"; + mediatek,portmap = "llllw"; }; gsw@10110000 { - ralink,port4 = "ephy"; + mediatek,port4 = "ephy"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/MZK-DP150N.dts b/target/linux/ramips/dts/MZK-DP150N.dts index 893807cfd9..b6b7ed75a8 100644 --- a/target/linux/ramips/dts/MZK-DP150N.dts +++ b/target/linux/ramips/dts/MZK-DP150N.dts @@ -68,7 +68,7 @@ }; esw@10110000 { - ralink,portmap = <0x17>; + mediatek,portmap = <0x17>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/MZK-W300NH2.dts b/target/linux/ramips/dts/MZK-W300NH2.dts index 06cc292023..8b4335e416 100644 --- a/target/linux/ramips/dts/MZK-W300NH2.dts +++ b/target/linux/ramips/dts/MZK-W300NH2.dts @@ -58,7 +58,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/MicroWRT.dts b/target/linux/ramips/dts/MicroWRT.dts index ac660d496b..298d8a6fc1 100644 --- a/target/linux/ramips/dts/MicroWRT.dts +++ b/target/linux/ramips/dts/MicroWRT.dts @@ -72,7 +72,7 @@ pinctrl-names = "default"; pinctrl-0 = <&ephy_pins>; mtd-mac-address = <&factory 0x4>; - ralink,port-map = "llllw"; + mediatek,portmap = "llllw"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/NA930.dts b/target/linux/ramips/dts/NA930.dts index 4397b2cc3f..ade3356477 100644 --- a/target/linux/ramips/dts/NA930.dts +++ b/target/linux/ramips/dts/NA930.dts @@ -71,7 +71,7 @@ status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&rgmii1_pins &mdio_pins>; - ralink,port-map = "llllw"; + mediatek,portmap = "llllw"; port@4 { status = "okay"; @@ -161,7 +161,7 @@ }; gsw@10110000 { - ralink,port4 = "gmac"; + mediatek,port4 = "gmac"; }; ehci@101c0000 { diff --git a/target/linux/ramips/dts/NBG-419N.dts b/target/linux/ramips/dts/NBG-419N.dts index 50a12cb04c..0043812241 100644 --- a/target/linux/ramips/dts/NBG-419N.dts +++ b/target/linux/ramips/dts/NBG-419N.dts @@ -52,7 +52,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/NCS601W.dts b/target/linux/ramips/dts/NCS601W.dts index dfc47b2c22..6796def3c9 100644 --- a/target/linux/ramips/dts/NCS601W.dts +++ b/target/linux/ramips/dts/NCS601W.dts @@ -58,7 +58,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/NW718.dts b/target/linux/ramips/dts/NW718.dts index f6411c817b..7676b9593a 100644 --- a/target/linux/ramips/dts/NW718.dts +++ b/target/linux/ramips/dts/NW718.dts @@ -58,7 +58,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/OY-0001.dts b/target/linux/ramips/dts/OY-0001.dts index 36c783bbee..978c111dac 100644 --- a/target/linux/ramips/dts/OY-0001.dts +++ b/target/linux/ramips/dts/OY-0001.dts @@ -69,11 +69,11 @@ ethernet@10100000 { pinctrl-names = "default"; pinctrl-0 = <&ephy_pins>; - ralink,port-map = "llllw"; + mediatek,portmap = "llllw"; }; gsw@10110000 { - ralink,port4 = "ephy"; + mediatek,port4 = "ephy"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/PSR-680W.dts b/target/linux/ramips/dts/PSR-680W.dts index f583009ab6..c5a600ad29 100644 --- a/target/linux/ramips/dts/PSR-680W.dts +++ b/target/linux/ramips/dts/PSR-680W.dts @@ -56,7 +56,7 @@ }; esw@10110000 { - ralink,portmap = <0x3e>; + mediatek,portmap = <0x3e>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/PWH2004.dts b/target/linux/ramips/dts/PWH2004.dts index fc51c09018..23ef1ff79f 100644 --- a/target/linux/ramips/dts/PWH2004.dts +++ b/target/linux/ramips/dts/PWH2004.dts @@ -75,7 +75,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/PX-4885.dtsi b/target/linux/ramips/dts/PX-4885.dtsi index 350c1a659e..05959ca719 100644 --- a/target/linux/ramips/dts/PX-4885.dtsi +++ b/target/linux/ramips/dts/PX-4885.dtsi @@ -18,7 +18,7 @@ }; esw@10110000 { - ralink,portmap = <0x3f>; + mediatek,portmap = <0x3f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/RP-N53.dts b/target/linux/ramips/dts/RP-N53.dts index 39347b973c..fc1cf9bbb7 100644 --- a/target/linux/ramips/dts/RP-N53.dts +++ b/target/linux/ramips/dts/RP-N53.dts @@ -80,7 +80,7 @@ }; gsw@10110000 { - ralink,port4 = "ephy"; + mediatek,port4 = "ephy"; pinctrl-names = "default"; pinctrl-0 = <&ephy_pins>; }; diff --git a/target/linux/ramips/dts/RT-G32-B1.dts b/target/linux/ramips/dts/RT-G32-B1.dts index b0b7c07a5f..5f507f9d18 100644 --- a/target/linux/ramips/dts/RT-G32-B1.dts +++ b/target/linux/ramips/dts/RT-G32-B1.dts @@ -58,7 +58,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/RT-N10-PLUS.dts b/target/linux/ramips/dts/RT-N10-PLUS.dts index edbd92b59d..ecd732e285 100644 --- a/target/linux/ramips/dts/RT-N10-PLUS.dts +++ b/target/linux/ramips/dts/RT-N10-PLUS.dts @@ -43,7 +43,7 @@ }; esw@10110000 { - ralink,portmap = <0x3e>; + mediatek,portmap = <0x3e>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/RT-N13U.dts b/target/linux/ramips/dts/RT-N13U.dts index 7e0fbd2f90..193bf1aa15 100644 --- a/target/linux/ramips/dts/RT-N13U.dts +++ b/target/linux/ramips/dts/RT-N13U.dts @@ -85,7 +85,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/RT-N14U.dts b/target/linux/ramips/dts/RT-N14U.dts index 6d1080ba01..964b3a5462 100644 --- a/target/linux/ramips/dts/RT-N14U.dts +++ b/target/linux/ramips/dts/RT-N14U.dts @@ -63,7 +63,7 @@ ethernet@10100000 { mtd-mac-address = <&factory 0x4>; - ralink,port-map = "wllll"; + mediatek,portmap = "wllll"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/RT-N15.dts b/target/linux/ramips/dts/RT-N15.dts index 03821cac86..8515463479 100644 --- a/target/linux/ramips/dts/RT-N15.dts +++ b/target/linux/ramips/dts/RT-N15.dts @@ -60,7 +60,7 @@ mtd-mac-address = <&factory 0x4>; port@0 { - ralink,fixed-link = <1000 1 1 1>; + mediatek,fixed-link = <1000 1 1 1>; }; mdio-bus { diff --git a/target/linux/ramips/dts/RT-N56U.dts b/target/linux/ramips/dts/RT-N56U.dts index 8ea4970e46..0b6857d072 100644 --- a/target/linux/ramips/dts/RT-N56U.dts +++ b/target/linux/ramips/dts/RT-N56U.dts @@ -25,7 +25,7 @@ mtd-mac-address = <&factory 0x4>; port@0 { - ralink,fixed-link = <1000 1 1 1>; + mediatek,fixed-link = <1000 1 1 1>; }; }; diff --git a/target/linux/ramips/dts/RT5350F-OLINUXINO-EVB.dts b/target/linux/ramips/dts/RT5350F-OLINUXINO-EVB.dts index 17fa66f3fd..616c7d5ee6 100644 --- a/target/linux/ramips/dts/RT5350F-OLINUXINO-EVB.dts +++ b/target/linux/ramips/dts/RT5350F-OLINUXINO-EVB.dts @@ -62,8 +62,8 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; - ralink,led_polarity = <0x17>; + mediatek,portmap = <0x2f>; + mediatek,led_polarity = <0x17>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/RT5350F-OLINUXINO.dts b/target/linux/ramips/dts/RT5350F-OLINUXINO.dts index 40caa6b1f6..36fd083dcd 100644 --- a/target/linux/ramips/dts/RT5350F-OLINUXINO.dts +++ b/target/linux/ramips/dts/RT5350F-OLINUXINO.dts @@ -62,8 +62,8 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; - ralink,led_polarity = <0x17>; + mediatek,portmap = <0x2f>; + mediatek,led_polarity = <0x17>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/RUT5XX.dts b/target/linux/ramips/dts/RUT5XX.dts index 0af4743829..0d5f092ce1 100644 --- a/target/linux/ramips/dts/RUT5XX.dts +++ b/target/linux/ramips/dts/RUT5XX.dts @@ -58,7 +58,7 @@ }; esw@10110000 { - ralink,portmap = <0x3e>; + mediatek,portmap = <0x3e>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/SL-R7205.dts b/target/linux/ramips/dts/SL-R7205.dts index a6d9cc8871..9fe78452cc 100644 --- a/target/linux/ramips/dts/SL-R7205.dts +++ b/target/linux/ramips/dts/SL-R7205.dts @@ -52,7 +52,7 @@ }; esw@10110000 { - ralink,portmap = <0x3e>; + mediatek,portmap = <0x3e>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/TINY-AC.dts b/target/linux/ramips/dts/TINY-AC.dts index 388f4da742..855f206ba4 100644 --- a/target/linux/ramips/dts/TINY-AC.dts +++ b/target/linux/ramips/dts/TINY-AC.dts @@ -72,7 +72,7 @@ status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>; - ralink,port-map = "llllw"; + mediatek,portmap = "llllw"; port@4 { status = "okay"; @@ -102,7 +102,7 @@ }; gsw@10110000 { - ralink,port4 = "gmac"; + mediatek,port4 = "gmac"; mediatek,mt7530 = <1>; }; diff --git a/target/linux/ramips/dts/UR-326N4G.dts b/target/linux/ramips/dts/UR-326N4G.dts index 3eb2526546..b95eaf0207 100644 --- a/target/linux/ramips/dts/UR-326N4G.dts +++ b/target/linux/ramips/dts/UR-326N4G.dts @@ -52,7 +52,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/UR-336UN.dts b/target/linux/ramips/dts/UR-336UN.dts index 76f669a04f..5feaba34a7 100644 --- a/target/linux/ramips/dts/UR-336UN.dts +++ b/target/linux/ramips/dts/UR-336UN.dts @@ -30,7 +30,7 @@ }; */ esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; /* FIXME: no partitions defined */ diff --git a/target/linux/ramips/dts/V22RW-2X2.dts b/target/linux/ramips/dts/V22RW-2X2.dts index e8fc4fe4c7..98e8da0631 100644 --- a/target/linux/ramips/dts/V22RW-2X2.dts +++ b/target/linux/ramips/dts/V22RW-2X2.dts @@ -48,7 +48,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/VOCORE.dtsi b/target/linux/ramips/dts/VOCORE.dtsi index 2acff33bda..ab1c53ef43 100644 --- a/target/linux/ramips/dts/VOCORE.dtsi +++ b/target/linux/ramips/dts/VOCORE.dtsi @@ -28,7 +28,7 @@ }; esw@10110000 { - ralink,portmap = <0x17>; + mediatek,portmap = <0x17>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/W150M.dts b/target/linux/ramips/dts/W150M.dts index 875c4687af..49790892cd 100644 --- a/target/linux/ramips/dts/W150M.dts +++ b/target/linux/ramips/dts/W150M.dts @@ -105,7 +105,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/W306R_V20.dts b/target/linux/ramips/dts/W306R_V20.dts index 72b6ed830e..c6ed940643 100644 --- a/target/linux/ramips/dts/W306R_V20.dts +++ b/target/linux/ramips/dts/W306R_V20.dts @@ -52,7 +52,7 @@ }; esw@10110000 { - ralink,portmap = <0x3e>; + mediatek,portmap = <0x3e>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/W502U.dts b/target/linux/ramips/dts/W502U.dts index 0f423bacae..112a4bda75 100644 --- a/target/linux/ramips/dts/W502U.dts +++ b/target/linux/ramips/dts/W502U.dts @@ -56,7 +56,7 @@ }; esw@10110000 { - ralink,portmap = <0x3e>; + mediatek,portmap = <0x3e>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/WCR150GN.dts b/target/linux/ramips/dts/WCR150GN.dts index e197bb94d0..ed80b6f5bf 100644 --- a/target/linux/ramips/dts/WCR150GN.dts +++ b/target/linux/ramips/dts/WCR150GN.dts @@ -85,7 +85,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/WHR-1166D.dts b/target/linux/ramips/dts/WHR-1166D.dts index 69b8641276..6e8a49dac1 100644 --- a/target/linux/ramips/dts/WHR-1166D.dts +++ b/target/linux/ramips/dts/WHR-1166D.dts @@ -78,7 +78,7 @@ }; gsw@10110000 { - ralink,port4 = "ephy"; + mediatek,port4 = "ephy"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/WHR-300HP2.dts b/target/linux/ramips/dts/WHR-300HP2.dts index 5916715752..afe99605f3 100644 --- a/target/linux/ramips/dts/WHR-300HP2.dts +++ b/target/linux/ramips/dts/WHR-300HP2.dts @@ -65,11 +65,11 @@ ethernet@10100000 { pinctrl-names = "default"; pinctrl-0 = <&ephy_pins>; - ralink,port-map = "llllw"; + mediatek,portmap = "llllw"; }; gsw@10110000 { - ralink,port4 = "ephy"; + mediatek,port4 = "ephy"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/WHR-600D.dts b/target/linux/ramips/dts/WHR-600D.dts index 8e20859617..fe024eb6a8 100644 --- a/target/linux/ramips/dts/WHR-600D.dts +++ b/target/linux/ramips/dts/WHR-600D.dts @@ -61,11 +61,11 @@ pinctrl-names = "default"; pinctrl-0 = <&ephy_pins>; mtd-mac-address = <&factory 0x4>; - ralink,port-map = "llllw"; + mediatek,portmap = "llllw"; }; gsw@10110000 { - ralink,port4 = "ephy"; + mediatek,port4 = "ephy"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/WHR-G300N.dts b/target/linux/ramips/dts/WHR-G300N.dts index 1aa9f696fc..e433e74426 100644 --- a/target/linux/ramips/dts/WHR-G300N.dts +++ b/target/linux/ramips/dts/WHR-G300N.dts @@ -25,7 +25,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; /* FIXME: no partitions defined */ diff --git a/target/linux/ramips/dts/WIZARD8800.dts b/target/linux/ramips/dts/WIZARD8800.dts index d89c0d505e..e4d3f5e98d 100644 --- a/target/linux/ramips/dts/WIZARD8800.dts +++ b/target/linux/ramips/dts/WIZARD8800.dts @@ -66,7 +66,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; ehci@101c0000 { diff --git a/target/linux/ramips/dts/WIZFI630A.dts b/target/linux/ramips/dts/WIZFI630A.dts index f2818ce9df..9663608131 100644 --- a/target/linux/ramips/dts/WIZFI630A.dts +++ b/target/linux/ramips/dts/WIZFI630A.dts @@ -103,7 +103,7 @@ }; esw@10110000 { - ralink,portmap = <0x17>; + mediatek,portmap = <0x17>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/WL-330N.dts b/target/linux/ramips/dts/WL-330N.dts index a7238dceca..688804cb96 100644 --- a/target/linux/ramips/dts/WL-330N.dts +++ b/target/linux/ramips/dts/WL-330N.dts @@ -58,7 +58,7 @@ }; esw@10110000 { - ralink,portmap = <0x3e>; + mediatek,portmap = <0x3e>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/WL-330N3G.dts b/target/linux/ramips/dts/WL-330N3G.dts index c02f6a907f..a90652a8eb 100644 --- a/target/linux/ramips/dts/WL-330N3G.dts +++ b/target/linux/ramips/dts/WL-330N3G.dts @@ -58,7 +58,7 @@ }; esw@10110000 { - ralink,portmap = <0x3e>; + mediatek,portmap = <0x3e>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/WL-341V3.dts b/target/linux/ramips/dts/WL-341V3.dts index ce5e820526..debe55e9aa 100644 --- a/target/linux/ramips/dts/WL-341V3.dts +++ b/target/linux/ramips/dts/WL-341V3.dts @@ -52,7 +52,7 @@ }; esw@10110000 { - ralink,portmap = <0x3e>; + mediatek,portmap = <0x3e>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/WL-351.dts b/target/linux/ramips/dts/WL-351.dts index 3fcb222b75..7f16631ef4 100644 --- a/target/linux/ramips/dts/WL-351.dts +++ b/target/linux/ramips/dts/WL-351.dts @@ -52,7 +52,7 @@ }; esw@10110000 { - ralink,portmap = <0x3f>; + mediatek,portmap = <0x3f>; ralink,fct2 = <0x0002500c>; /* * ext phy base addr 31, rx/tx clock skew 0, diff --git a/target/linux/ramips/dts/WLI-TX4-AG300N.dts b/target/linux/ramips/dts/WLI-TX4-AG300N.dts index 3a456b8418..873feab82d 100644 --- a/target/linux/ramips/dts/WLI-TX4-AG300N.dts +++ b/target/linux/ramips/dts/WLI-TX4-AG300N.dts @@ -51,7 +51,7 @@ mtd-mac-address = <&factory 0x4>; port@0 { - ralink,fixed-link = <1000 1 1 1>; + mediatek,fixed-link = <1000 1 1 1>; }; }; diff --git a/target/linux/ramips/dts/WMR-300.dts b/target/linux/ramips/dts/WMR-300.dts index 3dae3ae2ae..5cfdc07c7a 100644 --- a/target/linux/ramips/dts/WMR-300.dts +++ b/target/linux/ramips/dts/WMR-300.dts @@ -50,7 +50,7 @@ ethernet@10100000 { mtd-mac-address = <&factory 0x4>; - ralink,port-map = "wllll"; + mediatek,portmap = "wllll"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/WR512-3GN-4M.dts b/target/linux/ramips/dts/WR512-3GN-4M.dts index def7751024..531a3709a3 100644 --- a/target/linux/ramips/dts/WR512-3GN-4M.dts +++ b/target/linux/ramips/dts/WR512-3GN-4M.dts @@ -48,7 +48,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/WR512-3GN-8M.dts b/target/linux/ramips/dts/WR512-3GN-8M.dts index b439f0a78d..5f369f89c2 100644 --- a/target/linux/ramips/dts/WR512-3GN-8M.dts +++ b/target/linux/ramips/dts/WR512-3GN-8M.dts @@ -48,7 +48,7 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/WR6202.dts b/target/linux/ramips/dts/WR6202.dts index 614f696d86..0c80514714 100644 --- a/target/linux/ramips/dts/WR6202.dts +++ b/target/linux/ramips/dts/WR6202.dts @@ -89,7 +89,7 @@ }; esw@10110000 { - ralink,portmap = <0x3e>; + mediatek,portmap = <0x3e>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/WRTNODE.dts b/target/linux/ramips/dts/WRTNODE.dts index 23dbf5c4a1..88b430ab8f 100644 --- a/target/linux/ramips/dts/WRTNODE.dts +++ b/target/linux/ramips/dts/WRTNODE.dts @@ -66,7 +66,7 @@ ethernet@10100000 { mtd-mac-address = <&factory 0x4>; - ralink,port-map = "wllll"; + mediatek,portmap = "wllll"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/WT3020-4M.dts b/target/linux/ramips/dts/WT3020-4M.dts index 6670a1cc6e..384c72494b 100644 --- a/target/linux/ramips/dts/WT3020-4M.dts +++ b/target/linux/ramips/dts/WT3020-4M.dts @@ -62,7 +62,7 @@ ethernet@10100000 { mtd-mac-address = <&factory 0x4>; - ralink,port-map = "wllll"; + mediatek,portmap = "wllll"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/WT3020-8M.dts b/target/linux/ramips/dts/WT3020-8M.dts index 3abd8fef65..7b6920ad18 100644 --- a/target/linux/ramips/dts/WT3020-8M.dts +++ b/target/linux/ramips/dts/WT3020-8M.dts @@ -62,7 +62,7 @@ ethernet@10100000 { mtd-mac-address = <&factory 0x4>; - ralink,port-map = "wllll"; + mediatek,portmap = "wllll"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/WZR-AGL300NH.dts b/target/linux/ramips/dts/WZR-AGL300NH.dts index 98b50babd7..02989bee15 100644 --- a/target/linux/ramips/dts/WZR-AGL300NH.dts +++ b/target/linux/ramips/dts/WZR-AGL300NH.dts @@ -60,7 +60,7 @@ mtd-mac-address = <&factory 0x4>; port@0 { - ralink,fixed-link = <1000 1 1 1>; + mediatek,fixed-link = <1000 1 1 1>; }; mdio-bus { diff --git a/target/linux/ramips/dts/X5.dts b/target/linux/ramips/dts/X5.dts index dfaef3b410..bd66819150 100644 --- a/target/linux/ramips/dts/X5.dts +++ b/target/linux/ramips/dts/X5.dts @@ -58,8 +58,8 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; - ralink,led_polarity = <1>; + mediatek,portmap = <0x2f>; + mediatek,led_polarity = <1>; }; gpio-leds { diff --git a/target/linux/ramips/dts/X8.dts b/target/linux/ramips/dts/X8.dts index 9c1c04692e..7216992351 100644 --- a/target/linux/ramips/dts/X8.dts +++ b/target/linux/ramips/dts/X8.dts @@ -58,8 +58,8 @@ }; esw@10110000 { - ralink,portmap = <0x2f>; - ralink,led_polarity = <1>; + mediatek,portmap = <0x2f>; + mediatek,led_polarity = <1>; }; gpio-leds { diff --git a/target/linux/ramips/dts/XDXRN502J.dts b/target/linux/ramips/dts/XDXRN502J.dts index 25d3613e16..97940dd5b1 100644 --- a/target/linux/ramips/dts/XDXRN502J.dts +++ b/target/linux/ramips/dts/XDXRN502J.dts @@ -52,7 +52,7 @@ }; esw@10110000 { - ralink,portmap = <0x3e>; + mediatek,portmap = <0x3e>; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/Y1.dts b/target/linux/ramips/dts/Y1.dts index 4a6411581c..90227958c0 100644 --- a/target/linux/ramips/dts/Y1.dts +++ b/target/linux/ramips/dts/Y1.dts @@ -10,7 +10,7 @@ pinctrl-names = "default"; pinctrl-0 = <&ephy_pins>; mtd-mac-address = <&factory 0x4>; - ralink,port-map = "llllw"; + mediatek,portmap = "llllw"; }; gpio-leds { diff --git a/target/linux/ramips/dts/Y1S.dts b/target/linux/ramips/dts/Y1S.dts index d00416220e..d7f4615aa5 100644 --- a/target/linux/ramips/dts/Y1S.dts +++ b/target/linux/ramips/dts/Y1S.dts @@ -11,7 +11,7 @@ mtd-mac-address = <&factory 0x4>; pinctrl-names = "default"; pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>; - ralink,port-map = "wllll"; + mediatek,portmap = "wllll"; port@4 { status = "okay"; @@ -62,7 +62,7 @@ }; gsw@10110000 { - ralink,port4 = "gmac"; + mediatek,port4 = "gmac"; }; gpio-leds { diff --git a/target/linux/ramips/dts/YOUKU-YK1.dts b/target/linux/ramips/dts/YOUKU-YK1.dts index 418351cceb..12c1d01caa 100644 --- a/target/linux/ramips/dts/YOUKU-YK1.dts +++ b/target/linux/ramips/dts/YOUKU-YK1.dts @@ -74,7 +74,7 @@ pinctrl-names = "default"; pinctrl-0 = <&ephy_pins>; mtd-mac-address = <&factory 0x4>; - ralink,port-map = "llllw"; + mediatek,portmap = "llllw"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/ZBT-WA05.dts b/target/linux/ramips/dts/ZBT-WA05.dts index 84974cf38c..29bbd3bf60 100644 --- a/target/linux/ramips/dts/ZBT-WA05.dts +++ b/target/linux/ramips/dts/ZBT-WA05.dts @@ -70,7 +70,7 @@ ethernet@10100000 { mtd-mac-address = <&factory 0x4>; - ralink,port-map = "wllll"; + mediatek,portmap = "wllll"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/ZBT-WR8305RT.dts b/target/linux/ramips/dts/ZBT-WR8305RT.dts index 8d21a2dfa7..fcac8290f5 100644 --- a/target/linux/ramips/dts/ZBT-WR8305RT.dts +++ b/target/linux/ramips/dts/ZBT-WR8305RT.dts @@ -62,7 +62,7 @@ ethernet@10100000 { mtd-mac-address = <&factory 0x4>; - ralink,port-map = "llllw"; + mediatek,portmap = "llllw"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/ZTE-Q7.dts b/target/linux/ramips/dts/ZTE-Q7.dts index 997349bb70..c7ba2437b0 100644 --- a/target/linux/ramips/dts/ZTE-Q7.dts +++ b/target/linux/ramips/dts/ZTE-Q7.dts @@ -65,7 +65,7 @@ pinctrl-names = "default"; pinctrl-0 = <&ephy_pins>; mtd-mac-address = <&factory 0x4>; - ralink,port-map = "wllll"; + mediatek,portmap = "wllll"; }; wmac@10180000 { diff --git a/target/linux/ramips/dts/mt7620a.dtsi b/target/linux/ramips/dts/mt7620a.dtsi index 448df75498..978b88aeea 100644 --- a/target/linux/ramips/dts/mt7620a.dtsi +++ b/target/linux/ramips/dts/mt7620a.dtsi @@ -404,7 +404,7 @@ }; ethernet@10100000 { - compatible = "ralink,mt7620a-eth"; + compatible = "mediatek,mt7620-eth"; reg = <0x10100000 10000>; #address-cells = <1>; @@ -416,15 +416,17 @@ resets = <&rstctrl 21 &rstctrl 23>; reset-names = "fe", "esw"; + mediatek,switch = <&gsw>; + port@4 { - compatible = "ralink,mt7620a-gsw-port", "ralink,eth-port"; + compatible = "mediatek,mt7620a-gsw-port", "mediatek,eth-port"; reg = <4>; status = "disabled"; }; port@5 { - compatible = "ralink,mt7620a-gsw-port", "ralink,eth-port"; + compatible = "mediatek,mt7620a-gsw-port", "mediatek,eth-port"; reg = <5>; status = "disabled"; @@ -438,8 +440,8 @@ }; }; - gsw@10110000 { - compatible = "ralink,mt7620a-gsw"; + gsw: gsw@10110000 { + compatible = "mediatek,mt7620-gsw"; reg = <0x10110000 8000>; resets = <&rstctrl 23>; diff --git a/target/linux/ramips/dts/mt7620n.dtsi b/target/linux/ramips/dts/mt7620n.dtsi index a3132b8a59..09d40196ce 100644 --- a/target/linux/ramips/dts/mt7620n.dtsi +++ b/target/linux/ramips/dts/mt7620n.dtsi @@ -263,7 +263,7 @@ }; ethernet@10100000 { - compatible = "ralink,mt7620a-eth"; + compatible = "mediatek,mt7620-eth"; reg = <0x10100000 10000>; #address-cells = <1>; @@ -275,6 +275,8 @@ resets = <&rstctrl 21 &rstctrl 23>; reset-names = "fe", "esw"; + mediatek,switch = <&gsw>; + mdio-bus { #address-cells = <1>; #size-cells = <0>; @@ -283,8 +285,8 @@ }; }; - gsw@10110000 { - compatible = "ralink,mt7620a-gsw"; + gsw: gsw@10110000 { + compatible = "mediatek,mt7620-gsw"; reg = <0x10110000 8000>; resets = <&rstctrl 23>; @@ -292,7 +294,7 @@ interrupt-parent = <&intc>; interrupts = <17>; - ralink,port4 = "gmac"; + mediatek,port4 = "gmac"; }; ehci@101c0000 { diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index facc0a382d..9501c7e4e7 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -281,7 +281,7 @@ }; ethernet@1e100000 { - compatible = "ralink,mt7621-eth"; + compatible = "mediatek,mt7621-eth"; reg = <0x1e100000 10000>; #address-cells = <1>; @@ -293,6 +293,8 @@ interrupt-parent = <&gic>; interrupts = <GIC_SHARED 3 IRQ_TYPE_LEVEL_HIGH>; + mediatek,switch = <&gsw>; + mdio-bus { #address-cells = <1>; #size-cells = <0>; @@ -304,8 +306,8 @@ }; }; - gsw@1e110000 { - compatible = "ralink,mt7620a-gsw"; + gsw: gsw@1e110000 { + compatible = "mediatek,mt7621-gsw"; reg = <0x1e110000 8000>; interrupt-parent = <&gic>; interrupts = <GIC_SHARED 23 IRQ_TYPE_LEVEL_HIGH>; diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi index b0d9d80816..0d5b234249 100644 --- a/target/linux/ramips/dts/mt7628an.dtsi +++ b/target/linux/ramips/dts/mt7628an.dtsi @@ -392,9 +392,11 @@ resets = <&rstctrl 21 &rstctrl 23>; reset-names = "fe", "esw"; + + mediatek,switch = <&esw>; }; - esw@10110000 { + esw: esw@10110000 { compatible = "ralink,rt3050-esw"; reg = <0x10110000 8000>; diff --git a/target/linux/ramips/dts/rt2880.dtsi b/target/linux/ramips/dts/rt2880.dtsi index c6dfe9a32b..47ea4c343e 100644 --- a/target/linux/ramips/dts/rt2880.dtsi +++ b/target/linux/ramips/dts/rt2880.dtsi @@ -170,7 +170,7 @@ status = "disabled"; port@0 { - compatible = "ralink,rt2880-port", "ralink,eth-port"; + compatible = "ralink,rt2880-port", "mediatek,eth-port"; reg = <0>; }; diff --git a/target/linux/ramips/dts/rt3050.dtsi b/target/linux/ramips/dts/rt3050.dtsi index 7f0fb4a401..8fcdeedd2e 100644 --- a/target/linux/ramips/dts/rt3050.dtsi +++ b/target/linux/ramips/dts/rt3050.dtsi @@ -223,9 +223,11 @@ interrupt-parent = <&cpuintc>; interrupts = <5>; + + mediatek,switch = <&esw>; }; - esw@10110000 { + esw: esw@10110000 { compatible = "ralink,rt3050-esw"; reg = <0x10110000 8000>; diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi index ffb9336f6c..daf24d334c 100644 --- a/target/linux/ramips/dts/rt3352.dtsi +++ b/target/linux/ramips/dts/rt3352.dtsi @@ -237,9 +237,11 @@ interrupt-parent = <&cpuintc>; interrupts = <5>; + + mediatek,switch = <&esw>; }; - esw@10110000 { + esw: esw@10110000 { compatible = "ralink,rt3352-esw", "ralink,rt3050-esw"; reg = <0x10110000 8000>; diff --git a/target/linux/ramips/dts/rt3883.dtsi b/target/linux/ramips/dts/rt3883.dtsi index 6592b3bacf..84336df993 100644 --- a/target/linux/ramips/dts/rt3883.dtsi +++ b/target/linux/ramips/dts/rt3883.dtsi @@ -254,7 +254,7 @@ interrupts = <5>; port@0 { - compatible = "ralink,rt3883-port", "ralink,eth-port"; + compatible = "ralink,rt3883-port", "mediatek,eth-port"; reg = <0>; }; diff --git a/target/linux/ramips/dts/rt5350.dtsi b/target/linux/ramips/dts/rt5350.dtsi index 66775c230b..3367b14d0a 100644 --- a/target/linux/ramips/dts/rt5350.dtsi +++ b/target/linux/ramips/dts/rt5350.dtsi @@ -286,9 +286,11 @@ interrupt-parent = <&cpuintc>; interrupts = <5>; + + mediatek,switch = <&esw>; }; - esw@10110000 { + esw: esw@10110000 { compatible = "ralink,rt3050-esw"; reg = <0x10110000 8000>; |