]> git.ipfire.org Git - thirdparty/kernel/stable.git/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:05:45 +0000 (12:05 +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 8a5628c4b135cf38a6a29a26e36bdbddd986817d..656e35ec037d7263c89f4aa3979b31ea17246430 100644 (file)
                i2c1 = &i2c2;
                i2c2 = &i2c3;
                i2c3 = &i2c4;
+               mmc0 = &mmc1;
+               mmc1 = &mmc2;
+               mmc2 = &mmc3;
+               mmc3 = &mmc4;
+               mmc4 = &mmc5;
                serial0 = &uart1;
                serial1 = &uart2;
                serial2 = &uart3;
index 4c04389dab3252fdbdc4c6e904bac0964eb58421..b61ea6ca59b32739c0587bbcd1966a8d90c6deaa 100644 (file)
                i2c2 = &i2c3;
                i2c3 = &i2c4;
                i2c4 = &i2c5;
+               mmc0 = &mmc1;
+               mmc1 = &mmc2;
+               mmc2 = &mmc3;
+               mmc3 = &mmc4;
+               mmc4 = &mmc5;
                serial0 = &uart1;
                serial1 = &uart2;
                serial2 = &uart3;