]> 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, 21 Apr 2021 10:56:13 +0000 (12:56 +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 904852006b9b10b73c25e6b3657e59b550004943..0a36b8fe3fa926aae6cf659af81008b83ac2c701 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 041646fabb2dbf7da428f60bb6f18ea26623d64a..3b56e993326d07f5fca1bce3a539fe566fccac3e 100644 (file)
                i2c2 = &i2c3;
                i2c3 = &i2c4;
                i2c4 = &i2c5;
+               mmc0 = &mmc1;
+               mmc1 = &mmc2;
+               mmc2 = &mmc3;
+               mmc3 = &mmc4;
+               mmc4 = &mmc5;
                serial0 = &uart1;
                serial1 = &uart2;
                serial2 = &uart3;