From 651e620de5b0e0a8da4787771f0b65d8af0426f0 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 17 Dec 2015 09:25:57 +0000 Subject: [PATCH] ralink: fixup devicetree files to work with new ethernet driver Signed-off-by: John Crispin SVN-Revision: 47900 --- target/linux/ramips/dts/3G-6200N.dts | 2 +- target/linux/ramips/dts/3G-6200NL.dts | 2 +- target/linux/ramips/dts/3G150B.dts | 2 +- target/linux/ramips/dts/3G300M.dts | 2 +- target/linux/ramips/dts/A5-V11.dts | 2 +- target/linux/ramips/dts/AI-BR100.dts | 2 +- target/linux/ramips/dts/AIR3GII.dts | 2 +- target/linux/ramips/dts/ALL0239-3G.dts | 2 +- target/linux/ramips/dts/ALL0256N-4M.dts | 2 +- target/linux/ramips/dts/ALL0256N-8M.dts | 2 +- target/linux/ramips/dts/ALL5002.dts | 2 +- target/linux/ramips/dts/ALL5003.dts | 2 +- target/linux/ramips/dts/ASL26555-16M.dts | 2 +- target/linux/ramips/dts/ASL26555-8M.dts | 2 +- target/linux/ramips/dts/ATP-52B.dts | 2 +- target/linux/ramips/dts/AWAPN2403.dts | 2 +- target/linux/ramips/dts/AWM002.dtsi | 2 +- target/linux/ramips/dts/ArcherC20i.dts | 4 ++-- target/linux/ramips/dts/BC2.dts | 2 +- target/linux/ramips/dts/BR-6425.dts | 2 +- target/linux/ramips/dts/BR-6475ND.dts | 2 +- target/linux/ramips/dts/BROADWAY.dts | 2 +- target/linux/ramips/dts/CARAMBOLA.dts | 2 +- target/linux/ramips/dts/CY-SWR1100.dts | 2 +- target/linux/ramips/dts/D105.dts | 2 +- target/linux/ramips/dts/DAP-1350.dts | 2 +- target/linux/ramips/dts/DB-WRT01.dts | 4 ++-- target/linux/ramips/dts/DCS-930.dts | 2 +- target/linux/ramips/dts/DCS-930L-B1.dts | 2 +- target/linux/ramips/dts/DIR-300-B1.dts | 2 +- target/linux/ramips/dts/DIR-300-B7.dts | 4 ++-- target/linux/ramips/dts/DIR-320-B1.dts | 4 ++-- target/linux/ramips/dts/DIR-600-B1.dts | 2 +- target/linux/ramips/dts/DIR-600-B2.dts | 2 +- target/linux/ramips/dts/DIR-610-A1.dts | 4 ++-- target/linux/ramips/dts/DIR-615-D.dts | 2 +- target/linux/ramips/dts/DIR-615-H1.dts | 2 +- target/linux/ramips/dts/DIR-620-A1.dts | 2 +- target/linux/ramips/dts/DIR-620-D1.dts | 2 +- target/linux/ramips/dts/DIR-645.dts | 2 +- target/linux/ramips/dts/DIR-810L.dts | 4 ++-- target/linux/ramips/dts/E1700.dts | 4 ++-- target/linux/ramips/dts/ESR-9753.dts | 2 +- target/linux/ramips/dts/F5D8235_V1.dts | 2 +- target/linux/ramips/dts/F5D8235_V2.dts | 2 +- target/linux/ramips/dts/FONERA20N.dts | 2 +- target/linux/ramips/dts/FREESTATION5.dts | 2 +- target/linux/ramips/dts/HC5861.dts | 4 ++-- target/linux/ramips/dts/HC5XXX.dtsi | 2 +- target/linux/ramips/dts/HG255D.dts | 2 +- target/linux/ramips/dts/HT-TM02.dts | 2 +- target/linux/ramips/dts/HW550-3G.dts | 2 +- target/linux/ramips/dts/IP2202.dts | 2 +- target/linux/ramips/dts/M2M.dts | 2 +- target/linux/ramips/dts/M3.dts | 4 ++-- target/linux/ramips/dts/M4-4M.dts | 4 ++-- target/linux/ramips/dts/M4-8M.dts | 4 ++-- target/linux/ramips/dts/MINIEMBPLUG.dts | 2 +- target/linux/ramips/dts/MINIEMBWIFI.dts | 2 +- target/linux/ramips/dts/MIWIFI-MINI.dts | 2 +- target/linux/ramips/dts/MLW221.dts | 2 +- target/linux/ramips/dts/MLWG2.dts | 2 +- target/linux/ramips/dts/MOFI3500-3GN.dts | 2 +- target/linux/ramips/dts/MPRA1.dts | 2 +- target/linux/ramips/dts/MPRA2.dts | 2 +- target/linux/ramips/dts/MR-102N.dts | 4 ++-- target/linux/ramips/dts/MT7620a.dts | 4 ++-- target/linux/ramips/dts/MT7620a_MT7530.dts | 6 +++--- target/linux/ramips/dts/MT7620a_MT7610e.dts | 4 ++-- target/linux/ramips/dts/MT7620a_V22SG.dts | 4 ++-- target/linux/ramips/dts/MZK-750DHP.dts | 4 ++-- target/linux/ramips/dts/MZK-DP150N.dts | 2 +- target/linux/ramips/dts/MZK-W300NH2.dts | 2 +- target/linux/ramips/dts/MicroWRT.dts | 2 +- target/linux/ramips/dts/NA930.dts | 4 ++-- target/linux/ramips/dts/NBG-419N.dts | 2 +- target/linux/ramips/dts/NCS601W.dts | 2 +- target/linux/ramips/dts/NW718.dts | 2 +- target/linux/ramips/dts/OY-0001.dts | 4 ++-- target/linux/ramips/dts/PSR-680W.dts | 2 +- target/linux/ramips/dts/PWH2004.dts | 2 +- target/linux/ramips/dts/PX-4885.dtsi | 2 +- target/linux/ramips/dts/RP-N53.dts | 2 +- target/linux/ramips/dts/RT-G32-B1.dts | 2 +- target/linux/ramips/dts/RT-N10-PLUS.dts | 2 +- target/linux/ramips/dts/RT-N13U.dts | 2 +- target/linux/ramips/dts/RT-N14U.dts | 2 +- target/linux/ramips/dts/RT-N15.dts | 2 +- target/linux/ramips/dts/RT-N56U.dts | 2 +- target/linux/ramips/dts/RT5350F-OLINUXINO-EVB.dts | 4 ++-- target/linux/ramips/dts/RT5350F-OLINUXINO.dts | 4 ++-- target/linux/ramips/dts/RUT5XX.dts | 2 +- target/linux/ramips/dts/SL-R7205.dts | 2 +- target/linux/ramips/dts/TINY-AC.dts | 4 ++-- target/linux/ramips/dts/UR-326N4G.dts | 2 +- target/linux/ramips/dts/UR-336UN.dts | 2 +- target/linux/ramips/dts/V22RW-2X2.dts | 2 +- target/linux/ramips/dts/VOCORE.dtsi | 2 +- target/linux/ramips/dts/W150M.dts | 2 +- target/linux/ramips/dts/W306R_V20.dts | 2 +- target/linux/ramips/dts/W502U.dts | 2 +- target/linux/ramips/dts/WCR150GN.dts | 2 +- target/linux/ramips/dts/WHR-1166D.dts | 2 +- target/linux/ramips/dts/WHR-300HP2.dts | 4 ++-- target/linux/ramips/dts/WHR-600D.dts | 4 ++-- target/linux/ramips/dts/WHR-G300N.dts | 2 +- target/linux/ramips/dts/WIZARD8800.dts | 2 +- target/linux/ramips/dts/WIZFI630A.dts | 2 +- target/linux/ramips/dts/WL-330N.dts | 2 +- target/linux/ramips/dts/WL-330N3G.dts | 2 +- target/linux/ramips/dts/WL-341V3.dts | 2 +- target/linux/ramips/dts/WL-351.dts | 2 +- target/linux/ramips/dts/WLI-TX4-AG300N.dts | 2 +- target/linux/ramips/dts/WMR-300.dts | 2 +- target/linux/ramips/dts/WR512-3GN-4M.dts | 2 +- target/linux/ramips/dts/WR512-3GN-8M.dts | 2 +- target/linux/ramips/dts/WR6202.dts | 2 +- target/linux/ramips/dts/WRTNODE.dts | 2 +- target/linux/ramips/dts/WT3020-4M.dts | 2 +- target/linux/ramips/dts/WT3020-8M.dts | 2 +- target/linux/ramips/dts/WZR-AGL300NH.dts | 2 +- target/linux/ramips/dts/X5.dts | 4 ++-- target/linux/ramips/dts/X8.dts | 4 ++-- target/linux/ramips/dts/XDXRN502J.dts | 2 +- target/linux/ramips/dts/Y1.dts | 2 +- target/linux/ramips/dts/Y1S.dts | 4 ++-- target/linux/ramips/dts/YOUKU-YK1.dts | 2 +- target/linux/ramips/dts/ZBT-WA05.dts | 2 +- target/linux/ramips/dts/ZBT-WR8305RT.dts | 2 +- target/linux/ramips/dts/ZTE-Q7.dts | 2 +- target/linux/ramips/dts/mt7620a.dtsi | 12 +++++++----- target/linux/ramips/dts/mt7620n.dtsi | 10 ++++++---- target/linux/ramips/dts/mt7621.dtsi | 8 +++++--- target/linux/ramips/dts/mt7628an.dtsi | 4 +++- target/linux/ramips/dts/rt2880.dtsi | 2 +- target/linux/ramips/dts/rt3050.dtsi | 4 +++- target/linux/ramips/dts/rt3352.dtsi | 4 +++- target/linux/ramips/dts/rt3883.dtsi | 2 +- target/linux/ramips/dts/rt5350.dtsi | 4 +++- 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 5c1e588d0166..183148ad8b55 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 8f7d383ed1b7..760dafcd8579 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 a8387a45f6eb..54b9461710e8 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 997c0817ab1d..9f3967c4aac7 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 f1d0891ebd0e..0dcdd1882680 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 f3932aec5de9..1c282f1c21c5 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 40d3228615d7..e613c433c232 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 d75bb2ce4053..ae09fb97061c 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 d0fbb8905ff0..b24225637e2b 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 c7888691e26a..aa0aeecb87f7 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 7717f02f6f6b..1985aa7e9459 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 c2561452e8db..9e6a686d7db1 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 2cf1ac618294..9448ce1ea053 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 80cf4a4b17ce..579b3276fdb6 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 c3f42bfea54f..f7e9ac77d9c7 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 b0f81b0deeb0..fe297a9e37e7 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 1906e6e83197..7afe80fe337e 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 0ad4d12078f2..da2269918faf 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 d920b6e88230..0c74ffaee3de 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 cb2c89b44d3e..a5f91771f040 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 8c8a980256f7..fc6d16f77587 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 95c245d66b8a..df4364417857 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 ea3623d4e301..771d4ec9c740 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 cec84ac701df..be15d9b86386 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 5ef625c87135..1a1ea736329c 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 ce529459f888..e97c5514f8c8 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 d0fbaf3c2aea..e3a7770835aa 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 3c89f84dd649..b43d4e550466 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 525707c3ad57..deb056dec2ad 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 6d19f651d8df..f0298b2db392 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 30c259608cb2..3317472e922a 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 c1e583264c4b..2b69350cadf5 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 5020b78a0668..ea3d3ebecd40 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 d06b85307f6d..27915634e9aa 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 9ec987051e57..b762cc3d2e2f 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 a57ea6d34fee..45aeacea1e5f 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 f9bdc9294371..8f064afd325d 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 212cf881b7f9..c72b11bc1489 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 166d61ed0df0..9e7314f1ac89 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 58a078811b3f..87588c5c47fd 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 4f0078710af3..82e602d9b057 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 832b715b9fee..890f36ea260c 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 b0f9046ca456..67d8539f9d39 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 2f510257c0f4..f1bfc0917e83 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 d0a49f60e24a..38446e62f990 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 d3479b128654..a9d0acdc87aa 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 a6a74027745a..0e38c553d890 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 05857ea8e8b5..b279db1835d7 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 d295fd969afb..361a049a407b 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 4fbe3e62ec30..00f012c42519 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 72feaa9e822d..2ae2b141c6bf 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 8dbd82bd0f1b..8a88131d0c25 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 9eecad6ca80a..da6304521e26 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 dbe36dac5281..17974c8122fd 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 c10bf3bea097..03e4216e0bd6 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 24431876d1f6..7f15d9b30ae6 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 e7e505864804..54a41d435a33 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 c94c3aa6cdc3..c294227eaa09 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 b026f0c75f3c..70557f9c2b47 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 dad99c3ea1c1..9c5e1fcebf47 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 12bc8c014976..f6d72de5f031 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 c417bff2c85b..2ba178af7cd8 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 27c9e8378af9..9bd1f42d43bc 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 8a7d684bde5a..98828dabf472 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 4b8fd29d049c..9dc8a1850222 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 3c392e44c9dc..2b6139737f99 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 71b30bde6be9..35006192f66d 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 ac01fd2a8781..c2398ec82af8 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 ba57fae1cbce..7a512cfd8c27 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 ef3019576f9e..f56d592663c6 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 bdf3f8f13d36..73c864a7990e 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 893807cfd93b..b6b7ed75a856 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 06cc2920235c..8b4335e416c0 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 ac660d496b2c..298d8a6fc117 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 4397b2cc3f2d..ade335647730 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 50a12cb04c9b..004381224131 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 dfc47b2c22a8..6796def3c995 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 f6411c817b2e..7676b9593a4b 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 36c783bbeee9..978c111dacac 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 f583009ab660..c5a600ad29a6 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 fc51c0901826..23ef1ff79fdc 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 350c1a659efa..05959ca71901 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 39347b973c54..fc1cf9bbb70a 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 b0b7c07a5f95..5f507f9d18a8 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 edbd92b59d74..ecd732e285f6 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 7e0fbd2f9057..193bf1aa1528 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 6d1080ba0134..964b3a54627d 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 03821cac8627..85154634798d 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 8ea4970e46ef..0b6857d072ca 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 17fa66f3fdbc..616c7d5ee67b 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 40caa6b1f61d..36fd083dcd6b 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 0af474382943..0d5f092ce1bf 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 a6d9cc8871dd..9fe78452cc6b 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 388f4da74299..855f206ba46b 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 3eb252654611..b95eaf02074d 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 76f669a04f96..5feaba34a7e0 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 e8fc4fe4c791..98e8da06316e 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 2acff33bda70..ab1c53ef433d 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 875c4687afe0..49790892cdee 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 72b6ed830e5a..c6ed9406432d 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 0f423bacae99..112a4bda75fc 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 e197bb94d0be..ed80b6f5bf87 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 69b8641276dc..6e8a49dac1a7 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 59167157523b..afe99605f37d 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 8e20859617f5..fe024eb6a876 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 1aa9f696fc72..e433e7442628 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 d89c0d505ee0..e4d3f5e98d3e 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 f2818ce9df8a..966360813114 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 a7238dceca71..688804cb961c 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 c02f6a907f98..a90652a8eb60 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 ce5e82052613..debe55e9aa24 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 3fcb222b750e..7f16631ef4a9 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 3a456b8418c1..873feab82d66 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 3dae3ae2ae2a..5cfdc07c7a34 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 def775102450..531a3709a3d8 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 b439f0a78da8..5f369f89c29f 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 614f696d8619..0c80514714b7 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 23dbf5c4a149..88b430ab8fd3 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 6670a1cc6ec1..384c72494b41 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 3abd8fef653f..7b6920ad18b0 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 98b50babd731..02989bee1522 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 dfaef3b41018..bd6681915069 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 9c1c04692eb5..7216992351e4 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 25d3613e161d..97940dd5b16b 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 4a6411581c51..90227958c0fd 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 d00416220e0f..d7f4615aa509 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 418351cceb5b..12c1d01caa51 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 84974cf38c10..29bbd3bf6069 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 8d21a2dfa75e..fcac8290f5eb 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 997349bb70cf..c7ba2437b002 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 448df754980a..978b88aeeacf 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 a3132b8a598f..09d40196cec4 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 facc0a382de8..9501c7e4e7e3 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 = ; + 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 = ; diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi index b0d9d80816bd..0d5b234249d6 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 c6dfe9a32b68..47ea4c343ec7 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 7f0fb4a401eb..8fcdeedd2e5a 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 ffb9336f6c95..daf24d334c55 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 6592b3bacfcf..84336df993d1 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 66775c230b7d..3367b14d0ae9 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>; -- 2.30.2