ralink: fixup devicetree files to work with new ethernet driver
[openwrt/openwrt.git] / target / linux / ramips / dts / MT7620a.dts
index 05b8da3e726ba6604c727b029ce8089730e5d22a..35006192f66de04064743adffef249c2a521696c 100644 (file)
 
        ethernet@10100000 {
                status = "okay";
-
                pinctrl-names = "default";
                pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
-
-               ralink,port-map = "llllw";
+               mediatek,portmap = "llllw";
 
                port@4 {
                        status = "okay";
@@ -89,7 +87,7 @@
        };
 
        gsw@10110000 {
-               ralink,port4 = "gmac";
+               mediatek,port4 = "gmac";
        };
 
        sdhci@10130000 {
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                s2 {
                        label = "S2";
                        gpios = <&gpio0 1 1>;
                        linux,code = <0x100>;
                };
+
                s3 {
                        label = "S3";
                        gpios = <&gpio0 2 1>;
                        linux,code = <0x101>;
                };
        };
+
+       ehci@101c0000 {
+               status = "okay";
+       };
+
+       ohci@101c1000 {
+               status = "okay";
+       };
 };