From 2e4626ae77fe81c45fb708a37ac1709aefa033d3 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Fri, 17 Jul 2020 11:23:16 +0200 Subject: [PATCH] ramips: remove incorrect mtd-eeprom for TP-Link TL-WR841N v14 The factory partition on this device is only 64k in size, so having mediatek,mtd-eeprom = <&factory 0x10000> would place the EEPROM data after the end of the flash. As can be verified against the TP-Link GPL sources, which contain the EEPROM data as binary blob, the actual address for the EEPROM data is 0x0. Since 0x0 is default for MT7628, the incorrect line is just removed. This error is the reason for the abysmal Wifi performance that people are complaining about for the WR841Nv14. Fixes: 3fd97c522bb7 ("ramips: add support for TP-Link TL-WR841n v14") Signed-off-by: Adrian Schmutzler --- target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts index eaac196c19..b33c2ecae8 100644 --- a/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts +++ b/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts @@ -103,8 +103,8 @@ &wmac { status = "okay"; + mtd-mac-address = <&factory 0xf100>; - mediatek,mtd-eeprom = <&factory 0x10000>; }; ðernet {