[openwrt/openwrt] ath79: fix MAC address for senao loader devices

LEDE Commits lede-commits at lists.infradead.org
Fri Jun 14 12:05:34 PDT 2024


nick pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/2db6459ed4e27939e1b72472eb22a9b979599d39

commit 2db6459ed4e27939e1b72472eb22a9b979599d39
Author: Shiji Yang <yangshiji66 at qq.com>
AuthorDate: Fri Jun 14 12:28:52 2024 +0000

    ath79: fix MAC address for senao loader devices
    
    The "mac-base" nvmem-cell-cells size is 1.
    
    Fixes: b2f1c6ed52af ("ath79: qca: remove mac-address-increment")
    Signed-off-by: Shiji Yang <yangshiji66 at qq.com>
---
 target/linux/ath79/dts/qca9558_allnet_all-wap02860ac.dts | 2 +-
 target/linux/ath79/dts/qca9558_watchguard_ap300.dts      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ath79/dts/qca9558_allnet_all-wap02860ac.dts b/target/linux/ath79/dts/qca9558_allnet_all-wap02860ac.dts
index 5aaaacef6c..bb0f89c393 100644
--- a/target/linux/ath79/dts/qca9558_allnet_all-wap02860ac.dts
+++ b/target/linux/ath79/dts/qca9558_allnet_all-wap02860ac.dts
@@ -62,7 +62,7 @@
 &eth0 {
 	status = "okay";
 
-	nvmem-cells = <&macaddr_art_0>;
+	nvmem-cells = <&macaddr_art_0 0>;
 	nvmem-cell-names = "mac-address";
 
 	phy-handle = <&phy5>;
diff --git a/target/linux/ath79/dts/qca9558_watchguard_ap300.dts b/target/linux/ath79/dts/qca9558_watchguard_ap300.dts
index 043f8dd262..4c6960ed1e 100644
--- a/target/linux/ath79/dts/qca9558_watchguard_ap300.dts
+++ b/target/linux/ath79/dts/qca9558_watchguard_ap300.dts
@@ -77,7 +77,7 @@
 &eth0 {
 	status = "okay";
 
-	nvmem-cells = <&macaddr_art_0>;
+	nvmem-cells = <&macaddr_art_0 0>;
 	nvmem-cell-names = "mac-address";
 
 	phy-handle = <&phy5>;




More information about the lede-commits mailing list