ramips: clean up useless dts partition labels
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7620a_ralink_mt7620a-mt7530-evb.dts
index e106af402edf67133552ce10443f9a8ab0452088..c20e9c0df01d4e44ea531f2ce2d31da67e5406a5 100644 (file)
@@ -1,5 +1,3 @@
-/dts-v1/;
-
 #include "mt7620a.dtsi"
 
 / {
@@ -10,7 +8,7 @@
 &spi0 {
        status = "okay";
 
-       m25p80@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;
@@ -32,7 +30,7 @@
                                read-only;
                        };
 
-                       factory: partition@40000 {
+                       partition@40000 {
                                label = "factory";
                                reg = <0x40000 0x10000>;
                                read-only;
 
 &state_default {
        gpio {
-               ralink,group = "i2c", "uartf";
-               ralink,function = "gpio";
+               groups = "i2c", "uartf";
+               function = "gpio";
        };
 };
 
 &ethernet {
-       status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
+
        mediatek,portmap = "llllw";
 
        port@5 {
 };
 
 &gsw {
-       mediatek,port4 = "gmac";
+       mediatek,ephy-base = /bits/ 8 <12>;
 };
 
 &pcie {