aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-01-28 21:19:16 +0100
committerDavid Bauer <mail@david-bauer.net>2020-01-29 15:11:10 +0100
commit4716c843d62a5a4c37e7886f54bcf446aa26e786 (patch)
treef14e7ac17415a5eb944e812980504b0991372a25 /target
parentb30f2281cce6649567e0194d203f06517d173115 (diff)
downloadupstream-4716c843d62a5a4c37e7886f54bcf446aa26e786.tar.gz
upstream-4716c843d62a5a4c37e7886f54bcf446aa26e786.tar.bz2
upstream-4716c843d62a5a4c37e7886f54bcf446aa26e786.zip
ramips: fix NETGEAR R6260 EEPROM offset
The EEPROM offset for the NETGEAR R6260 is incorrect, thus no valid calibration data is used. Fix this only for the NETGEAR R6260, as it's currently unknown whether or not other boards are affected. Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/mt7621_netgear_r6260.dts8
-rw-r--r--target/linux/ramips/dts/mt7621_netgear_r6350.dts8
-rw-r--r--target/linux/ramips/dts/mt7621_netgear_r6850.dts8
-rw-r--r--target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi6
4 files changed, 26 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/mt7621_netgear_r6260.dts b/target/linux/ramips/dts/mt7621_netgear_r6260.dts
index 8251fe595c..2f2dbb05f8 100644
--- a/target/linux/ramips/dts/mt7621_netgear_r6260.dts
+++ b/target/linux/ramips/dts/mt7621_netgear_r6260.dts
@@ -23,3 +23,11 @@
&led_wifi {
label = "r6260:green:wifi";
};
+
+&wifi2 {
+ mediatek,mtd-eeprom = <&factory 0x20000>;
+};
+
+&wifi5 {
+ mediatek,mtd-eeprom = <&factory 0x28000>;
+};
diff --git a/target/linux/ramips/dts/mt7621_netgear_r6350.dts b/target/linux/ramips/dts/mt7621_netgear_r6350.dts
index c1e3a08897..3f730808dd 100644
--- a/target/linux/ramips/dts/mt7621_netgear_r6350.dts
+++ b/target/linux/ramips/dts/mt7621_netgear_r6350.dts
@@ -23,3 +23,11 @@
&led_wifi {
label = "r6350:green:wifi";
};
+
+&wifi2 {
+ mediatek,mtd-eeprom = <&factory 0x0>;
+};
+
+&wifi5 {
+ mediatek,mtd-eeprom = <&factory 0x8000>;
+};
diff --git a/target/linux/ramips/dts/mt7621_netgear_r6850.dts b/target/linux/ramips/dts/mt7621_netgear_r6850.dts
index 5accbbdbd8..4ac1cd092a 100644
--- a/target/linux/ramips/dts/mt7621_netgear_r6850.dts
+++ b/target/linux/ramips/dts/mt7621_netgear_r6850.dts
@@ -23,3 +23,11 @@
&led_wifi {
label = "r6850:green:wifi";
};
+
+&wifi2 {
+ mediatek,mtd-eeprom = <&factory 0x0>;
+};
+
+&wifi5 {
+ mediatek,mtd-eeprom = <&factory 0x8000>;
+};
diff --git a/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi b/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi
index 52af14723e..03bfd7d442 100644
--- a/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi
+++ b/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi
@@ -78,19 +78,17 @@
};
&pcie0 {
- wifi@0,0 {
+ wifi5: wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
&pcie1 {
- wifi@0,0 {
+ wifi2: wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0>;
ieee80211-freq-limit = <2400000 2500000>;
};
};