Revert "ramips: fix NETGEAR R6260 EEPROM offset"

This reverts commit 4716c843d6.

Netgear seems to use different partition layouts on the R6260, which
would require us to dynamically detect the position of (at least) the
factory partition.

Revert this fix to avoid breaking existing installations until a better
solution has been worked out.

Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
David Bauer 2020-01-30 12:37:28 +01:00
parent 6015659e2b
commit 0cf889db00
4 changed files with 4 additions and 26 deletions

View File

@ -23,11 +23,3 @@
&led_wifi {
label = "r6260:green:wifi";
};
&wifi2 {
mediatek,mtd-eeprom = <&factory 0x20000>;
};
&wifi5 {
mediatek,mtd-eeprom = <&factory 0x28000>;
};

View File

@ -23,11 +23,3 @@
&led_wifi {
label = "r6350:green:wifi";
};
&wifi2 {
mediatek,mtd-eeprom = <&factory 0x0>;
};
&wifi5 {
mediatek,mtd-eeprom = <&factory 0x8000>;
};

View File

@ -23,11 +23,3 @@
&led_wifi {
label = "r6850:green:wifi";
};
&wifi2 {
mediatek,mtd-eeprom = <&factory 0x0>;
};
&wifi5 {
mediatek,mtd-eeprom = <&factory 0x8000>;
};

View File

@ -78,17 +78,19 @@
};
&pcie0 {
wifi5: wifi@0,0 {
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
&pcie1 {
wifi2: wifi@0,0 {
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0>;
ieee80211-freq-limit = <2400000 2500000>;
};
};