From 3a214d8c9c7ef489dc1566e6900616ce5e5d1675 Mon Sep 17 00:00:00 2001 From: Haibo Chen Date: Tue, 20 Aug 2019 20:32:11 +0800 Subject: [PATCH] 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 --- .../arm64/boot/dts/freescale/fsl-imx8dxl-phantom-mek.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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"; }; -- 2.17.1