ARM: dts: imx6qdl: use MAC-address from nvmem
authorNikolaus Voss <nikolaus.voss@haag-streit.com>
Wed, 2 Nov 2022 14:27:19 +0000 (15:27 +0100)
committerShawn Guo <shawnguo@kernel.org>
Sun, 1 Jan 2023 02:30:57 +0000 (10:30 +0800)
commit4ac665df17696ab8f2453dd1cedc195774277ed7
treedde6716175cce968c44147d3e9bf20f09eecebf2
parenta5c75aa3a1538fdb5a8c6e56db20da2d1ab69d62
ARM: dts: imx6qdl: use MAC-address from nvmem

IMX6QDL has fuse locations specified for storing the MAC for the
built-in ethernet (Table 5-8 in Reference Manual).
Define the fuse location in ocotp and refer to them in fec-ethernet.

If the cells are not flashed, the driver behavior is unchanged, i.e.
other MAC sources will be probed and a random MAC will be used as a
last resort.

Signed-off-by: Nikolaus Voss <nikolaus.voss@haag-streit.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl.dtsi