]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: dts: freescale: tx8p-ml81: fix eqos nvmem-cells
authorMaud Spierings <maudspierings@gocontroll.com>
Mon, 1 Dec 2025 11:56:52 +0000 (12:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2026 15:35:20 +0000 (16:35 +0100)
commit5b5ef7049ebed65de138ce0106fcfd4ea8f31c3a
tree3aad8ea3c36f0e7d0089fc18a21b9f646a4a6240
parentf267ced2bcb0c9d5f489a75328eb64f8f0af8c40
arm64: dts: freescale: tx8p-ml81: fix eqos nvmem-cells

[ Upstream commit cdf4e631eec5ddd49bb625df9fb144d6ecdd6f15 ]

On this SoM eqos is the primary ethernet interface, Ka-Ro fuses the
address for it in eth_mac1, eth_mac2 seems to be left unfused. In their
downstream u-boot they fetch it from eth_mac1 [1][2], by setting alias
of eqos to ethernet0, the driver then fetches the mac address based on
the alias number.

Set eqos to read from eth_mac1 instead of eth_mac2. Also set fec to
point at eth_mac2 as it may be fused later even though it is disabled
by default.

With this changed barebox is now capable of loading the correct address.

Link: https://github.com/karo-electronics/karo-tx-uboot/blob/380543278410bbf04264d80a3bfbe340b8e62439/drivers/net/dwc_eth_qos.c#L1167
Link: https://github.com/karo-electronics/karo-tx-uboot/blob/380543278410bbf04264d80a3bfbe340b8e62439/arch/arm/dts/imx8mp-karo.dtsi#L12
Fixes: bac63d7c5f46 ("arm64: dts: freescale: add Ka-Ro Electronics tx8p-ml81 COM")
Signed-off-by: Maud Spierings <maudspierings@gocontroll.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81.dtsi