]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek: filogic: add precal to W6 common dtsi
authorZhi-Jun You <hujy652@protonmail.com>
Fri, 6 Feb 2026 11:06:33 +0000 (19:06 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 10 Feb 2026 23:35:28 +0000 (00:35 +0100)
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 <hujy652@protonmail.com>
Link: https://github.com/openwrt/openwrt/pull/21894
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/mediatek/dts/mt7986a-acer-w6-common.dtsi

index f1af6066e15f325ab8e1097373f59bd3b5efe06a..48545a5411564b120633210c8032df659bfbe45d 100644 (file)
                                                eeprom_factory_0: eeprom@0 {
                                                        reg = <0x0 0x1000>;
                                                };
+
+                                               precal_factory_1010: precal@1010 {
+                                                       reg = <0x1010 0x62810>;
+                                               };
                                        };
                                };
                        };
 };
 
 &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>;