Skip to content

Commit 7d278f2

Browse files
denis-eukreaShawn Guo
authored andcommitted
ARM: dts: imx51-eukrea-mbimxsd51-baseboard: unbreak esdhc.
The following commit: 89d7e5c mmc: sdhci-esdhc-imx: add runtime pm support has the effect of also disabling the hardware card detect in runtime pm. We switch to GPIO based detection to avoid this issue. This patch is based on: ARM: dts: imx51-babbage: Fix esdhc setup Signed-off-by: Denis Carikli <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent dacf492 commit 7d278f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm/boot/dts/imx51-eukrea-mbimxsd51-baseboard.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
&esdhc1 {
108108
pinctrl-names = "default";
109109
pinctrl-0 = <&pinctrl_esdhc1 &pinctrl_esdhc1_cd>;
110-
fsl,cd-controller;
110+
cd-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
111111
status = "okay";
112112
};
113113

@@ -206,7 +206,7 @@
206206

207207
pinctrl_esdhc1_cd: esdhc1_cd {
208208
fsl,pins = <
209-
MX51_PAD_GPIO1_0__SD1_CD 0x20d5
209+
MX51_PAD_GPIO1_0__GPIO1_0 0xd5
210210
>;
211211
};
212212

0 commit comments

Comments
 (0)