[openwrt/openwrt] mediatek: fix gmac definition for cudy m3000

LEDE Commits lede-commits at lists.infradead.org
Sun Jan 18 02:37:55 PST 2026


robimarko pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/82f4ee5656d0126de24cf1cc2197c4194a31d6e9

commit 82f4ee5656d0126de24cf1cc2197c4194a31d6e9
Author: Maximilian Baumgartner <aufhaxer at googlemail.com>
AuthorDate: Thu Jan 15 23:46:46 2026 +0100

    mediatek: fix gmac definition for cudy m3000
    
    The gmac definition has an offset of 1 compared to the label MAC.
    Fixes: a55ab9e1343e85021253e9c55f67adf33ad68f09 ("mediatek: filogic: prevent faulty mac address assignment")
    
    Signed-off-by: Maximilian Baumgartner <aufhaxer at googlemail.com>
    Link: https://github.com/openwrt/openwrt/pull/21560
    Signed-off-by: Robert Marko <robimarko at gmail.com>
    (cherry picked from commit 687a2535d55f84a0daa2038b7e8736313cb2804e)
---
 target/linux/mediatek/dts/mt7981b-cudy-m3000-v1.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/mediatek/dts/mt7981b-cudy-m3000-v1.dts b/target/linux/mediatek/dts/mt7981b-cudy-m3000-v1.dts
index cfe9d45630..3928740b9b 100644
--- a/target/linux/mediatek/dts/mt7981b-cudy-m3000-v1.dts
+++ b/target/linux/mediatek/dts/mt7981b-cudy-m3000-v1.dts
@@ -86,7 +86,7 @@
 		phy-handle = <&rtl8221b_phy>;
 
 		nvmem-cell-names = "mac-address";
-		nvmem-cells = <&macaddr_bdinfo_de00 1>;
+		nvmem-cells = <&macaddr_bdinfo_de00 0>;
 	};
 
 	gmac1: mac at 1 {
@@ -96,7 +96,7 @@
 		phy-handle = <&int_gbe_phy>;
 
 		nvmem-cell-names = "mac-address";
-		nvmem-cells = <&macaddr_bdinfo_de00 0>;
+		nvmem-cells = <&macaddr_bdinfo_de00 1>;
 	};
 };
 




More information about the lede-commits mailing list