meta-sunxi/recipes-kernel/linux/linux-mainline/0006-orangepi-pc-plus-Added-mmc-aliases-to-have-consisten.patch
Marek Belisko 201bd2c428 linux-mainline: Added consistent mmc device handling for orangepi-pc-plus
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2024-01-10 09:19:42 +01:00

31 lines
889 B
Diff

From 60ffeb194d08817efab0467e2b2d7eff502f3276 Mon Sep 17 00:00:00 2001
From: Marek Belisko <marek.belisko@open-nandra.com>
Date: Wed, 10 Jan 2024 08:37:32 +0100
Subject: [PATCH] orangepi-pc-plus: Added mmc aliases to have consistent
devices
It fix random issues with boot problem.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts
index babf4cf1b..8c9bd76f5 100644
--- a/arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts
+++ b/arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts
@@ -50,6 +50,9 @@ / {
aliases {
/* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */
ethernet1 = &rtl8189ftv;
+ mmc0 = &mmc0;
+ mmc1 = &mmc1;
+ mmc2 = &mmc2;
};
};
--
2.25.1