pmaports/device/testing/linux-postmarketos-exynos5/0017-ARM-dts-exynos-snow-add-mmc-aliases.patch

31 lines
876 B
Diff

From 372e3d504849abb51c626ae6d3a6cf64015cf4ee Mon Sep 17 00:00:00 2001
From: Anton Bambura <jenneron@protonmail.com>
Date: Fri, 31 Dec 2021 09:43:18 +0200
Subject: [PATCH 1/5] ARM: dts: exynos: snow: add mmc aliases
Add aliases for eMMC, SD card and WiFi, so nubmers will not be
changed anymore.
Signed-off-by: Anton Bambura <jenneron@protonmail.com>
---
arch/arm/boot/dts/exynos5250-snow-common.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5250-snow-common.dtsi b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
index 2335c4687..7a0896ff0 100644
--- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi
+++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
@@ -15,6 +15,10 @@
/ {
aliases {
i2c104 = &i2c_104;
+
+ mmc0 = &mmc_0; /* eMMC */
+ mmc1 = &mmc_2; /* SD */
+ mmc2 = &mmc_3; /* WiFi */
};
memory@40000000 {
--
2.34.1