ramips: fix wrong permissions on dts files
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_linksys_ea7xxx.dtsi
index ec232968a62fb22805b84b85d00902fb69a99547..4663d873fe95b7ba062e213ec1216ab3b34b0c2c 100644 (file)
@@ -95,7 +95,6 @@
                partition@80000 {
                        label = "u_env";
                        reg = <0x80000 0x40000>;
-                       read-only;
                };
 
                factory: partition@c0000 {
        };
 };
 
+&gmac1 {
+       status = "okay";
+       label = "wan";
+       phy-handle = <&ethphy0>;
+};
+
+&mdio {
+       ethphy0: ethernet-phy@0 {
+               reg = <0>;
+       };
+};
+
 &switch0 {
        ports {
-               port@0 {
-                       status = "okay";
-                       label = "wan";
-               };
-
                port@1 {
                        status = "okay";
                        label = "lan1";