From: Adam Ford Date: Sat, 12 May 2018 12:23:58 +0000 (-0500) Subject: ARM: dts: da850-evm: add WP and CD to MMC X-Git-Tag: rel_imx_4.19.35_1.1.0~9906^2~31^2 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=fe9d2a40d995dc1da042a4fcd7813239d063554d;p=linux.git ARM: dts: da850-evm: add WP and CD to MMC The legacy mode uses the write protect and card detect but DT does not. This patch enables Write-Protect and Card-Detect pins for the MMC card, and the gpio-ranges property sets the gpio pinmuxing for those respective pins. Signed-off-by: Adam Ford Signed-off-by: Sekhar Nori --- diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index 9389f95f4094..0e82bb988fde 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++ b/arch/arm/boot/dts/da850-evm.dts @@ -149,6 +149,8 @@ status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins>; + cd-gpios = <&gpio 64 GPIO_ACTIVE_LOW>; + wp-gpios = <&gpio 65 GPIO_ACTIVE_HIGH>; }; &spi1 {