[PATCH] ARM: dts: imx6qdl-sabre: Add mmc aliases

Detlev Casanova detlev.casanova at collabora.com
Fri Oct 28 07:18:11 PDT 2022


If not specified, the mmc0 and mmc1 devices will be the devices
mmc at 2190000 and mmc at 2194000, which are in disabled state on the iMX.6
Sabrelite devices.

The actual SD card reader devices are the ones at mmc at 2198000 and
mmc at 219c000.

Set aliases to use the correct mmc devices order.

Signed-off-by: Detlev Casanova <detlev.casanova at collabora.com>
---
 arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi
index 22f8e2783cdf..12573e1f917c 100644
--- a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi
@@ -14,6 +14,11 @@ chosen {
 		stdout-path = &uart2;
 	};
 
+	aliases {
+		mmc0 = &usdhc3;
+		mmc1 = &usdhc4;
+	};
+
 	memory at 10000000 {
 		device_type = "memory";
 		reg = <0x10000000 0x40000000>;
-- 
2.38.1




More information about the linux-arm-kernel mailing list