[PATCH V2] ARM: dts: da850-evm: add WP and CD to MMC

Adam Ford aford173 at gmail.com
Thu Apr 26 19:24:09 PDT 2018


The legacy mode uses the write protect and card detect but DT
has not.  This patch enables the pinmuxing and detection for
WP and CD.

Signed-off-by: Adam Ford <aford173 at gmail.com>
---

V2:  Rebase on davinci master and remove GPIO pinmuxing

 arch/arm/boot/dts/da850-evm.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts
index 4c59dab3362e..a56d43d53ba1 100644
--- a/arch/arm/boot/dts/da850-evm.dts
+++ b/arch/arm/boot/dts/da850-evm.dts
@@ -107,6 +107,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: spi at 30e000 {
 			status = "okay";
-- 
2.17.0




More information about the linux-arm-kernel mailing list