arm64: dts: armada-3720-turris-mox: fixed indices for the SDHC controllers
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 22 Jul 2021 10:11:34 +0000 (13:11 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Aug 2021 11:22:02 +0000 (13:22 +0200)
commit8d13f6a0a6569d75ded68382d98752131a9657b0
treea985cf964ce32eeb8c225db9d33c5bbd871989ad
parentf239369f37d98ef8135ae0484298519f6ec4bf38
arm64: dts: armada-3720-turris-mox: fixed indices for the SDHC controllers

[ Upstream commit 923f98929182dfd04e9149be839160b63a3db145 ]

Since drivers/mmc/host/sdhci-xenon.c declares the PROBE_PREFER_ASYNCHRONOUS
probe type, it is not guaranteed whether /dev/mmcblk0 will belong to
sdhci0 or sdhci1. In turn, this will break booting by:

root=/dev/mmcblk0p1

Fix the issue by adding aliases so that the old MMC controller indices
are preserved.

Fixes: 7320915c8861 ("mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.14")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts