Skip to contentSkip to conversation

imx6qdl-sabresd: Pass mmc alias

PATCH New Fabio Estevam 2 participants 2 messages Dec 10, 2022 – Jan 31, 2023

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 imx6qdl-sabresd: Pass mmc alias

From: Fabio Estevam <[email protected]>

Originally, the mmc aliases node was present in imx6qdl-sabresd.dtsi.

After the sync with Linux in commit d0399a46e7cd ("imx6dl/imx6qdl:
synchronise device trees with linux"), the aliases node is gone as the upstream version does not have it.

This causes a regression in which the SD card cannot be found anymore.

Fix it by passing the alias node in the u-boot.dtsi file to restore the original behaviour where the SD card (esdhc3) was mapped to mmc1.

Fixes d0399a46e7cd ("imx6dl/imx6qdl: synchronise device trees with linux")
---
 arch/arm/dts/imx6qdl-sabresd-u-boot.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/dts/imx6qdl-sabresd-u-boot.dtsi +6 -0
index 45f02b19c7ee..cbb856fba3f3 100644
@@ -5,6 +5,12 @@
 
 #include "imx6qdl-u-boot.dtsi"
 
+/ {
+	aliases {
+		mmc1 = &usdhc3;
+	};
+};
+
 &usdhc3 {
 	u-boot,dm-spl;
 };
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 imx6qdl-sabresd: Pass mmc alias

Quoted 9 lines

From: Fabio Estevam <[email protected]>
Originally, the mmc aliases node was present in imx6qdl-sabresd.dtsi. After the sync with Linux in commit d0399a46e7cd ("imx6dl/imx6qdl:
synchronise device trees with linux"), the aliases node is gone as the upstream version does not have it.
This causes a regression in which the SD card cannot be found anymore. Fix it by passing the alias node in the u-boot.dtsi file to restore the original behaviour where the SD card (esdhc3) was mapped to mmc1.

Quoted 3 lines
Fixes d0399a46e7cd ("imx6dl/imx6qdl: synchronise device trees with linux")

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,        Managing Director: Erika Unter  
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================