[openwrt/openwrt] ipq40xx: remove default MAC assignments

LEDE Commits lede-commits at lists.infradead.org
Fri Dec 6 01:47:49 PST 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/9ab03a1e3e060ca44d6f953943603ed3014abd28

commit 9ab03a1e3e060ca44d6f953943603ed3014abd28
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Mon Nov 25 15:09:28 2024 -0800

    ipq40xx: remove default MAC assignments
    
    1006 and 5006 are defaults that get set based on the calibration data.
    There's no need to explicitly specify them.
    
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/17128
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 .../arch/arm/boot/dts/qcom/qcom-ipq40x9-dr40x9.dts       | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

diff --git a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq40x9-dr40x9.dts b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq40x9-dr40x9.dts
index 271a972092..a549f03407 100644
--- a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq40x9-dr40x9.dts
+++ b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq40x9-dr40x9.dts
@@ -254,17 +254,9 @@
 						reg = <0x1000 0x2f20>;
 					};
 
-					macaddr_art_1006: mac-address at 1006 {
-						reg = <0x1006 0x6>;
-					};
-
 					precal_art_5000: precal at 5000 {
 						reg = <0x5000 0x2f20>;
 					};
-
-					macaddr_art_5006: mac-address at 5006 {
-						reg = <0x5006 0x6>;
-					};
 				};
 			};
 
@@ -382,15 +374,15 @@
 
 &wifi0 {
 	status = "okay";
-	nvmem-cells = <&precal_art_1000>, <&macaddr_art_1006>;
-	nvmem-cell-names = "pre-calibration", "mac-address";
+	nvmem-cells = <&precal_art_1000>;
+	nvmem-cell-names = "pre-calibration";
 	qcom,ath10k-calibration-variant = "Wallys-DR40X9";
 };
 
 &wifi1 {
 	status = "okay";
-	nvmem-cell-names = "pre-calibration", "mac-address";
-	nvmem-cells = <&precal_art_5000>, <&macaddr_art_5006>;
+	nvmem-cell-names = "pre-calibration";
+	nvmem-cells = <&precal_art_5000>;
 	qcom,ath10k-calibration-variant = "Wallys-DR40X9";
 };
 




More information about the lede-commits mailing list