#size-cells = <1>;
macaddr_gmac0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
macaddr_gmac1: macaddr@6 {
label = "lan2";
nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_gmac0>;
- mac-address-increment = <2>;
+ nvmem-cells = <&macaddr_gmac0 2>;
};
&swport4 {
label = "lan1";
nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_gmac0>;
+ nvmem-cells = <&macaddr_gmac0 0>;
};
&swport5 {
#size-cells = <1>;
macaddr_mac_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
&gmac {
status = "okay";
nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_mac_0>;
- mac-address-increment = <2>;
+ nvmem-cells = <&macaddr_mac_0 2>;
};
&switch {
&wifi0 {
status = "okay";
nvmem-cell-names = "pre-calibration", "mac-address";
- nvmem-cells = <&precal_art_1000>, <&macaddr_mac_0>;
+ nvmem-cells = <&precal_art_1000>, <&macaddr_mac_0 0>;
};
&wifi1 {
status = "okay";
nvmem-cell-names = "pre-calibration", "mac-address";
- nvmem-cells = <&precal_art_5000>, <&macaddr_mac_0>;
- mac-address-increment = <1>;
+ nvmem-cells = <&precal_art_5000>, <&macaddr_mac_0 1>;
};
#size-cells = <1>;
macaddr_mac_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
#size-cells = <1>;
macaddr_mac_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
#size-cells = <1>;
macaddr_manudata_6: macaddr@6 {
+ compatible = "mac-base";
reg = <0x6 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
&wifi0 {
status = "okay";
nvmem-cell-names = "pre-calibration", "mac-address";
- nvmem-cells = <&precal_art_1000>, <&macaddr_manudata_6>;
+ nvmem-cells = <&precal_art_1000>, <&macaddr_manudata_6 0>;
qcom,ath10k-calibration-variant = "Netgear-WAC510";
};
&wifi1 {
status = "okay";
nvmem-cell-names = "pre-calibration", "mac-address";
- nvmem-cells = <&precal_art_5000>, <&macaddr_manudata_6>;
- mac-address-increment = <16>;
+ nvmem-cells = <&precal_art_5000>, <&macaddr_manudata_6 16>;
qcom,ath10k-calibration-variant = "Netgear-WAC510";
};
&gmac {
status = "okay";
nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_config_0>;
+ nvmem-cells = <&macaddr_config_0 0>;
};
&switch {
label = "wan";
nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_config_0>;
- mac-address-increment = <1>;
+ nvmem-cells = <&macaddr_config_0 1>;
};
&swport3 {
#size-cells = <1>;
macaddr_config_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
&wifi0 {
status = "okay";
nvmem-cell-names = "pre-calibration", "mac-address";
- nvmem-cells = <&precal_art_1000>, <&macaddr_config_0>;
- mac-address-increment = <2>;
+ nvmem-cells = <&precal_art_1000>, <&macaddr_config_0 2>;
qcom,ath10k-calibration-variant = "ZTE-MF18A";
};
wifi2: wifi@1,0 {
compatible = "pci168c,0040";
nvmem-cell-names = "pre-calibration", "mac-address";
- nvmem-cells = <&precal_art_9000>, <&macaddr_config_0>;
- mac-address-increment = <3>;
+ nvmem-cells = <&precal_art_9000>, <&macaddr_config_0 3>;
qcom,ath10k-calibration-variant = "ZTE-MF18A";
reg = <0x00010000 0 0 0 0>;
};
&gmac {
status = "okay";
nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_config_0>;
+ nvmem-cells = <&macaddr_config_0 0>;
};
&nand {
#size-cells = <1>;
macaddr_config_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
&wifi0 {
status = "okay";
nvmem-cell-names = "pre-calibration", "mac-address";
- nvmem-cells = <&precal_art_1000>, <&macaddr_config_0>;
- mac-address-increment = <1>;
+ nvmem-cells = <&precal_art_1000>, <&macaddr_config_0 1>;
qcom,ath10k-calibration-variant = "zte,mf286d";
};
&wifi1 {
status = "okay";
nvmem-cell-names = "pre-calibration", "mac-address";
- nvmem-cells = <&precal_art_5000>, <&macaddr_config_0>;
- mac-address-increment = <1>;
+ nvmem-cells = <&precal_art_5000>, <&macaddr_config_0 1>;
qcom,ath10k-calibration-variant = "zte,mf286d";
};
&gmac {
status = "okay";
nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_config_0>;
+ nvmem-cells = <&macaddr_config_0 0>;
};
&nand {
#size-cells = <1>;
macaddr_config_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
status = "okay";
nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_config_0>;
- mac-address-increment = <1>;
+ nvmem-cells = <&macaddr_config_0 1>;
};
&tlmm {
&wifi0 {
status = "okay";
nvmem-cell-names = "pre-calibration", "mac-address";
- nvmem-cells = <&precal_art_1000>, <&macaddr_config_0>;
- mac-address-increment = <2>;
+ nvmem-cells = <&precal_art_1000>, <&macaddr_config_0 2>;
qcom,ath10k-calibration-variant = "zte,mf286d";
};
&wifi1 {
status = "okay";
nvmem-cell-names = "pre-calibration", "mac-address";
- nvmem-cells = <&precal_art_5000>, <&macaddr_config_0>;
- mac-address-increment = <3>;
+ nvmem-cells = <&precal_art_5000>, <&macaddr_config_0 3>;
qcom,ath10k-calibration-variant = "zte,mf286d";
};
#size-cells = <1>;
macaddr_mac_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
&gmac {
status = "okay";
nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_mac_0>;
+ nvmem-cells = <&macaddr_mac_0 0>;
};
&switch {
label = "wan";
nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_mac_0>;
- mac-address-increment = <1>;
+ nvmem-cells = <&macaddr_mac_0 1>;
};
&swport5 {
&wifi0 {
status = "okay";
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";
};
&wifi1 {
status = "okay";
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";
};
wifi2: wifi@1,0 {
nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_mac_0>;
- mac-address-increment = <4>;
+ nvmem-cells = <&macaddr_mac_0 4>;
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
qcom,ath10k-calibration-variant = "zte,mf289f";
#size-cells = <1>;
macaddr_gmac0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
macaddr_gmac1: macaddr@6 {
label = "wan";
nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_gmac0>;
+ nvmem-cells = <&macaddr_gmac0 0>;
};
&wifi0 {
qcom,ath10k-calibration-variant = "linksys-whw03v2";
nvmem-cell-names = "pre-calibration", "mac-address";
- nvmem-cells = <&precal_art_1000>, <&macaddr_gmac0>;
- mac-address-increment = <1>;
+ nvmem-cells = <&precal_art_1000>, <&macaddr_gmac0 1>;
};
&wifi1 {
qcom,ath10k-calibration-variant = "linksys-whw03v2";
nvmem-cell-names = "pre-calibration", "mac-address";
- nvmem-cells = <&precal_art_5000>, <&macaddr_gmac0>;
- mac-address-increment = <2>;
+ nvmem-cells = <&precal_art_5000>, <&macaddr_gmac0 2>;
};
&wifi2 {
qcom,ath10k-calibration-variant = "linksys-whw03v2";
nvmem-cell-names = "pre-calibration", "mac-address";
- nvmem-cells = <&precal_art_9000>, <&macaddr_gmac0>;
- mac-address-increment = <3>;
+ nvmem-cells = <&precal_art_9000>, <&macaddr_gmac0 3>;
};
#size-cells = <1>;
macaddr_mfginfo_1d: macaddr@1d {
+ compatible = "mac-base";
reg = <0x1d 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
macaddr_mfginfo_45: macaddr@45 {
+ compatible = "mac-base";
reg = <0x45 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
&wifi0 {
status = "okay";
nvmem-cell-names = "pre-calibration", "mac-address";
- nvmem-cells = <&precal_art_1000>, <&macaddr_mfginfo_45>;
+ nvmem-cells = <&precal_art_1000>, <&macaddr_mfginfo_45 0>;
qcom,ath10k-calibration-variant = "Aruba-AP-303";
};
&wifi1 {
status = "okay";
nvmem-cell-names = "pre-calibration", "mac-address";
- nvmem-cells = <&precal_art_5000>, <&macaddr_mfginfo_45>;
- mac-address-increment = <1>;
+ nvmem-cells = <&precal_art_5000>, <&macaddr_mfginfo_45 1>;
qcom,ath10k-calibration-variant = "Aruba-AP-303";
};
#size-cells = <1>;
macaddr_mfginfo_1d: macaddr@1d {
+ compatible = "mac-base";
reg = <0x1d 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
&wifi0 {
status = "okay";
nvmem-cell-names = "pre-calibration", "mac-address";
- nvmem-cells = <&precal_art_1000>, <&macaddr_mfginfo_1d>;
+ nvmem-cells = <&precal_art_1000>, <&macaddr_mfginfo_1d 0>;
qcom,ath10k-calibration-variant = "Aruba-AP-303";
};
&wifi1 {
status = "okay";
nvmem-cell-names = "pre-calibration", "mac-address";
- nvmem-cells = <&precal_art_5000>, <&macaddr_mfginfo_1d>;
- mac-address-increment = <1>;
+ nvmem-cells = <&precal_art_5000>, <&macaddr_mfginfo_1d 1>;
qcom,ath10k-calibration-variant = "Aruba-AP-303";
};
#size-cells = <1>;
macaddr_gmac0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
macaddr_gmac1: macaddr@6 {
label = "lan2";
nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_gmac0>;
- mac-address-increment = <2>;
+ nvmem-cells = <&macaddr_gmac0 2>;
};
&swport4 {
label = "lan1";
nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_gmac0>;
+ nvmem-cells = <&macaddr_gmac0 0>;
};
&swport5 {
#size-cells = <1>;
mac_address: mac-address@66 {
+ compatible = "mac-base";
reg = <0x66 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
compatible = "qcom,ath10k";
status = "okay";
reg = <0x00010000 0 0 0 0>;
- nvmem-cells = <&mac_address>;
+ nvmem-cells = <&mac_address 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
};
};
};
&wifi0 {
status = "okay";
qcom,ath10k-calibration-variant = "Meraki-MR33";
- nvmem-cells = <&mac_address>;
+ nvmem-cells = <&mac_address 2>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <2>;
};
&wifi1 {
status = "okay";
qcom,ath10k-calibration-variant = "Meraki-MR33";
- nvmem-cells = <&mac_address>;
+ nvmem-cells = <&mac_address 3>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <3>;
};
&gmac {
status = "okay";
- nvmem-cells = <&mac_address>;
+ nvmem-cells = <&mac_address 0>;
nvmem-cell-names = "mac-address";
};