0001-ARM-dts-orange-pi-zero-plus2-use-fixed-mmc-indexes.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. From f780fee2dc7d4a7bcfb2297342f7bfec2c0d1c28 Mon Sep 17 00:00:00 2001
  2. From: Sergey Matyukevich <geomatsi@gmail.com>
  3. Date: Tue, 26 Jan 2021 23:19:13 +0300
  4. Subject: [PATCH 1/1] ARM: dts: orange-pi-zero-plus2: use fixed mmc indexes
  5. Driver sunxi-mmc has recently been switched to asynchronous probe.
  6. As a result, mmc indexes can be shuffled breaking existing setups
  7. where UUIDs are not used for boot devices. Pin mmc indexes to keep
  8. running the systems where fixed MMC or eMMC are specified,
  9. e.g. root=/dev/mmcblk0p2.
  10. Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
  11. ---
  12. .../arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts | 3 +++
  13. 1 file changed, 3 insertions(+)
  14. diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
  15. index de19e68eb84e..c4854d3ba524 100644
  16. --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
  17. +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
  18. @@ -13,6 +13,9 @@ / {
  19. aliases {
  20. serial0 = &uart0;
  21. + mmc0 = &mmc0;
  22. + mmc1 = &mmc1;
  23. + mmc2 = &mmc2;
  24. };
  25. chosen {
  26. --
  27. 2.30.0