Răsfoiți Sursa

mediatek: filogic: add precal to W6 common dtsi

Bootlog has the following line:
mt798x-wmac 18000000.wifi: missing precal data, size=403472

It is because precal was not included in the previous NVMEM conversion.

Fix this by adding it to the common dtsi.

Fixes: dbc2923cbe21 ("mediatek: filogic: convert Acer Predator W6 to use NVMEM framework")
Signed-off-by: Zhi-Jun You <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/21894
Signed-off-by: Hauke Mehrtens <[email protected]>
Zhi-Jun You 5 zile în urmă
părinte
comite
3f430451b1
1 a modificat fișierele cu 6 adăugiri și 2 ștergeri
  1. 6 2
      target/linux/mediatek/dts/mt7986a-acer-w6-common.dtsi

+ 6 - 2
target/linux/mediatek/dts/mt7986a-acer-w6-common.dtsi

@@ -238,6 +238,10 @@
 						eeprom_factory_0: eeprom@0 {
 							reg = <0x0 0x1000>;
 						};
+
+						precal_factory_1010: precal@1010 {
+							reg = <0x1010 0x62810>;
+						};
 					};
 				};
 			};
@@ -391,8 +395,8 @@
 };
 
 &wifi {
-	nvmem-cells = <&eeprom_factory_0>;
-	nvmem-cell-names = "eeprom";
+	nvmem-cells = <&eeprom_factory_0>, <&precal_factory_1010>;
+	nvmem-cell-names = "eeprom", "precal";
 	pinctrl-names = "default", "dbdc";
 	pinctrl-0 = <&wf_2g_5g_pins>;
 	pinctrl-1 = <&wf_dbdc_pins>;