]> git.itanic.dy.fi Git - linux-stable/commitdiff
ARM: dts: Fix moving mmc devices with aliases for omap4 & 5
authorTony Lindgren <tony@atomide.com>
Mon, 8 Mar 2021 09:30:45 +0000 (11:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Apr 2021 10:07:14 +0000 (12:07 +0200)
[ Upstream commit 77335a040178a0456d4eabc8bf17a7ca3ee4a327 ]

Fix moving mmc devices with dts aliases as discussed on the lists.
Without this we now have internal eMMC mmc1 show up as mmc2 compared
to the earlier order of devices.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/omap4.dtsi
arch/arm/boot/dts/omap5.dtsi

index 4d6584f15b174f26018f8097a2930ef21c4ea0ee..7e5a09c3d2a6be9bceb7a2bc8558fc52e28effea 100644 (file)
@@ -22,6 +22,11 @@ aliases {
                i2c1 = &i2c2;
                i2c2 = &i2c3;
                i2c3 = &i2c4;
+               mmc0 = &mmc1;
+               mmc1 = &mmc2;
+               mmc2 = &mmc3;
+               mmc3 = &mmc4;
+               mmc4 = &mmc5;
                serial0 = &uart1;
                serial1 = &uart2;
                serial2 = &uart3;
index a76266f242a1f9a11b2716634cbb4e6ea0e32dd8..586fe60b9921f1df474988bc0a572c2bca10cbb7 100644 (file)
@@ -25,6 +25,11 @@ aliases {
                i2c2 = &i2c3;
                i2c3 = &i2c4;
                i2c4 = &i2c5;
+               mmc0 = &mmc1;
+               mmc1 = &mmc2;
+               mmc2 = &mmc3;
+               mmc3 = &mmc4;
+               mmc4 = &mmc5;
                serial0 = &uart1;
                serial1 = &uart2;
                serial2 = &uart3;