ath79: fix mac address on eap2x5-1port devices

Commit e816591e22 ("ath79: qca: convert to nvmem-layout") mistakenly
switched the source of the mac address from the 'info' to 'art'
partition.

This patch updates all devices that share same 'parent' device tree file
and was tested to fix the problem for eap225-outdoor-v3 - device that I
actually own.

Fixes: e816591e22 ("ath79: qca: convert to nvmem-layout")
Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
[amend commit message]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
This commit is contained in:
Nikolay Martynov 2024-01-21 16:51:16 -05:00 committed by Sander Vanheule
parent 039f8a1241
commit c527073b38
7 changed files with 12 additions and 36 deletions

View File

@ -35,12 +35,6 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
macaddr_info_8: macaddr@8 {
compatible = "mac-base";
reg = <0x8 0x6>;
#nvmem-cell-cells = <1>;
};
precalibration_ath10k: pre-calibration@5000 { precalibration_ath10k: pre-calibration@5000 {
reg = <0x5000 0x2f20>; reg = <0x5000 0x2f20>;
}; };

View File

@ -35,12 +35,6 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
macaddr_info_8: macaddr@8 {
compatible = "mac-base";
reg = <0x8 0x6>;
#nvmem-cell-cells = <1>;
};
precalibration_ath10k: pre-calibration@5000 { precalibration_ath10k: pre-calibration@5000 {
reg = <0x5000 0x2f20>; reg = <0x5000 0x2f20>;
}; };

View File

@ -56,12 +56,6 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
macaddr_info_8: macaddr@8 {
compatible = "mac-base";
reg = <0x8 0x6>;
#nvmem-cell-cells = <1>;
};
calibration_ath10k: calibration@5000 { calibration_ath10k: calibration@5000 {
reg = <0x5000 0x844>; reg = <0x5000 0x844>;
}; };

View File

@ -35,12 +35,6 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
macaddr_info_8: macaddr@8 {
compatible = "mac-base";
reg = <0x8 0x6>;
#nvmem-cell-cells = <1>;
};
precalibration_ath10k: pre-calibration@5000 { precalibration_ath10k: pre-calibration@5000 {
reg = <0x5000 0x2f20>; reg = <0x5000 0x2f20>;
}; };

View File

@ -35,12 +35,6 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
macaddr_info_8: macaddr@8 {
compatible = "mac-base";
reg = <0x8 0x6>;
#nvmem-cell-cells = <1>;
};
precalibration_ath10k: pre-calibration@5000 { precalibration_ath10k: pre-calibration@5000 {
reg = <0x5000 0x2f20>; reg = <0x5000 0x2f20>;
}; };

View File

@ -49,12 +49,6 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
macaddr_info_8: macaddr@8 {
compatible = "mac-base";
reg = <0x8 0x6>;
#nvmem-cell-cells = <1>;
};
calibration_ath10k: calibration@5000 { calibration_ath10k: calibration@5000 {
reg = <0x5000 0x844>; reg = <0x5000 0x844>;
}; };

View File

@ -55,6 +55,18 @@
label = "info"; label = "info";
reg = <0x030000 0x010000>; reg = <0x030000 0x010000>;
read-only; read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_info_8: macaddr@8 {
compatible = "mac-base";
reg = <0x8 0x6>;
#nvmem-cell-cells = <1>;
};
};
}; };
partition@40000 { partition@40000 {