powerpc: dts: t1040rdb: fix ports names for Seville Ethernet switch
authorMaxim Kiselev <bigunclemax@gmail.com>
Fri, 21 Jan 2022 09:14:47 +0000 (12:14 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:40:14 +0000 (14:40 +0200)
commit8b64c158a07bd64054b53a95db5f3103a9809675
tree334d8d9d90e51a3dc1bd6e755072b718160e7956
parentbe703360ed355bdac1f3b472ebeb9c1a33e49b96
powerpc: dts: t1040rdb: fix ports names for Seville Ethernet switch

[ Upstream commit 5ebb74749202a25da4b3cc2eb15470225a05527c ]

On board rev A, the network interface labels for the switch ports
written on the front panel are different than on rev B and later.

This patch fixes network interface names for the switch ports according
to labels that are written on the front panel of the board rev B.
They start from ETH3 and end at ETH10.

This patch also introduces a separate device tree for rev A.
The main device tree is supposed to cover rev B and later.

Fixes: e69eb0824d8c ("powerpc: dts: t1040rdb: add ports for Seville Ethernet switch")
Signed-off-by: Maxim Kiselev <bigunclemax@gmail.com>
Reviewed-by: Maxim Kochetkov <fido_max@inbox.ru>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220121091447.3412907-1-bigunclemax@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/powerpc/boot/dts/fsl/t1040rdb-rev-a.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/t1040rdb.dts