]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: rockchip: assign a fixed index to mmc devices on rk3328 boards
authorJohan Jonker <jbx6244@gmail.com>
Sat, 19 Dec 2020 21:05:00 +0000 (22:05 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 9 Jan 2021 13:46:04 +0000 (14:46 +0100)
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: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20201219210500.3855-1-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3328.dtsi

index db0d5c8e5f96ab1886fed1beb05c9e5fd297b7fa..56b5ee7e54c420c4e2a7d132a0fc3ea0273d1655 100644 (file)
@@ -27,6 +27,9 @@
                i2c1 = &i2c1;
                i2c2 = &i2c2;
                i2c3 = &i2c3;
+               mmc0 = &sdmmc;
+               mmc1 = &sdio;
+               mmc2 = &emmc;
                ethernet0 = &gmac2io;
                ethernet1 = &gmac2phy;
        };