Skip to content

Commit

Permalink
ARM: dts: imx53-qsb: Describe the esdhc1 card detect pin
Browse files Browse the repository at this point in the history
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.

After this change it is possible to load the dtb and zImage
from the SD card and boot Linux.

Signed-off-by: Fabio Estevam <[email protected]>
  • Loading branch information
fabioestevam authored and sbabic committed Mar 1, 2021
1 parent 5c8db49 commit 2175516
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/dts/imx53-qsb-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
&esdhc1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_esdhc1>;
cd-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
status = "okay";
};

Expand Down Expand Up @@ -209,6 +210,7 @@
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
>;
};

Expand Down

0 comments on commit 2175516

Please sign in to comment.