X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Fmt7621_linksys_ea7xxx.dtsi;h=4663d873fe95b7ba062e213ec1216ab3b34b0c2c;hb=1cb85e1251a7174643993dfc6da778e31be58903;hp=ecff6406d588dc8e5653a033b033ab1938725626;hpb=c846dd91f0a6f99b529ed6e1ec4ab149466dc0d2;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi b/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi index ecff6406d5..4663d873fe 100644 --- a/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi +++ b/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi @@ -76,6 +76,11 @@ &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 { @@ -173,13 +177,20 @@ }; }; +&gmac1 { + status = "okay"; + label = "wan"; + phy-handle = <ðphy0>; +}; + +&mdio { + ethphy0: ethernet-phy@0 { + reg = <0>; + }; +}; + &switch0 { ports { - port@0 { - status = "okay"; - label = "wan"; - }; - port@1 { status = "okay"; label = "lan1";