Skip to content

Commit 687a253

Browse files
mbaumgarobimarko
authored andcommitted
mediatek: fix gmac definition for cudy m3000
The gmac definition has an offset of 1 compared to the label MAC. Fixes: a55ab9e ("mediatek: filogic: prevent faulty mac address assignment") Signed-off-by: Maximilian Baumgartner <aufhaxer@googlemail.com> Link: openwrt#21560 Signed-off-by: Robert Marko <robimarko@gmail.com>
1 parent 294945b commit 687a253

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

target/linux/mediatek/dts/mt7981b-cudy-m3000-v1.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
phy-handle = <&rtl8221b_phy>;
8787

8888
nvmem-cell-names = "mac-address";
89-
nvmem-cells = <&macaddr_bdinfo_de00 1>;
89+
nvmem-cells = <&macaddr_bdinfo_de00 0>;
9090
};
9191

9292
gmac1: mac@1 {
@@ -96,7 +96,7 @@
9696
phy-handle = <&int_gbe_phy>;
9797

9898
nvmem-cell-names = "mac-address";
99-
nvmem-cells = <&macaddr_bdinfo_de00 0>;
99+
nvmem-cells = <&macaddr_bdinfo_de00 1>;
100100
};
101101
};
102102

0 commit comments

Comments
 (0)