arm64: dts: amlogic: Assign a fixed index to mmc devices
authorAlexander Stein <alexander.stein@mailbox.org>
Wed, 3 Feb 2021 19:28:24 +0000 (20:28 +0100)
committerKevin Hilman <khilman@baylibre.com>
Wed, 31 Mar 2021 21:40:38 +0000 (14:40 -0700)
commitab547c4fb39fe145b39e3013633258a5ff475d88
tree57b2be8910162f419815a4c98af57a910c9aa67f
parent0e9fed92c67cb886b3308df4890126d75db2ad67
arm64: dts: amlogic: Assign a fixed index to mmc devices

Recently introduced async probe on mmc devices can shuffle block IDs.
Pin them to fixed values to ease booting in environments where UUIDs
are not practical. Use newly introduced aliases for mmcblk devices from [1].
[1]
https://patchwork.kernel.org/patch/11747669/

Commit message taken from commit 0011c6d18277 ("arm64: dts: rockchip: Assign a fixed index to mmc devices on rk3399 boards.")

The unconventional order (B, C, A) is due to the fact that sd_emmc_a is
(according to the comments) only used for SDIO.

AFAICS all boards either have both sd_emmc_b and sd_emmc_c or only one of
them enabled. So the alias order should match the previous non-async order
for all of them.

Signed-off-by: Alexander Stein <alexander.stein@mailbox.org>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20210203192824.854491-1-alexander.stein@mailbox.org
arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
arch/arm64/boot/dts/amlogic/meson-gx.dtsi