[PATCH 2/2] imx6qdl.dtsi: use MAC-address from nvmem

Andrew Lunn andrew at lunn.ch
Sat Dec 31 09:08:41 PST 2022


> > @@ -1053,6 +1053,8 @@ fec: ethernet at 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



More information about the linux-arm-kernel mailing list