Skip to contentSkip to conversation

ARM: dts: Fix swapped mmc order for omap3

PATCH In review Tony Lindgren 1 participant 2 messages Mar 24, 2021 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: Fix swapped mmc order for omap3

Also some omap3 devices like n900 seem to have eMMC and micro-sd swapped around with commit 21b2cec61c04 ("mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.4").

Let's fix the issue with aliases as discussed on the mailing lists. While the mmc aliases should be board specific, let's first fix the issue with minimal changes.

Cc Aaro Koskinen <[email protected]>
Cc Peter Ujfalusi <[email protected]>
---
 arch/arm/boot/dts/omap3.dtsi | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/boot/dts/omap3.dtsi +3 -0
@@ -24,6 +24,9 @@ aliases {
 		i2c0 = &i2c1;
 		i2c1 = &i2c2;
 		i2c2 = &i2c3;
+		mmc0 = &mmc1;
+		mmc1 = &mmc2;
+		mmc2 = &mmc3;
 		serial0 = &uart1;
 		serial1 = &uart2;
 		serial2 = &uart3;
Signature · 1 line
2.31.0
#1 lore raw
Quoted 7 lines · Tony Lindgren

Also some omap3 devices like n900 seem to have eMMC and micro-sd swapped around with commit 21b2cec61c04 ("mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.4").

Let's fix the issue with aliases as discussed on the mailing lists. While the mmc aliases should be board specific, let's first fix the issue with minimal changes.

Also, all the MMC device instances are there for sure for these SoCs if used or not. So I don't know if moving the aliases to board specific files helps in this case at all. I agree the aliases should be board specific for devices that are not integrated into the SoCs though :)

Cheers,

Tony