Просмотр исходного кода

mediatek: filogic: add 6G precal to Acer Vero W6m

Bootlog has the following line:
mt7915e 0000:01:00.0: missing precal data, size=403472

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

Fix this by adding it to the dts.

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 6 дней назад
Родитель
Сommit
c62bab29d5
1 измененных файлов с 6 добавлено и 2 удалено
  1. 6 2
      target/linux/mediatek/dts/mt7986a-acer-vero-w6m.dts

+ 6 - 2
target/linux/mediatek/dts/mt7986a-acer-vero-w6m.dts

@@ -51,13 +51,17 @@
 	eeprom_factory_a0000: eeprom@a0000 {
 		reg = <0xa0000 0x1000>;
 	};
+
+	precal_factory_a1010: precal@a1010 {
+		reg = <0xa1010 0x62810>;
+	};
 };
 
 &slot0 {
 	radio0: mt7915@0,0 {
 		reg = <0x0000 0 0 0 0>;
-		nvmem-cells = <&eeprom_factory_a0000>;
-		nvmem-cell-names = "eeprom";
+		nvmem-cells = <&eeprom_factory_a0000>, <&precal_factory_a1010>;
+		nvmem-cell-names = "eeprom", "precal";
 	};
 };