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@googlemail.com>
Link: https://github.com/openwrt/openwrt/pull/21560
Signed-off-by: Robert Marko <robimarko@gmail.com>
phy-handle = <&rtl8221b_phy>;
nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_bdinfo_de00 1>;
+ nvmem-cells = <&macaddr_bdinfo_de00 0>;
};
gmac1: mac@1 {
phy-handle = <&int_gbe_phy>;
nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_bdinfo_de00 0>;
+ nvmem-cells = <&macaddr_bdinfo_de00 1>;
};
};