diff options
Diffstat (limited to 'target/linux/ramips')
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 5c1e588..183148a 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 8f7d383..760dafc 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 a8387a4..54b9461 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 997c081..9f3967c 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 f1d0891..0dcdd18 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 f3932ae..1c282f1 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 40d3228..e613c43 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 d75bb2c..ae09fb9 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 d0fbb89..b242256 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 c788869..aa0aeec 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 7717f02..1985aa7 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 c256145..9e6a686 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 2cf1ac6..9448ce1 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 80cf4a4..579b327 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 c3f42bf..f7e9ac7 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 b0f81b0..fe297a9 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 1906e6e..7afe80f 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 0ad4d12..da22699 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 d920b6e..0c74ffa 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 cb2c89b..a5f9177 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 8c8a980..fc6d16f 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 95c245d..df43644 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 ea3623d..771d4ec 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 cec84ac..be15d9b 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 5ef625c..1a1ea73 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 ce52945..e97c551 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 d0fbaf3..e3a7770 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 3c89f84..b43d4e5 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 525707c..deb056d 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 6d19f65..f0298b2 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 30c2596..3317472 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 c1e5832..2b69350 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 5020b78..ea3d3eb 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 d06b853..2791563 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 9ec9870..b762cc3 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 a57ea6d..45aeace 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 f9bdc92..8f064af 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 212cf88..c72b11b 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 166d61e..9e7314f 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 58a0788..87588c5 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 4f00787..82e602d 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 832b715..890f36e 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 b0f9046..67d8539 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 2f51025..f1bfc09 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 d0a49f6..38446e6 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 d3479b1..a9d0acd 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 a6a7402..0e38c55 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 05857ea..b279db1 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 d295fd9..361a049 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 4fbe3e6..00f012c 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 72feaa9..2ae2b14 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 8dbd82b..8a88131 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 9eecad6..da63045 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 dbe36da..17974c8 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 c10bf3b..03e4216 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 2443187..7f15d9b 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 e7e5058..54a41d4 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 c94c3aa..c294227 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 b026f0c..70557f9 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 dad99c3..9c5e1fc 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 12bc8c0..f6d72de 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 c417bff..2ba178a 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 27c9e83..9bd1f42 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 8a7d684..98828da 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 4b8fd29..9dc8a18 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 3c392e4..2b61397 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 71b30bd..3500619 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 ac01fd2..c2398ec 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 ba57fae..7a512cf 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 ef30195..f56d592 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 bdf3f8f..73c864a 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 893807c..b6b7ed7 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 06cc292..8b4335e 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 ac660d4..298d8a6 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 4397b2c..ade3356 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 50a12cb..0043812 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 dfc47b2..6796def 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 f6411c8..7676b95 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 36c783b..978c111 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 f583009..c5a600a 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 fc51c09..23ef1ff 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 350c1a6..05959ca 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 39347b9..fc1cf9b 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 b0b7c07..5f507f9 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 edbd92b..ecd732e 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 7e0fbd2..193bf1a 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 6d1080b..964b3a5 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 03821ca..8515463 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 8ea4970..0b6857d 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 17fa66f..616c7d5 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 40caa6b..36fd083 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 0af4743..0d5f092 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 a6d9cc8..9fe7845 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 388f4da..855f206 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 3eb2526..b95eaf0 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 76f669a..5feaba3 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 e8fc4fe..98e8da0 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 2acff33..ab1c53e 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 875c468..4979089 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 72b6ed8..c6ed940 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 0f423ba..112a4bd 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 e197bb9..ed80b6f 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 69b8641..6e8a49d 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 5916715..afe9960 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 8e20859..fe024eb 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 1aa9f69..e433e74 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 d89c0d5..e4d3f5e 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 f2818ce..9663608 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 a7238dc..688804c 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 c02f6a9..a90652a 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 ce5e820..debe55e 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 3fcb222..7f16631 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 3a456b8..873feab 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 3dae3ae..5cfdc07 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 def7751..531a370 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 b439f0a..5f369f8 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 614f696..0c80514 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 23dbf5c..88b430a 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 6670a1c..384c724 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 3abd8fe..7b6920a 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 98b50ba..02989be 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 dfaef3b..bd66819 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 9c1c046..7216992 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 25d3613..97940dd 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 4a64115..9022795 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 d004162..d7f4615 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 418351c..12c1d01 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 84974cf..29bbd3b 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 8d21a2d..fcac829 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 997349b..c7ba243 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 448df75..978b88a 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 a3132b8..09d4019 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 facc0a3..9501c7e 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 b0d9d80..0d5b234 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 c6dfe9a..47ea4c3 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 7f0fb4a..8fcdeed 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 ffb9336..daf24d3 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 6592b3b..84336df 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 66775c2..3367b14 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>; |