From: Haibo Chen Date: Tue, 20 Aug 2019 12:32:11 +0000 (+0800) Subject: MLK-22466 ARM64: dts: fsl-imx8dxl-phantom-mek.dtsi: add sd cd and wp support X-Git-Tag: rel_imx_4.19.35_1.1.0~107 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=3a214d8c9c7ef489dc1566e6900616ce5e5d1675;p=linux.git MLK-22466 ARM64: dts: fsl-imx8dxl-phantom-mek.dtsi: add sd cd and wp support Add card detect and write protect support for the sd slot on imx8dxl-phantom-mek board. Signed-off-by: Haibo Chen Reviewed-by: Dong Aisheng --- diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8dxl-phantom-mek.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8dxl-phantom-mek.dtsi index b04adffe6133..f03774b634d5 100755 --- a/arch/arm64/boot/dts/freescale/fsl-imx8dxl-phantom-mek.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-imx8dxl-phantom-mek.dtsi @@ -379,9 +379,9 @@ pinctrl_usdhc2_gpio: usdhc2gpiogrp { fsl,pins = < - SC_P_USDHC1_RESET_B_CONN_USDHC1_RESET_B 0x00000021 - SC_P_USDHC1_WP_CONN_USDHC1_WP 0x00000021 - SC_P_USDHC1_CD_B_CONN_USDHC1_CD_B 0x00000021 + SC_P_USDHC1_RESET_B_LSIO_GPIO4_IO19 0x00000021 + SC_P_USDHC1_WP_LSIO_GPIO4_IO21 0x00000021 + SC_P_USDHC1_CD_B_LSIO_GPIO4_IO22 0x00000021 >; }; @@ -610,6 +610,8 @@ pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; bus-width = <4>; + cd-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; + wp-gpios = <&gpio4 21 GPIO_ACTIVE_HIGH>; vmmc-supply = <®_usdhc2_vmmc>; status = "okay"; };