Re: [PATCH 2/2] imx6qdl.dtsi: use MAC-address from nvmem
From: Andrew Lunn
Date: Sat Dec 31 2022 - 12:09:07 EST
> > @@ -1053,6 +1053,8 @@ fec: ethernet@2188000 {
> > <&clks IMX6QDL_CLK_ENET_REF>;
> > clock-names = "ipg", "ahb", "ptp", "enet_out";
> > fsl,stop-mode = <&gpr 0x34 27>;
> > + nvmem-cells = <&fec_mac_addr>;
> > + nvmem-cell-names = "mac-address";
>
> May I ask where is the support of FEC driver for this?
The fec uses of_get_mac_address() which calls
of_get_mac_address_nvmem() as its last place to look for the MAC
address.
Andrew