wifi@0,0 {
compatible = "qcom,ath10k";
reg = <0 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 1>;
+ nvmem-cell-names = "calibration", "mac-address";
};
};
reg = <0x0 0x6>;
#nvmem-cell-cells = <1>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 2>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
};
&usb0 {
reg = <0x0 0x6>;
#nvmem-cell-cells = <1>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
label = "art";
reg = <0x7f0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
};
};
wifi@0,0 {
compatible = "pci168c,003c";
reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_romfile_f100 2>;
+ nvmem-cell-names = "calibration", "mac-address";
};
};
label = "art";
reg = <0x7f0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
};
};
wifi@0,0 {
compatible = "pci168c,0050";
reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_info_8 (-1)>;
+ nvmem-cell-names = "calibration", "mac-address";
};
};
reg = <0x0 0x6>;
#nvmem-cell-cells = <1>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
};
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 2>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
};
reg = <0x0 0x6>;
#nvmem-cell-cells = <1>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
};
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 2>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
};
reg = <0x0 0x6>;
#nvmem-cell-cells = <1>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
};
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 2>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
};
label = "art";
reg = <0xff0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ compatible = "mac-base";
+ reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
+ };
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
};
&pcie0 {
status = "okay";
-};
-
-&art {
- nvmem-layout {
- compatible = "fixed-layout";
- #address-cells = <1>;
- #size-cells = <1>;
- macaddr_art_0: macaddr@0 {
- compatible = "mac-base";
- reg = <0x0 0x6>;
- #nvmem-cell-cells = <1>;
- };
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 2>;
+ nvmem-cell-names = "calibration", "mac-address";
};
};
reg = <0x0 0x6>;
#nvmem-cell-cells = <1>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 2>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
};
&wdt {
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 (-1)>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
};
&spi {
reg = <0x0 0x6>;
#nvmem-cell-cells = <1>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
wifi@0,0 {
compatible = "qcom,ath10k";
reg = <0 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_art_12>;
+ nvmem-cell-names = "calibration", "mac-address";
};
};
macaddr_art_c: macaddr@c {
reg = <0xc 0x6>;
};
+
+ macaddr_art_12: macaddr@12 {
+ reg = <0x12 0x6>;
+ };
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
};
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_art_c>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
};
&spi {
macaddr_art_6: macaddr@6 {
reg = <0x6 0x6>;
};
+
+ macaddr_art_c: macaddr@c {
+ reg = <0xc 0x6>;
+ };
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
};
&pcie1 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_art_c>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
};
&spi {
reg = <0x6 0x6>;
};
+ macaddr_art_c: macaddr@c {
+ reg = <0xc 0x6>;
+ };
+
macaddr_art_12: macaddr@12 {
reg = <0x12 0x6>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
};
macaddr_art_6: macaddr@6 {
reg = <0x6 0x6>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
};
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 16>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
};
reg = <0x0 0x6>;
#nvmem-cell-cells = <1>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
};
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 16>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
};
};
&pcie0 {
+ /delete-node/ wifi@0,0;
+
wifi@0,0 {
compatible = "pci168c,0033";
reg = <0x0000 0 0 0 0>;
};
&pcie0 {
+ /delete-node/ wifi@0,0;
+
wifi@0,0 {
compatible = "pci168c,0033";
reg = <0x0000 0 0 0 0>;
macaddr_art_6: macaddr@6 {
reg = <0x6 0x6>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
};
&pcie1 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 16>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
};
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 16>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
};
&spi {
macaddr_art_6: macaddr@6 {
reg = <0x6 0x6>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
};
label = "art";
reg = <0xff0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
};
nvmem-cell-names = "mac-address";
};
+&pcie1 {
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_uboot_1fc00 (-1)>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
+};
+
&wmac {
mtd-cal-data = <&art 0x1000>;
};
};
+&pcie1 {
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_romfs_f100 2>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
+};
+
&spi {
status = "okay";
label = "art";
reg = <0xff0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
};
};
};
};
+&pcie1 {
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_romfs_f100 2>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
+};
+
&spi {
status = "okay";
label = "art";
reg = <0xff0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
};
};
phy-handle = <&phy4>;
pll-data = <0x9e000000 0x80000101 0x80001313>;
- nvmem-cells = <&macaddr_info_8>;
+ nvmem-cells = <&macaddr_info_8 0>;
nvmem-cell-names = "mac-address";
gmac-config {
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_info_8 2>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
};
&spi {
#size-cells = <1>;
macaddr_info_8: macaddr@8 {
+ compatible = "mac-base";
reg = <0x8 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
label = "art";
reg = <0xff0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
};
};
status = "okay";
mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_info_8>;
+ nvmem-cells = <&macaddr_info_8 0>;
nvmem-cell-names = "mac-address";
};
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_info_8 (-2)>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
};
&spi {
label = "art";
reg = <0x7f0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
};
};
label = "art";
reg = <0x7f0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
};
nvmem-cell-names = "mac-address";
};
+&pcie1 {
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_uboot_1fc00 (-1)>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
+};
+
&wmac {
mtd-cal-data = <&art 0x1000>;
reg = <0x0 0x6>;
#nvmem-cell-cells = <1>;
};
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
};
&pcie0 {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 2>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
};
label = "art";
reg = <0x7f0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
};
};
&pcie {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_info_8 (-1)>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
};
ð0 {
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
+ };
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
};
};
};
status = "okay";
phy-handle = <&phy0>;
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 0>;
nvmem-cell-names = "mac-address";
};
&pcie {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 1>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
};
&usb0 {
#size-cells = <1>;
macaddr_info_8: macaddr@8 {
+ compatible = "mac-base";
reg = <0x8 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
label = "art";
reg = <0xff0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
};
ð0 {
- nvmem-cells = <&macaddr_info_8>;
+ nvmem-cells = <&macaddr_info_8 0>;
nvmem-cell-names = "mac-address";
};
+&pcie {
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_info_8 (-1)>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
+};
+
&wmac {
mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_info_8>;
+ nvmem-cells = <&macaddr_info_8 0>;
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_info_8: macaddr@8 {
+ compatible = "mac-base";
reg = <0x8 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
label = "art";
reg = <0x7f0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
};
};
&pcie {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_info_8 (-1)>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
};
ð0 {
status = "okay";
- nvmem-cells = <&macaddr_info_8>;
+ nvmem-cells = <&macaddr_info_8 0>;
nvmem-cell-names = "mac-address";
phy-mode = "sgmii";
phy-handle = <&phy0>;
status = "okay";
mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_info_8>;
+ nvmem-cells = <&macaddr_info_8 0>;
nvmem-cell-names = "mac-address";
};
&pcie {
status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_info_8 (-1)>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
};
&usb_phy0 {
#size-cells = <1>;
macaddr_info_8: macaddr@8 {
+ compatible = "mac-base";
reg = <0x8 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
label = "art";
reg = <0xff0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
};
};
pll-data = <0x03000101 0x00000101 0x00001919>;
phy-mode = "sgmii";
- nvmem-cells = <&macaddr_info_8>;
+ nvmem-cells = <&macaddr_info_8 0>;
nvmem-cell-names = "mac-address";
phy-handle = <&phy0>;
};
status = "okay";
mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_info_8>;
+ nvmem-cells = <&macaddr_info_8 0>;
nvmem-cell-names = "mac-address";
};
label = "art";
reg = <0x050000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
info: partition@60000 {
#size-cells = <1>;
macaddr_info_8: macaddr@8 {
+ compatible = "mac-base";
reg = <0x8 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
ð0 {
- nvmem-cells = <&macaddr_info_8>;
+ nvmem-cells = <&macaddr_info_8 0>;
nvmem-cell-names = "mac-address";
};
+&pcie {
+ status = "okay";
+
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_info_8 (-1)>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
+};
+
&wmac {
mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_info_8>;
+ nvmem-cells = <&macaddr_info_8 0>;
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_info_8: macaddr@8 {
+ compatible = "mac-base";
reg = <0x8 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
label = "art";
reg = <0x7f0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
};
ð0 {
- nvmem-cells = <&macaddr_info_8>;
+ nvmem-cells = <&macaddr_info_8 0>;
nvmem-cell-names = "mac-address";
};
+&pcie {
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_info_8 1>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
+};
+
&wmac {
mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_info_8>;
+ nvmem-cells = <&macaddr_info_8 0>;
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_info_8: macaddr@8 {
+ compatible = "mac-base";
reg = <0x8 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
label = "art";
reg = <0x7f0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
};
ð0 {
- nvmem-cells = <&macaddr_info_8>;
+ nvmem-cells = <&macaddr_info_8 0>;
nvmem-cell-names = "mac-address";
};
+&pcie {
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_info_8 1>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
+};
+
&wmac {
mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_info_8>;
+ nvmem-cells = <&macaddr_info_8 0>;
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_info_8: macaddr@8 {
+ compatible = "mac-base";
reg = <0x8 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
label = "art";
reg = <0x7f0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
};
ð0 {
- nvmem-cells = <&macaddr_info_8>;
+ nvmem-cells = <&macaddr_info_8 0>;
nvmem-cell-names = "mac-address";
};
+&pcie {
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_info_8 1>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
+};
+
&wmac {
mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_info_8>;
+ nvmem-cells = <&macaddr_info_8 0>;
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_uboot_fc00: macaddr@fc00 {
+ compatible = "mac-base";
reg = <0xfc00 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
label = "art";
reg = <0x7f0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
+ };
};
};
ð0 {
- nvmem-cells = <&macaddr_uboot_fc00>;
+ nvmem-cells = <&macaddr_uboot_fc00 0>;
nvmem-cell-names = "mac-address";
};
+&pcie {
+ wifi@0,0 {
+ compatible = "qcom,ath10k";
+ reg = <0x0000 0 0 0 0>;
+ nvmem-cells = <&cal_art_5000>, <&macaddr_uboot_fc00 1>;
+ nvmem-cell-names = "calibration", "mac-address";
+ };
+};
+
&wmac {
mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_uboot_fc00>;
+ nvmem-cells = <&macaddr_uboot_fc00 0>;
nvmem-cell-names = "mac-address";
};
case "$FIRMWARE" in
"ath10k/cal-pci-0000:00:00.0.bin")
case $board in
- allnet,all-wap02860ac|\
- araknis,an-500-ap-i-ac|\
- araknis,an-700-ap-i-ac|\
- comfast,cf-e380ac-v2|\
- engenius,enstationac-v1|\
- glinet,gl-x750|\
- watchguard,ap300)
- caldata_extract "art" 0x5000 0x844
- ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary art 0x0) 2)
- ;;
- devolo,dvl1200e|\
- devolo,dvl1200i|\
- devolo,dvl1750c|\
- devolo,dvl1750e|\
- devolo,dvl1750i|\
- devolo,dvl1750x)
- caldata_extract "art" 0x5000 0x844
- ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary art 0x0) -1)
- ;;
engenius,ecb1200|\
engenius,ecb1750)
caldata_extract "art" 0x5000 0x844
caldata_extract "art" 0x5000 0x844
ath10k_patch_mac $(mtd_get_mac_ascii cfg1 RADIOADDR0)
;;
- glinet,gl-ar750)
- caldata_extract "art" 0x5000 0x844
- ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary art 0x0) 1)
- ;;
iodata,wn-ac1167dgr|\
iodata,wn-ac1600dgr2|\
sitecom,wlr-7100|\
caldata_extract "art" 0x5000 0x844
ath10k_patch_mac $(mtd_get_mac_text board_data 0x880)
;;
- ocedo,koala|\
- ocedo,ursus)
- caldata_extract "art" 0x5000 0x844
- ath10k_patch_mac $(mtd_get_mac_binary art 0xc)
- ;;
- openmesh,a40|\
- openmesh,a60|\
- openmesh,mr1750-v1|\
- openmesh,mr1750-v2|\
- openmesh,om5p-ac-v2)
- caldata_extract "ART" 0x5000 0x844
- ath10k_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) 16)
- ;;
qihoo,c301)
caldata_extract "radiocfg" 0x5000 0x844
ath10k_patch_mac $(mtd_get_mac_ascii devdata wlan5mac)
;;
- tplink,archer-a7-v5|\
- tplink,archer-c2-v3|\
- tplink,archer-c7-v4|\
- tplink,archer-c7-v5|\
- tplink,archer-c25-v1|\
- tplink,tl-wr902ac-v1)
- caldata_extract "art" 0x5000 0x844
- ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary info 0x8) -1)
- ;;
- tplink,archer-c5-v1|\
- tplink,tl-wdr7500-v3)
- caldata_extract "art" 0x5000 0x844
- ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary u-boot 0x1fc00) -1)
- ;;
- tplink,archer-d50-v1)
- caldata_extract "art" 0x5000 0x844
- ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary romfile 0xf100) 2)
- ;;
- tplink,archer-d7-v1|\
- tplink,archer-d7b-v1)
- caldata_extract "art" 0x5000 0x844
- ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary romfs 0xf100) 2)
- ;;
- tplink,re350k-v1)
- caldata_extract "art" 0x5000 0x844
- ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary info 0x8) 2)
- ;;
- tplink,re355-v1|\
- tplink,re450-v1)
- caldata_extract "art" 0x5000 0x844
- ath10k_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -2)
- ;;
- tplink,re450-v2|\
- tplink,re450-v3|\
- tplink,re455-v1)
- caldata_extract "art" 0x5000 0x844
- ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary info 0x8) 1)
- ;;
- tplink,tl-wpa8630-v1)
- caldata_extract "art" 0x5000 0x844
- ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary u-boot 0x0fc00) 1)
- ;;
esac
;;
"ath10k/cal-pci-0000:01:00.0.bin")
case $board in
- openmesh,om5p-ac-v1)
- caldata_extract "ART" 0x5000 0x844
- ath10k_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
- ;;
sitecom,wlr-8100)
caldata_extract "art" 0x5000 0x844
ath10k_patch_mac $(macaddr_add $(mtd_get_mac_ascii u-boot-env ethaddr) 1)
case "$FIRMWARE" in
"ath10k/cal-pci-0000:00:00.0.bin")
case $board in
- domywifi,dw33d)
- caldata_extract "art" 0x5000 0x844
- ath10k_patch_mac $(mtd_get_mac_binary art 0x12)
- ;;
- glinet,gl-ar750s-nor|\
- glinet,gl-ar750s-nor-nand)
- caldata_extract "art" 0x5000 0x844
- ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary art 0x0) 1)
- ;;
zyxel,emg2926-q10a|\
zyxel,nbg6716)
caldata_extract "art" 0x5000 0x844