1
1

fixed art->art_part

This commit is contained in:
mooleshacat 2026-06-14 17:51:14 -04:00
parent 23ac153d57
commit 7750904cb1
Signed by: mooleshacat
GPG Key ID: 6F42FE1A481818C2

View File

@ -29,8 +29,7 @@
compatible = "trendnet,tew-829dru", "qcom,ipq4019-dk04.1-c1", "qcom,ipq4019"; compatible = "trendnet,tew-829dru", "qcom,ipq4019-dk04.1-c1", "qcom,ipq4019";
chosen { chosen {
/* For Mainline/OpenWrt 21.02+ kernels: */ bootargs = "console=ttyMSM0,115200n8 rootfstype=squashfs,jffs2 iommu.passthrough=1 earlyprintk";
bootargs = "console=ttyHSL0,115200n8 rootfstype=squashfs,jffs2 iommu.passthrough=1";
}; };
aliases { aliases {
@ -317,32 +316,68 @@
/* QCA4019 2GHZ */
/*
// disabled for now, work on it later
&wifi0 { &wifi0 {
status = "okay"; status = "okay";
nvmem-cells = <&caldata_art_1000>;
nvmem-cell-names = "calibration";
qcom,ath10k-calibration-variant = "TEW-829DRU-2G"; qcom,ath10k-calibration-variant = "TEW-829DRU-2G";
nvmem-cells = <&caldata_art_1000>;
nvmem-cell-names = "pre-calibration";
}; };
/* QCA4019 5GHZ */
&wifi1 { &wifi1 {
status = "okay"; status = "okay";
nvmem-cells = <&caldata_art_5000>;
nvmem-cell-names = "calibration";
qcom,ath10k-calibration-variant = "TEW-829DRU-5G"; qcom,ath10k-calibration-variant = "TEW-829DRU-5G";
nvmem-cells = <&caldata_art_5000>;
nvmem-cell-names = "pre-calibration";
}; };
&art { /* QCA9984 5GHZ */
&pcie0 {
status = "okay";
pcie_bridge0: pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
wifi@0,0 {
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
nvmem-cells = <&caldata_art_9000>;
nvmem-cell-names = "pre-calibration";
};
};
};
/* ART data / caldata for wifi */
&art_part {
compatible = "nvmem-cells"; compatible = "nvmem-cells";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
macaddr_art_0: macaddr@0 { reg = <0x0 0x6>; };
caldata_art_1000: caldata@1000 { reg = <0x1000 0x2f20>; }; macaddr_art_0: macaddr@0 {
caldata_art_5000: caldata@5000 { reg = <0x5000 0x2f20>; }; reg = <0x0 0x6>;
};
/* QCA4019 2.4GHz - AHB radio wifi0 */
caldata_art_1000: caldata@1000 {
reg = <0x1000 0x2f20>;
};
/* QCA4019 5GHz - AHB radio wifi1 */
caldata_art_5000: caldata@5000 {
reg = <0x5000 0x2f20>;
};
/* QCA9984 5GHz - PCIe radio */
caldata_art_9000: caldata@9000 {
reg = <0x9000 0x2f20>;
};
}; };
*/