Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
commit
f6d00e7c0d
@ -446,10 +446,12 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&wifi {
|
&wifi {
|
||||||
status = "okay";
|
nvmem-cells = <&eeprom_factory_0>;
|
||||||
|
nvmem-cell-names = "eeprom";
|
||||||
pinctrl-names = "default", "dbdc";
|
pinctrl-names = "default", "dbdc";
|
||||||
pinctrl-0 = <&wf_2g_5g_pins>;
|
pinctrl-0 = <&wf_2g_5g_pins>;
|
||||||
pinctrl-1 = <&wf_dbdc_pins>;
|
pinctrl-1 = <&wf_dbdc_pins>;
|
||||||
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&trng {
|
&trng {
|
||||||
@ -494,12 +496,52 @@
|
|||||||
non-removable;
|
non-removable;
|
||||||
no-sd;
|
no-sd;
|
||||||
no-sdio;
|
no-sdio;
|
||||||
|
|
||||||
|
card@0 {
|
||||||
|
compatible = "mmc-card";
|
||||||
|
reg = <0>;
|
||||||
|
|
||||||
|
block {
|
||||||
|
compatible = "block-device";
|
||||||
|
|
||||||
|
partitions {
|
||||||
|
block-partition-factory {
|
||||||
|
partname = "factory";
|
||||||
|
|
||||||
|
nvmem-layout {
|
||||||
|
compatible = "fixed-layout";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
|
||||||
|
eeprom_factory_0: eeprom@0 {
|
||||||
|
reg = <0x0 0x1000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
eeprom_factory_a0000: eeprom@a0000 {
|
||||||
|
reg = <0xa0000 0x1000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&pcie {
|
&pcie {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pcie_pins>;
|
pinctrl-0 = <&pcie_pins>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
slot0: pcie@0,0 {
|
||||||
|
reg = <0x0000 0 0 0 0>;
|
||||||
|
|
||||||
|
radio0: mt7915@0,0 {
|
||||||
|
reg = <0x0000 0 0 0 0>;
|
||||||
|
|
||||||
|
nvmem-cells = <&eeprom_factory_a0000>;
|
||||||
|
nvmem-cell-names = "eeprom";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&pcie_phy {
|
&pcie_phy {
|
||||||
|
@ -23,13 +23,6 @@ case "$FIRMWARE" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
"mediatek/mt7986_eeprom_mt7976.bin")
|
|
||||||
case "$board" in
|
|
||||||
acer,predator-w6)
|
|
||||||
caldata_extract_mmc "factory" 0x0 0x1000
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user