pmaports/device/testing/linux-postmarketos-exynos5/0012-ARM-dts-exynos-peach-pit-add-mmc-aliases.patch

32 lines
941 B
Diff
Raw Normal View History

From b9e5ebe2f564488ad89642d7b30b3553515ada3b Mon Sep 17 00:00:00 2001
From: Anton Bambura <jenneron@protonmail.com>
Date: Fri, 31 Dec 2021 11:28:32 +0200
Subject: [PATCH 12/33] ARM: dts: exynos: peach-pit: add mmc aliases
Add aliases for eMMC, SD card and WiFi, so numbers will not be
changed anymore.
Signed-off-by: Anton Bambura <jenneron@protonmail.com>
---
arch/arm/boot/dts/exynos5420-peach-pit.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts
index d6434ec86022..88b5ebf09d19 100644
--- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
+++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
@@ -31,6 +31,10 @@ / {
aliases {
/* Assign 20 so we don't get confused w/ builtin ones */
i2c20 = &i2c_tunnel;
+
+ mmc0 = &mmc_0; /* eMMC */
+ mmc1 = &mmc_2; /* uSD */
+ mmc2 = &mmc_1; /* WiFi */
};
backlight: backlight {
--
2.38.0