ralink: fixup devicetree files to work with new ethernet driver
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 17 Dec 2015 09:25:57 +0000 (09:25 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 17 Dec 2015 09:25:57 +0000 (09:25 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47900 3c298f89-4303-0410-b956-a3cf2f4a3e73

139 files changed:
target/linux/ramips/dts/3G-6200N.dts
target/linux/ramips/dts/3G-6200NL.dts
target/linux/ramips/dts/3G150B.dts
target/linux/ramips/dts/3G300M.dts
target/linux/ramips/dts/A5-V11.dts
target/linux/ramips/dts/AI-BR100.dts
target/linux/ramips/dts/AIR3GII.dts
target/linux/ramips/dts/ALL0239-3G.dts
target/linux/ramips/dts/ALL0256N-4M.dts
target/linux/ramips/dts/ALL0256N-8M.dts
target/linux/ramips/dts/ALL5002.dts
target/linux/ramips/dts/ALL5003.dts
target/linux/ramips/dts/ASL26555-16M.dts
target/linux/ramips/dts/ASL26555-8M.dts
target/linux/ramips/dts/ATP-52B.dts
target/linux/ramips/dts/AWAPN2403.dts
target/linux/ramips/dts/AWM002.dtsi
target/linux/ramips/dts/ArcherC20i.dts
target/linux/ramips/dts/BC2.dts
target/linux/ramips/dts/BR-6425.dts
target/linux/ramips/dts/BR-6475ND.dts
target/linux/ramips/dts/BROADWAY.dts
target/linux/ramips/dts/CARAMBOLA.dts
target/linux/ramips/dts/CY-SWR1100.dts
target/linux/ramips/dts/D105.dts
target/linux/ramips/dts/DAP-1350.dts
target/linux/ramips/dts/DB-WRT01.dts
target/linux/ramips/dts/DCS-930.dts
target/linux/ramips/dts/DCS-930L-B1.dts
target/linux/ramips/dts/DIR-300-B1.dts
target/linux/ramips/dts/DIR-300-B7.dts
target/linux/ramips/dts/DIR-320-B1.dts
target/linux/ramips/dts/DIR-600-B1.dts
target/linux/ramips/dts/DIR-600-B2.dts
target/linux/ramips/dts/DIR-610-A1.dts
target/linux/ramips/dts/DIR-615-D.dts
target/linux/ramips/dts/DIR-615-H1.dts
target/linux/ramips/dts/DIR-620-A1.dts
target/linux/ramips/dts/DIR-620-D1.dts
target/linux/ramips/dts/DIR-645.dts
target/linux/ramips/dts/DIR-810L.dts
target/linux/ramips/dts/E1700.dts
target/linux/ramips/dts/ESR-9753.dts
target/linux/ramips/dts/F5D8235_V1.dts
target/linux/ramips/dts/F5D8235_V2.dts
target/linux/ramips/dts/FONERA20N.dts
target/linux/ramips/dts/FREESTATION5.dts
target/linux/ramips/dts/HC5861.dts
target/linux/ramips/dts/HC5XXX.dtsi
target/linux/ramips/dts/HG255D.dts
target/linux/ramips/dts/HT-TM02.dts
target/linux/ramips/dts/HW550-3G.dts
target/linux/ramips/dts/IP2202.dts
target/linux/ramips/dts/M2M.dts
target/linux/ramips/dts/M3.dts
target/linux/ramips/dts/M4-4M.dts
target/linux/ramips/dts/M4-8M.dts
target/linux/ramips/dts/MINIEMBPLUG.dts
target/linux/ramips/dts/MINIEMBWIFI.dts
target/linux/ramips/dts/MIWIFI-MINI.dts
target/linux/ramips/dts/MLW221.dts
target/linux/ramips/dts/MLWG2.dts
target/linux/ramips/dts/MOFI3500-3GN.dts
target/linux/ramips/dts/MPRA1.dts
target/linux/ramips/dts/MPRA2.dts
target/linux/ramips/dts/MR-102N.dts
target/linux/ramips/dts/MT7620a.dts
target/linux/ramips/dts/MT7620a_MT7530.dts
target/linux/ramips/dts/MT7620a_MT7610e.dts
target/linux/ramips/dts/MT7620a_V22SG.dts
target/linux/ramips/dts/MZK-750DHP.dts
target/linux/ramips/dts/MZK-DP150N.dts
target/linux/ramips/dts/MZK-W300NH2.dts
target/linux/ramips/dts/MicroWRT.dts
target/linux/ramips/dts/NA930.dts
target/linux/ramips/dts/NBG-419N.dts
target/linux/ramips/dts/NCS601W.dts
target/linux/ramips/dts/NW718.dts
target/linux/ramips/dts/OY-0001.dts
target/linux/ramips/dts/PSR-680W.dts
target/linux/ramips/dts/PWH2004.dts
target/linux/ramips/dts/PX-4885.dtsi
target/linux/ramips/dts/RP-N53.dts
target/linux/ramips/dts/RT-G32-B1.dts
target/linux/ramips/dts/RT-N10-PLUS.dts
target/linux/ramips/dts/RT-N13U.dts
target/linux/ramips/dts/RT-N14U.dts
target/linux/ramips/dts/RT-N15.dts
target/linux/ramips/dts/RT-N56U.dts
target/linux/ramips/dts/RT5350F-OLINUXINO-EVB.dts
target/linux/ramips/dts/RT5350F-OLINUXINO.dts
target/linux/ramips/dts/RUT5XX.dts
target/linux/ramips/dts/SL-R7205.dts
target/linux/ramips/dts/TINY-AC.dts
target/linux/ramips/dts/UR-326N4G.dts
target/linux/ramips/dts/UR-336UN.dts
target/linux/ramips/dts/V22RW-2X2.dts
target/linux/ramips/dts/VOCORE.dtsi
target/linux/ramips/dts/W150M.dts
target/linux/ramips/dts/W306R_V20.dts
target/linux/ramips/dts/W502U.dts
target/linux/ramips/dts/WCR150GN.dts
target/linux/ramips/dts/WHR-1166D.dts
target/linux/ramips/dts/WHR-300HP2.dts
target/linux/ramips/dts/WHR-600D.dts
target/linux/ramips/dts/WHR-G300N.dts
target/linux/ramips/dts/WIZARD8800.dts
target/linux/ramips/dts/WIZFI630A.dts
target/linux/ramips/dts/WL-330N.dts
target/linux/ramips/dts/WL-330N3G.dts
target/linux/ramips/dts/WL-341V3.dts
target/linux/ramips/dts/WL-351.dts
target/linux/ramips/dts/WLI-TX4-AG300N.dts
target/linux/ramips/dts/WMR-300.dts
target/linux/ramips/dts/WR512-3GN-4M.dts
target/linux/ramips/dts/WR512-3GN-8M.dts
target/linux/ramips/dts/WR6202.dts
target/linux/ramips/dts/WRTNODE.dts
target/linux/ramips/dts/WT3020-4M.dts
target/linux/ramips/dts/WT3020-8M.dts
target/linux/ramips/dts/WZR-AGL300NH.dts
target/linux/ramips/dts/X5.dts
target/linux/ramips/dts/X8.dts
target/linux/ramips/dts/XDXRN502J.dts
target/linux/ramips/dts/Y1.dts
target/linux/ramips/dts/Y1S.dts
target/linux/ramips/dts/YOUKU-YK1.dts
target/linux/ramips/dts/ZBT-WA05.dts
target/linux/ramips/dts/ZBT-WR8305RT.dts
target/linux/ramips/dts/ZTE-Q7.dts
target/linux/ramips/dts/mt7620a.dtsi
target/linux/ramips/dts/mt7620n.dtsi
target/linux/ramips/dts/mt7621.dtsi
target/linux/ramips/dts/mt7628an.dtsi
target/linux/ramips/dts/rt2880.dtsi
target/linux/ramips/dts/rt3050.dtsi
target/linux/ramips/dts/rt3352.dtsi
target/linux/ramips/dts/rt3883.dtsi
target/linux/ramips/dts/rt5350.dtsi

index 5c1e588..183148a 100644 (file)
@@ -58,7 +58,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 8f7d383..760dafc 100644 (file)
@@ -58,7 +58,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index a8387a4..54b9461 100644 (file)
@@ -62,7 +62,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 997c081..9f3967c 100644 (file)
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index f1d0891..0dcdd18 100644 (file)
@@ -62,7 +62,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index f3932ae..1c282f1 100644 (file)
@@ -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 {
index 40d3228..e613c43 100644 (file)
@@ -62,7 +62,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index d75bb2c..ae09fb9 100644 (file)
@@ -53,7 +53,7 @@
 
        esw@10110000 {
                status = "okay";
-               ralink,portmap = <0x3e>;
+               mediatek,portmap = <0x3e>;
        };
 
        wmac@10180000 {
index d0fbb89..b242256 100644 (file)
@@ -62,7 +62,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3f>;
+               mediatek,portmap = <0x3f>;
        };
 
        wmac@10180000 {
index c788869..aa0aeec 100644 (file)
@@ -62,7 +62,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3f>;
+               mediatek,portmap = <0x3f>;
        };
 
        wmac@10180000 {
index 7717f02..1985aa7 100644 (file)
@@ -62,7 +62,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3f>;
+               mediatek,portmap = <0x3f>;
        };
 
        wmac@10180000 {
index c256145..9e6a686 100644 (file)
@@ -62,7 +62,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3f>;
+               mediatek,portmap = <0x3f>;
        };
 
        wmac@10180000 {
index 2cf1ac6..9448ce1 100644 (file)
@@ -80,7 +80,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x1e>;
+               mediatek,portmap = <0x1e>;
        };
 
        wmac@10180000 {
index 80cf4a4..579b327 100644 (file)
@@ -74,7 +74,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x1e>;
+               mediatek,portmap = <0x1e>;
        };
 
        wmac@10180000 {
index c3f42bf..f7e9ac7 100644 (file)
@@ -83,7 +83,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3e>;
+               mediatek,portmap = <0x3e>;
        };
 
        wmac@10180000 {
index b0f81b0..fe297a9 100644 (file)
@@ -54,7 +54,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3e>;
+               mediatek,portmap = <0x3e>;
        };
 
        wmac@10180000 {
index 1906e6e..7afe80f 100644 (file)
@@ -50,7 +50,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3f>;
+               mediatek,portmap = <0x3f>;
        };
 
        ehci@101c0000 {
index 0ad4d12..da22699 100644 (file)
@@ -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 {
index d920b6e..0c74ffa 100644 (file)
@@ -74,7 +74,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index cb2c89b..a5f9177 100644 (file)
@@ -29,7 +29,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 8c8a980..fc6d16f 100644 (file)
@@ -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>;
                };
        };
 
index 95c245d..df43644 100644 (file)
@@ -52,7 +52,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3e>;
+               mediatek,portmap = <0x3e>;
        };
 
        wmac@10180000 {
index ea3623d..771d4ec 100644 (file)
@@ -56,7 +56,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3f>;
+               mediatek,portmap = <0x3f>;
        };
 
        wmac@10180000 {
index cec84ac..be15d9b 100644 (file)
@@ -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";
                };
        };
index 5ef625c..1a1ea73 100644 (file)
@@ -79,7 +79,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index ce52945..e97c551 100644 (file)
@@ -62,7 +62,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index d0fbaf3..e3a7770 100644 (file)
                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 {
index 3c89f84..b43d4e5 100644 (file)
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 525707c..deb056d 100644 (file)
@@ -58,7 +58,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 6d19f65..f0298b2 100644 (file)
@@ -52,7 +52,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 30c2596..3317472 100644 (file)
@@ -58,8 +58,8 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
-               ralink,led_polarity = <0x17>;
+               mediatek,portmap = <0x2f>;
+               mediatek,led_polarity = <0x17>;
        };
 
        gpio-leds {
index c1e5832..2b69350 100644 (file)
@@ -58,8 +58,8 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
-               ralink,led_polarity = <0x17>;
+               mediatek,portmap = <0x2f>;
+               mediatek,led_polarity = <0x17>;
        };
 
        wmac@10180000 {
index 5020b78..ea3d3eb 100644 (file)
@@ -52,7 +52,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index d06b853..2791563 100644 (file)
@@ -48,7 +48,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 9ec9870..b762cc3 100644 (file)
@@ -59,8 +59,8 @@
 
        esw@10110000 {
                status = "okay";
-               ralink,portmap = <0x2f>;
-               ralink,led_polarity = <0x17>;
+               mediatek,portmap = <0x2f>;
+               mediatek,led_polarity = <0x17>;
        };
 
        wmac@10180000 {
index a57ea6d..45aeace 100644 (file)
@@ -48,7 +48,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index f9bdc92..8f064af 100644 (file)
@@ -68,7 +68,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 212cf88..c72b11b 100644 (file)
@@ -52,7 +52,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 166d61e..9e7314f 100644 (file)
@@ -68,7 +68,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 58a0788..87588c5 100644 (file)
@@ -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>;
                };
        };
 
index 4f00787..82e602d 100644 (file)
 
        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>;
        };
index 832b715..890f36e 100644 (file)
@@ -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";
                };
 
        };
 
        gsw@10110000 {
-               ralink,port4 = "gmac";
+               mediatek,port4 = "gmac";
                mediatek,mt7530 = <1>;
        };
 
index b0f9046..67d8539 100644 (file)
@@ -85,7 +85,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3e>;
+               mediatek,portmap = <0x3e>;
        };
 
        wmac@10180000 {
index 2f51025..f1bfc09 100644 (file)
@@ -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>;
                };
        };
 
index d0a49f6..38446e6 100644 (file)
@@ -50,7 +50,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3f>;
+               mediatek,portmap = <0x3f>;
        };
 
        wmac@10180000 {
index d3479b1..a9d0acd 100644 (file)
@@ -91,7 +91,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
 
                port@0 {
                        compatible = "swconfig,port";
index a6a7402..0e38c55 100644 (file)
@@ -56,7 +56,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x01>;
+               mediatek,portmap = <0x01>;
        };
 
        wmac@10180000 {
index 05857ea..b279db1 100644 (file)
@@ -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 {
index d295fd9..361a049 100644 (file)
@@ -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 {
index 4fbe3e6..00f012c 100644 (file)
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 72feaa9..2ae2b14 100644 (file)
@@ -62,7 +62,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x10>;
+               mediatek,portmap = <0x10>;
        };
 
        wmac@10180000 {
index 8dbd82b..8a88131 100644 (file)
@@ -52,7 +52,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3e>;
+               mediatek,portmap = <0x3e>;
        };
 
        wmac@10180000 {
index 9eecad6..da63045 100644 (file)
@@ -52,7 +52,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        gpio-leds {
index dbe36da..17974c8 100644 (file)
@@ -95,7 +95,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        ehci@101c0000 {
index c10bf3b..03e4216 100644 (file)
@@ -58,8 +58,8 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
-               ralink,led_polarity = <1>;
+               mediatek,portmap = <0x2f>;
+               mediatek,led_polarity = <1>;
        };
 
        gpio-leds {
index 2443187..7f15d9b 100644 (file)
@@ -58,8 +58,8 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
-               ralink,led_polarity = <1>;
+               mediatek,portmap = <0x2f>;
+               mediatek,led_polarity = <1>;
        };
 
        gpio-leds {
index e7e5058..54a41d4 100644 (file)
@@ -58,8 +58,8 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
-               ralink,led_polarity = <1>;
+               mediatek,portmap = <0x2f>;
+               mediatek,led_polarity = <1>;
        };
 
        gpio-leds {
index c94c3aa..c294227 100644 (file)
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index b026f0c..70557f9 100644 (file)
@@ -79,7 +79,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index dad99c3..9c5e1fc 100644 (file)
@@ -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 {
index 12bc8c0..f6d72de 100644 (file)
@@ -71,7 +71,7 @@
 
        ethernet@10100000 {
                mtd-mac-address = <&factory 0x4>;
-               ralink,port-map = "wllll";
+               mediatek,portmap = "wllll";
        };
 
        wmac@10180000 {
index c417bff..2ba178a 100644 (file)
@@ -71,7 +71,7 @@
 
        ethernet@10100000 {
                mtd-mac-address = <&factory 0x4>;
-               ralink,port-map = "wllll";
+               mediatek,portmap = "wllll";
        };
 
        wmac@10180000 {
index 27c9e83..9bd1f42 100644 (file)
@@ -48,7 +48,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        gpio-leds {
index 8a7d684..98828da 100644 (file)
@@ -62,7 +62,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 4b8fd29..9dc8a18 100644 (file)
@@ -58,7 +58,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 3c392e4..2b61397 100644 (file)
@@ -63,8 +63,8 @@
 
        esw@10110000 {
                status = "okay";
-               #ralink,portmap = <0x3e>;
-               ralink,portmap = <0x2f>;
+               #mediatek,portmap = <0x3e>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 71b30bd..3500619 100644 (file)
@@ -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 {
index ac01fd2..c2398ec 100644 (file)
                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";
                };
 
        };
 
        gsw@10110000 {
-               ralink,port4 = "gmac";
+               mediatek,port4 = "gmac";
                mediatek,mt7530 = <1>;
        };
 
index ba57fae..7a512cf 100644 (file)
                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 {
index ef30195..f56d592 100644 (file)
@@ -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 {
index bdf3f8f..73c864a 100644 (file)
                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 {
index 893807c..b6b7ed7 100644 (file)
@@ -68,7 +68,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x17>;
+               mediatek,portmap = <0x17>;
        };
 
        wmac@10180000 {
index 06cc292..8b4335e 100644 (file)
@@ -58,7 +58,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index ac660d4..298d8a6 100644 (file)
@@ -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 {
index 4397b2c..ade3356 100644 (file)
@@ -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";
        };
 
        gsw@10110000 {
-               ralink,port4 = "gmac";
+               mediatek,port4 = "gmac";
        };
 
        ehci@101c0000 {
index 50a12cb..0043812 100644 (file)
@@ -52,7 +52,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index dfc47b2..6796def 100644 (file)
@@ -58,7 +58,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index f6411c8..7676b95 100644 (file)
@@ -58,7 +58,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 36c783b..978c111 100644 (file)
        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 {
index f583009..c5a600a 100644 (file)
@@ -56,7 +56,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3e>;
+               mediatek,portmap = <0x3e>;
        };
 
        wmac@10180000 {
index fc51c09..23ef1ff 100644 (file)
@@ -75,7 +75,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 350c1a6..05959ca 100644 (file)
@@ -18,7 +18,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3f>;
+               mediatek,portmap = <0x3f>;
        };
 
        wmac@10180000 {
index 39347b9..fc1cf9b 100644 (file)
@@ -80,7 +80,7 @@
        };
 
        gsw@10110000 {
-               ralink,port4 = "ephy";
+               mediatek,port4 = "ephy";
                pinctrl-names = "default";
                pinctrl-0 = <&ephy_pins>;
        };
index b0b7c07..5f507f9 100644 (file)
@@ -58,7 +58,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index edbd92b..ecd732e 100644 (file)
@@ -43,7 +43,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3e>;
+               mediatek,portmap = <0x3e>;
        };
 
        wmac@10180000 {
index 7e0fbd2..193bf1a 100644 (file)
@@ -85,7 +85,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 6d1080b..964b3a5 100644 (file)
@@ -63,7 +63,7 @@
 
        ethernet@10100000 {
                mtd-mac-address = <&factory 0x4>;
-               ralink,port-map = "wllll";
+               mediatek,portmap = "wllll";
        };
 
        wmac@10180000 {
index 03821ca..8515463 100644 (file)
@@ -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 {
index 8ea4970..0b6857d 100644 (file)
@@ -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>;
                };
        };
 
index 17fa66f..616c7d5 100644 (file)
@@ -62,8 +62,8 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
-               ralink,led_polarity = <0x17>;
+               mediatek,portmap = <0x2f>;
+               mediatek,led_polarity = <0x17>;
        };
 
        wmac@10180000 {
index 40caa6b..36fd083 100644 (file)
@@ -62,8 +62,8 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
-               ralink,led_polarity = <0x17>;
+               mediatek,portmap = <0x2f>;
+               mediatek,led_polarity = <0x17>;
        };
 
        wmac@10180000 {
index 0af4743..0d5f092 100644 (file)
@@ -58,7 +58,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3e>;
+               mediatek,portmap = <0x3e>;
        };
 
        wmac@10180000 {
index a6d9cc8..9fe7845 100644 (file)
@@ -52,7 +52,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3e>;
+               mediatek,portmap = <0x3e>;
        };
 
        wmac@10180000 {
index 388f4da..855f206 100644 (file)
@@ -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";
        };
 
        gsw@10110000 {
-               ralink,port4 = "gmac";
+               mediatek,port4 = "gmac";
                mediatek,mt7530 = <1>;
 
        };
index 3eb2526..b95eaf0 100644 (file)
@@ -52,7 +52,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 76f669a..5feaba3 100644 (file)
@@ -30,7 +30,7 @@
        };
 */
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        /* FIXME: no partitions defined */
index e8fc4fe..98e8da0 100644 (file)
@@ -48,7 +48,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 2acff33..ab1c53e 100644 (file)
@@ -28,7 +28,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x17>;
+               mediatek,portmap = <0x17>;
        };
 
        wmac@10180000 {
index 875c468..4979089 100644 (file)
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 72b6ed8..c6ed940 100644 (file)
@@ -52,7 +52,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3e>;
+               mediatek,portmap = <0x3e>;
        };
 
        wmac@10180000 {
index 0f423ba..112a4bd 100644 (file)
@@ -56,7 +56,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3e>;
+               mediatek,portmap = <0x3e>;
        };
 
        wmac@10180000 {
index e197bb9..ed80b6f 100644 (file)
@@ -85,7 +85,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 69b8641..6e8a49d 100644 (file)
@@ -78,7 +78,7 @@
        };
 
        gsw@10110000 {
-               ralink,port4 = "ephy";
+               mediatek,port4 = "ephy";
        };
 
        wmac@10180000 {
index 5916715..afe9960 100644 (file)
        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 {
index 8e20859..fe024eb 100644 (file)
                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 {
index 1aa9f69..e433e74 100644 (file)
@@ -25,7 +25,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        /* FIXME: no partitions defined */
index d89c0d5..e4d3f5e 100644 (file)
@@ -66,7 +66,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        ehci@101c0000 {
index f2818ce..9663608 100644 (file)
        };
 
        esw@10110000 {
-               ralink,portmap = <0x17>;
+               mediatek,portmap = <0x17>;
        };
 
        wmac@10180000 {
index a7238dc..688804c 100644 (file)
@@ -58,7 +58,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3e>;
+               mediatek,portmap = <0x3e>;
        };
 
        wmac@10180000 {
index c02f6a9..a90652a 100644 (file)
@@ -58,7 +58,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3e>;
+               mediatek,portmap = <0x3e>;
        };
 
        wmac@10180000 {
index ce5e820..debe55e 100644 (file)
@@ -52,7 +52,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3e>;
+               mediatek,portmap = <0x3e>;
        };
 
        wmac@10180000 {
index 3fcb222..7f16631 100644 (file)
@@ -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,
index 3a456b8..873feab 100644 (file)
@@ -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>;
                };
        };
 
index 3dae3ae..5cfdc07 100644 (file)
@@ -50,7 +50,7 @@
 
        ethernet@10100000 {
                mtd-mac-address = <&factory 0x4>;
-               ralink,port-map = "wllll";
+               mediatek,portmap = "wllll";
        };
 
        wmac@10180000 {
index def7751..531a370 100644 (file)
@@ -48,7 +48,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index b439f0a..5f369f8 100644 (file)
@@ -48,7 +48,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
        };
 
        wmac@10180000 {
index 614f696..0c80514 100644 (file)
@@ -89,7 +89,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3e>;
+               mediatek,portmap = <0x3e>;
        };
 
        wmac@10180000 {
index 23dbf5c..88b430a 100644 (file)
@@ -66,7 +66,7 @@
 
        ethernet@10100000 {
                mtd-mac-address = <&factory 0x4>;
-               ralink,port-map = "wllll";
+               mediatek,portmap = "wllll";
        };
 
        wmac@10180000 {
index 6670a1c..384c724 100644 (file)
@@ -62,7 +62,7 @@
 
        ethernet@10100000 {
                mtd-mac-address = <&factory 0x4>;
-               ralink,port-map = "wllll";
+               mediatek,portmap = "wllll";
        };
 
        wmac@10180000 {
index 3abd8fe..7b6920a 100644 (file)
@@ -62,7 +62,7 @@
 
        ethernet@10100000 {
                mtd-mac-address = <&factory 0x4>;
-               ralink,port-map = "wllll";
+               mediatek,portmap = "wllll";
        };
 
        wmac@10180000 {
index 98b50ba..02989be 100644 (file)
@@ -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 {
index dfaef3b..bd66819 100644 (file)
@@ -58,8 +58,8 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
-               ralink,led_polarity = <1>;
+               mediatek,portmap = <0x2f>;
+               mediatek,led_polarity = <1>;
        };
 
        gpio-leds {
index 9c1c046..7216992 100644 (file)
@@ -58,8 +58,8 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
-               ralink,led_polarity = <1>;
+               mediatek,portmap = <0x2f>;
+               mediatek,led_polarity = <1>;
        };
 
        gpio-leds {
index 25d3613..97940dd 100644 (file)
@@ -52,7 +52,7 @@
        };
 
        esw@10110000 {
-               ralink,portmap = <0x3e>;
+               mediatek,portmap = <0x3e>;
        };
 
        wmac@10180000 {
index 4a64115..9022795 100644 (file)
@@ -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 {
index d004162..d7f4615 100644 (file)
@@ -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 {
index 418351c..12c1d01 100644 (file)
@@ -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 {
index 84974cf..29bbd3b 100644 (file)
@@ -70,7 +70,7 @@
 
        ethernet@10100000 {
                mtd-mac-address = <&factory 0x4>;
-               ralink,port-map = "wllll";
+               mediatek,portmap = "wllll";
        };
 
        wmac@10180000 {
index 8d21a2d..fcac829 100644 (file)
@@ -62,7 +62,7 @@
 
        ethernet@10100000 {
                mtd-mac-address = <&factory 0x4>;
-               ralink,port-map = "llllw";
+               mediatek,portmap = "llllw";
        };
 
        wmac@10180000 {
index 997349b..c7ba243 100644 (file)
@@ -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 {
index 448df75..978b88a 100644 (file)
        };
 
        ethernet@10100000 {
-               compatible = "ralink,mt7620a-eth";
+               compatible = "mediatek,mt7620-eth";
                reg = <0x10100000 10000>;
 
                #address-cells = <1>;
                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";
                };
        };
 
-       gsw@10110000 {
-               compatible = "ralink,mt7620a-gsw";
+       gsw: gsw@10110000 {
+               compatible = "mediatek,mt7620-gsw";
                reg = <0x10110000 8000>;
 
                resets = <&rstctrl 23>;
index a3132b8..09d4019 100644 (file)
        };
 
        ethernet@10100000 {
-               compatible = "ralink,mt7620a-eth";
+               compatible = "mediatek,mt7620-eth";
                reg = <0x10100000 10000>;
 
                #address-cells = <1>;
                resets = <&rstctrl 21 &rstctrl 23>;
                reset-names = "fe", "esw";
 
+               mediatek,switch = <&gsw>;
+
                mdio-bus {
                        #address-cells = <1>;
                        #size-cells = <0>;
                };
        };
 
-       gsw@10110000 {
-               compatible = "ralink,mt7620a-gsw";
+       gsw: gsw@10110000 {
+               compatible = "mediatek,mt7620-gsw";
                reg = <0x10110000 8000>;
 
                resets = <&rstctrl 23>;
 
                interrupt-parent = <&intc>;
                interrupts = <17>;
-               ralink,port4 = "gmac";
+               mediatek,port4 = "gmac";
        };
 
        ehci@101c0000 {
index facc0a3..9501c7e 100644 (file)
        };
 
        ethernet@1e100000 {
-               compatible = "ralink,mt7621-eth";
+               compatible = "mediatek,mt7621-eth";
                reg = <0x1e100000 10000>;
 
                #address-cells = <1>;
                interrupt-parent = <&gic>;
                interrupts = <GIC_SHARED 3 IRQ_TYPE_LEVEL_HIGH>;
 
+               mediatek,switch = <&gsw>;
+
                mdio-bus {
                        #address-cells = <1>;
                        #size-cells = <0>;
                };
        };
 
-       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>;
index b0d9d80..0d5b234 100644 (file)
 
                resets = <&rstctrl 21 &rstctrl 23>;
                reset-names = "fe", "esw";
+
+               mediatek,switch = <&esw>;
        };
 
-       esw@10110000 {
+       esw: esw@10110000 {
                compatible = "ralink,rt3050-esw";
                reg = <0x10110000 8000>;
 
index c6dfe9a..47ea4c3 100644 (file)
                status = "disabled";
 
                port@0 {
-                       compatible = "ralink,rt2880-port", "ralink,eth-port";
+                       compatible = "ralink,rt2880-port", "mediatek,eth-port";
                        reg = <0>;
                };
 
index 7f0fb4a..8fcdeed 100644 (file)
 
                interrupt-parent = <&cpuintc>;
                interrupts = <5>;
+
+               mediatek,switch = <&esw>;
        };
 
-       esw@10110000 {
+       esw: esw@10110000 {
                compatible = "ralink,rt3050-esw";
                reg = <0x10110000 8000>;
 
index ffb9336..daf24d3 100644 (file)
 
                interrupt-parent = <&cpuintc>;
                interrupts = <5>;
+
+               mediatek,switch = <&esw>;
        };
 
-       esw@10110000 {
+       esw: esw@10110000 {
                compatible = "ralink,rt3352-esw", "ralink,rt3050-esw";
                reg = <0x10110000 8000>;
 
index 6592b3b..84336df 100644 (file)
                interrupts = <5>;
 
                port@0 {
-                       compatible = "ralink,rt3883-port", "ralink,eth-port";
+                       compatible = "ralink,rt3883-port", "mediatek,eth-port";
                        reg = <0>;
                };
 
index 66775c2..3367b14 100644 (file)
 
                interrupt-parent = <&cpuintc>;
                interrupts = <5>;
+
+               mediatek,switch = <&esw>;
        };
 
-       esw@10110000 {
+       esw: esw@10110000 {
                compatible = "ralink,rt3050-esw";
                reg = <0x10110000 8000>;