status = "okay";
mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&info 0x08>;
+ mtd-mac-address = <&info 0x8>;
};
ð0 {
reg = <0x020000 0x730000>;
};
- tplink: partition@750000 {
+ info: partition@750000 {
+ label = "info";
+ reg = <0x750000 0x010000>;
+ read-only;
+ };
+
+ partition@760000 {
label = "tplink";
- reg = <0x750000 0x0a0000>;
+ reg = <0x760000 0x090000>;
read-only;
};
phy-handle = <&swphy4>;
- mtd-mac-address = <&tplink 0x8>;
+ mtd-mac-address = <&info 0x8>;
mtd-mac-address-increment = <1>;
};
status = "okay";
mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&tplink 0x8>;
+ mtd-mac-address = <&info 0x8>;
};
&pcie0 {
compatible = "tplink,firmware";
};
- config: partition@3b0000 {
+ partition@3b0000 {
+ label = "partition-table";
+ reg = <0x3b0000 0x010000>;
+ read-only;
+ };
+
+ info: partition@3c0000 {
+ label = "info";
+ reg = <0x3c0000 0x010000>;
+ read-only;
+ };
+
+ partition@3d0000 {
label = "config";
- reg = <0x3b0000 0x040000>;
+ reg = <0x3d0000 0x020000>;
read-only;
};
phy-handle = <&swphy4>;
- mtd-mac-address = <&config 0x10008>;
+ mtd-mac-address = <&info 0x8>;
};
ð1 {
status = "okay";
mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&config 0x10008>;
+ mtd-mac-address = <&info 0x8>;
};
phy-handle = <&phy4>;
pll-data = <0x9e000000 0x80000101 0x80001313>;
- mtd-mac-address = <&config 0x10008>;
+ mtd-mac-address = <&info 0x8>;
gmac-config {
device = <&gmac>;
reg = <0x020000 0xd70000>;
};
- config: partition@d90000 {
+ partition@d90000 {
+ label = "partition-table";
+ reg = <0xd90000 0x010000>;
+ read-only;
+ };
+
+ info: partition@da0000 {
+ label = "info";
+ reg = <0xda0000 0x020000>;
+ read-only;
+ };
+
+ partition@dc0000 {
label = "config";
- reg = <0xd90000 0x260000>;
+ reg = <0xdc0000 0x230000>;
read-only;
};
status = "okay";
mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&config 0x10008>;
+ mtd-mac-address = <&info 0x8>;
};
read-only;
};
- mac: partition@10000 {
- label = "mac";
+ info: partition@10000 {
+ label = "info";
reg = <0x010000 0x010000>;
read-only;
};
read-only;
};
- mac: partition@10000 {
- label = "mac";
+ info: partition@10000 {
+ label = "info";
reg = <0x010000 0x010000>;
read-only;
};
read-only;
};
- mac: partition@30000 {
- label = "mac";
+ info: partition@30000 {
+ label = "info";
reg = <0x030000 0x010000>;
read-only;
};
phy-handle = <&swphy0>;
- mtd-mac-address = <&mac 0x8>;
+ mtd-mac-address = <&info 0x8>;
mtd-mac-address-increment = <1>;
gmac-config {
ð1 {
status = "okay";
- mtd-mac-address = <&mac 0x8>;
+ mtd-mac-address = <&info 0x8>;
};
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&mac 0x8>;
+ mtd-mac-address = <&info 0x8>;
};
read-only;
};
- mac: partition@10000 {
- label = "mac";
+ info: partition@10000 {
+ label = "info";
reg = <0x010000 0x010000>;
read-only;
};
read-only;
};
- mac: partition@1fb00 {
- label = "mac";
+ info: partition@1fb00 {
+ label = "info";
reg = <0x01fb00 0x000500>;
read-only;
};
read-only;
};
- mac: partition@1fb00 {
- label = "mac";
+ info: partition@1fb00 {
+ label = "info";
reg = <0x01fb00 0x000500>;
read-only;
};
phy-handle = <&swphy4>;
- mtd-mac-address = <&mac 0x8>;
+ mtd-mac-address = <&info 0x8>;
mtd-mac-address-increment = <1>;
};
ð1 {
status = "okay";
- mtd-mac-address = <&mac 0x8>;
+ mtd-mac-address = <&info 0x8>;
};
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&mac 0x8>;
+ mtd-mac-address = <&info 0x8>;
};
read-only;
};
- mac: partition@20000 {
- label = "mac";
+ info: partition@20000 {
+ label = "info";
reg = <0x020000 0x010000>;
read-only;
};
read-only;
};
- mac: partition@20000 {
- label = "mac";
+ info: partition@20000 {
+ label = "info";
reg = <0x020000 0x010000>;
read-only;
};
phy-mode = "sgmii";
phy-handle = <&phy0>;
- mtd-mac-address = <&mac 0x8>;
+ mtd-mac-address = <&info 0x8>;
};
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&mac 0x8>;
+ mtd-mac-address = <&info 0x8>;
};
};
&partitions {
- mac: partition@630000 {
- label = "mac";
+ info: partition@630000 {
+ label = "info";
reg = <0x630000 0x010000>;
read-only;
};
read-only;
};
- mac: partition@7e0000 {
- label = "mac";
+ info: partition@7e0000 {
+ label = "info";
reg = <0x7e0000 0x010000>;
read-only;
};
};
ð0 {
- mtd-mac-address = <&mac 0x8>;
+ mtd-mac-address = <&info 0x8>;
};
&wmac {
- mtd-mac-address = <&mac 0x8>;
+ mtd-mac-address = <&info 0x8>;
};
tplink,archer-c2-v3|\
tplink,archer-c7-v4|\
tplink,archer-c7-v5|\
- tplink,archer-c25-v1)
+ 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,re350k-v1)
caldata_extract "art" 0x5000 0x844
- ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary config 0x10008) +2)
+ 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 $(mtd_get_mac_binary u-boot 0x0fc00) +1)
;;
- tplink,tl-wr902ac-v1)
- caldata_extract "art" 0x5000 0x844
- ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary tplink 0x8) -1)
- ;;
esac
;;
"ath10k/cal-pci-0000:01:00.0.bin")
tplink,archer-c6-v2|\
tplink,archer-c6-v2-us)
caldata_extract "art" 0x5000 0x2f20
- ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary mac 0x8) -1)
+ ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary info 0x8) -1)
ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \
/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
;;
+ tplink,eap225-wall-v2|\
tplink,tl-wpa8630p-v2-eu|\
tplink,tl-wpa8630p-v2-int)
- caldata_extract "art" 0x5000 0x2f20
- ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary mac 0x8) +1)
- ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \
- /lib/firmware/ath10k/QCA9888/hw2.0/board.bin
- ;;
- tplink,eap225-wall-v2)
caldata_extract "art" 0x5000 0x2f20
ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary info 0x8) +1)
ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \