From: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Date: Fri, 18 Sep 2020 11:29:37 +0000 (+0200)
Subject: ARM: dts: imx7-mba7: update MMC aliases
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ecb5ba9f112424ed43907cd95ddf6a5eb8c0e6fe;p=linux.git

ARM: dts: imx7-mba7: update MMC aliases

Together with the recently merged support for alias-based MMC host
numbering, this makes the MMC devices names match what the bootloader
expects.

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
---

diff --git a/arch/arm/boot/dts/imx7-mba7.dtsi b/arch/arm/boot/dts/imx7-mba7.dtsi
index 84b5809f384c4..215730e0453ee 100644
--- a/arch/arm/boot/dts/imx7-mba7.dtsi
+++ b/arch/arm/boot/dts/imx7-mba7.dtsi
@@ -14,6 +14,12 @@
 #include <dt-bindings/net/ti-dp83867.h>
 
 / {
+	aliases {
+		mmc0 = &usdhc3;
+		mmc1 = &usdhc1;
+		/delete-property/ mmc2;
+	};
+
 	beeper {
 		compatible = "gpio-beeper";
 		gpios = <&pca9555 0 GPIO_ACTIVE_HIGH>;