]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
arm64: dts: rockchip: Assign a fixed index to mmc devices on rk3399 boards.
authorMarkus Reichl <m.reichl@fivetechno.de>
Wed, 4 Nov 2020 16:23:55 +0000 (17:23 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 20 Jan 2021 13:25:07 +0000 (14:25 +0100)
BugLink: https://bugs.launchpad.net/bugs/1910816
[ Upstream commit 0011c6d182774fc781fb9e115ebe8baa356029ae ]

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/

Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20201104162356.1251-1-m.reichl@fivetechno.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
arch/arm64/boot/dts/rockchip/rk3399.dtsi

index c5d8d1c5829138161ad18cac93c38b66b8459d0e..bb7d0aac6b9dbc617f91c5738778aec6e284c02a 100644 (file)
@@ -29,6 +29,9 @@
                i2c6 = &i2c6;
                i2c7 = &i2c7;
                i2c8 = &i2c8;
+               mmc0 = &sdio0;
+               mmc1 = &sdmmc;
+               mmc2 = &sdhci;
                serial0 = &uart0;
                serial1 = &uart1;
                serial2 = &uart2;