|
@@ -243,7 +243,9 @@
|
|
#size-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
|
|
macaddr_mac_0: macaddr@0 {
|
|
macaddr_mac_0: macaddr@0 {
|
|
|
|
+ compatible = "mac-base";
|
|
reg = <0x0 0x6>;
|
|
reg = <0x0 0x6>;
|
|
|
|
+ #nvmem-cell-cells = <1>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
@@ -316,7 +318,7 @@
|
|
&gmac {
|
|
&gmac {
|
|
status = "okay";
|
|
status = "okay";
|
|
nvmem-cell-names = "mac-address";
|
|
nvmem-cell-names = "mac-address";
|
|
- nvmem-cells = <&macaddr_mac_0>;
|
|
|
|
|
|
+ nvmem-cells = <&macaddr_mac_0 0>;
|
|
};
|
|
};
|
|
|
|
|
|
&switch {
|
|
&switch {
|
|
@@ -329,8 +331,7 @@
|
|
label = "wan";
|
|
label = "wan";
|
|
|
|
|
|
nvmem-cell-names = "mac-address";
|
|
nvmem-cell-names = "mac-address";
|
|
- nvmem-cells = <&macaddr_mac_0>;
|
|
|
|
- mac-address-increment = <1>;
|
|
|
|
|
|
+ nvmem-cells = <&macaddr_mac_0 1>;
|
|
};
|
|
};
|
|
|
|
|
|
&swport5 {
|
|
&swport5 {
|
|
@@ -407,8 +408,7 @@
|
|
&wifi0 {
|
|
&wifi0 {
|
|
status = "okay";
|
|
status = "okay";
|
|
nvmem-cell-names = "pre-calibration", "mac-address";
|
|
nvmem-cell-names = "pre-calibration", "mac-address";
|
|
- nvmem-cells = <&precal_art_1000>, <&macaddr_mac_0>;
|
|
|
|
- mac-address-increment = <2>;
|
|
|
|
|
|
+ nvmem-cells = <&precal_art_1000>, <&macaddr_mac_0 2>;
|
|
qcom,ath10k-calibration-variant = "zte,mf289f";
|
|
qcom,ath10k-calibration-variant = "zte,mf289f";
|
|
};
|
|
};
|
|
|
|
|
|
@@ -416,8 +416,7 @@
|
|
&wifi1 {
|
|
&wifi1 {
|
|
status = "okay";
|
|
status = "okay";
|
|
nvmem-cell-names = "pre-calibration", "mac-address";
|
|
nvmem-cell-names = "pre-calibration", "mac-address";
|
|
- nvmem-cells = <&precal_art_5000>, <&macaddr_mac_0>;
|
|
|
|
- mac-address-increment = <3>;
|
|
|
|
|
|
+ nvmem-cells = <&precal_art_5000>, <&macaddr_mac_0 3>;
|
|
qcom,ath10k-calibration-variant = "zte,mf289f";
|
|
qcom,ath10k-calibration-variant = "zte,mf289f";
|
|
};
|
|
};
|
|
|
|
|
|
@@ -436,8 +435,7 @@
|
|
|
|
|
|
wifi2: wifi@1,0 {
|
|
wifi2: wifi@1,0 {
|
|
nvmem-cell-names = "mac-address";
|
|
nvmem-cell-names = "mac-address";
|
|
- nvmem-cells = <&macaddr_mac_0>;
|
|
|
|
- mac-address-increment = <4>;
|
|
|
|
|
|
+ nvmem-cells = <&macaddr_mac_0 4>;
|
|
compatible = "qcom,ath10k";
|
|
compatible = "qcom,ath10k";
|
|
reg = <0x00010000 0 0 0 0>;
|
|
reg = <0x00010000 0 0 0 0>;
|
|
qcom,ath10k-calibration-variant = "zte,mf289f";
|
|
qcom,ath10k-calibration-variant = "zte,mf289f";
|