mediatek: fix gmac definition for cudy m3000
The gmac definition has an offset of 1 compared to the label MAC. Fixes:a55ab9e134("mediatek: filogic: prevent faulty mac address assignment") Signed-off-by: Maximilian Baumgartner <aufhaxer@googlemail.com> Link: https://github.com/openwrt/openwrt/pull/21560 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit687a2535d5)
This commit is contained in:
parent
528bee9e39
commit
b590b79a77
@ -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@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>;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user