Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: 40cdaa542cf0 ("ARM: dts: imx6q-udoo: Add initial board support")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Fabio Estevam and committed by
Shawn Guo
993d6614 0c566618

+4 -1
+4 -1
arch/arm/boot/dts/imx6qdl-udoo.dtsi
··· 5 5 * Author: Fabio Estevam <fabio.estevam@freescale.com> 6 6 */ 7 7 8 + #include <dt-bindings/gpio/gpio.h> 9 + 8 10 / { 9 11 aliases { 10 12 backlight = &backlight; ··· 228 226 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059 229 227 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059 230 228 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059 229 + MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0 231 230 >; 232 231 }; 233 232 ··· 307 304 &usdhc3 { 308 305 pinctrl-names = "default"; 309 306 pinctrl-0 = <&pinctrl_usdhc3>; 310 - non-removable; 307 + cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; 311 308 status = "okay"; 312 309 }; 313 310