mediatek: add missing wifi for hf-m7986r1

This commit is contained in:
coolsnowwolf 2024-07-28 23:19:16 +08:00
parent fd25a03bef
commit 166b4bd84e
2 changed files with 26 additions and 0 deletions

View File

@ -188,6 +188,23 @@
output-low; output-low;
}; };
}; };
wf_dbdc_pins: wf-dbdc-pins {
mux {
function = "wifi";
groups = "wf_dbdc";
};
conf {
pins = "WF0_HB1", "WF0_HB2", "WF0_HB3", "WF0_HB4",
"WF0_HB0", "WF0_HB0_B", "WF0_HB5", "WF0_HB6",
"WF0_HB7", "WF0_HB8", "WF0_HB9", "WF0_HB10",
"WF0_TOP_CLK", "WF0_TOP_DATA", "WF1_HB1",
"WF1_HB2", "WF1_HB3", "WF1_HB4", "WF1_HB0",
"WF1_HB5", "WF1_HB6", "WF1_HB7", "WF1_HB8",
"WF1_TOP_CLK", "WF1_TOP_DATA";
drive-strength = <4>;
};
};
}; };
&ssusb { &ssusb {
@ -252,3 +269,9 @@
&watchdog { &watchdog {
status = "okay"; status = "okay";
}; };
&wifi {
pinctrl-names = "dbdc";
pinctrl-0 = <&wf_dbdc_pins>;
status = "okay";
};

View File

@ -20,6 +20,9 @@ case "$FIRMWARE" in
CI_UBIPART="UBI_DEV" CI_UBIPART="UBI_DEV"
caldata_extract_ubi "Factory" 0x0 0x1000 caldata_extract_ubi "Factory" 0x0 0x1000
;; ;;
hf,m7986r1-emmc)
caldata_extract_mmc "factory" 0x0 0x1000
;;
esac esac
;; ;;
"mediatek/mt7986_eeprom_mt7976_dual.bin") "mediatek/mt7986_eeprom_mt7976_dual.bin")