ramips: fix wrong permissions on dts files
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_linksys_ea7xxx.dtsi
index ecff6406d588dc8e5653a033b033ab1938725626..4663d873fe95b7ba062e213ec1216ab3b34b0c2c 100644 (file)
 &nand {
        status = "okay";
 
+       mediatek,bbt;
+       mediatek,bmt-remap-range =
+               <0x180000 0x580000>,
+               <0x2980000 0x2d80000>;
+
        partitions {
                compatible = "fixed-partitions";
                #address-cells = <1>;
@@ -90,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";