Skip to content

Commit 993d661

Browse files
fabioestevamShawn Guo
authored andcommitted
ARM: dts: imx6qdl-udoo: Properly describe the SD card detect
GPIO7_IO00 is used as SD card detect. Properly describe this in the devicetree. Fixes: 40cdaa5 ("ARM: dts: imx6q-udoo: Add initial board support") Signed-off-by: Fabio Estevam <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent 0c56661 commit 993d661

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

arch/arm/boot/dts/imx6qdl-udoo.dtsi

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Author: Fabio Estevam <[email protected]>
66
*/
77

8+
#include <dt-bindings/gpio/gpio.h>
9+
810
/ {
911
aliases {
1012
backlight = &backlight;
@@ -226,6 +228,7 @@
226228
MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
227229
MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
228230
MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
231+
MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0
229232
>;
230233
};
231234

@@ -304,7 +307,7 @@
304307
&usdhc3 {
305308
pinctrl-names = "default";
306309
pinctrl-0 = <&pinctrl_usdhc3>;
307-
non-removable;
310+
cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
308311
status = "okay";
309312
};
310313

0 commit comments

Comments
 (0)