Skip to contentSkip to conversation

ARM: dts: imx53-qsb: Describe the esdhc1 card detect pin

PATCH Applied Fabio Estevam 2 participants 2 messages Feb 14, 2021 – Mar 5, 2021

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: dts: imx53-qsb: Describe the esdhc1 card detect pin

The micro SD card slot uses GPIO3_13 as card detect pin, so describe it in the devicetree.

This was noticed when converting imx53-qsb board to driver model in U-Boot as the micro SD card was not getting detected.

---
 arch/arm/boot/dts/imx53-qsb-common.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/boot/dts/imx53-qsb-common.dtsi +2 -0
index 9b4efcd82636..fe4244044a0f 100644
@@ -142,6 +142,7 @@ &cpu0 {
 &esdhc1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_esdhc1>;
+	cd-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
 	status = "okay";
 };
 
@@ -209,6 +210,7 @@ MX53_PAD_SD1_DATA2__ESDHC1_DAT2		0x1d5
 				MX53_PAD_SD1_DATA3__ESDHC1_DAT3		0x1d5
 				MX53_PAD_SD1_CMD__ESDHC1_CMD		0x1d5
 				MX53_PAD_SD1_CLK__ESDHC1_CLK		0x1d5
+				MX53_PAD_EIM_DA13__GPIO3_13		0xe4
 			>;
 		};
 
Signature · 7 lines
2.25.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Applied
#1 lore raw
Quoted 7 lines · Fabio Estevam

The micro SD card slot uses GPIO3_13 as card detect pin, so describe it in the devicetree.

This was noticed when converting imx53-qsb board to driver model in U-Boot as the micro SD card was not getting detected.

Applied, thanks.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel