ralink: fixup devicetree files to work with new ethernet driver
[openwrt/openwrt.git] / target / linux / ramips / dts / MT7620a.dts
index 0a5999bac949cfbfa1a25175a59ed30a67340c75..35006192f66de04064743adffef249c2a521696c 100644 (file)
@@ -9,7 +9,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
-               
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
 
        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";
+       };
 };