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 <aford173@gmail.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
This commit is contained in:
Adam Ford 2018-05-12 07:23:58 -05:00 committed by Sekhar Nori
parent 9712ada7c0
commit fe9d2a40d9
1 changed files with 2 additions and 0 deletions

View File

@ -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 {