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:23:27 +0000 (14:23 +0200)
commit10686b028059f92ceec6c0820fbbb4a85acd3e05
tree74fc44a0412c03a31822db7e005914ad6a71c584
parent9acf7c2f314587be56dcda39823404971005f826
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