ARM: dts: da850-evm: add WP and CD to MMC
PATCH v3 1/1 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 <[email protected]>
--
V3: Update description of the patch. Rebase on davinci 4.18/dt
V2: Rebase on davinci master and remove GPIO pinmuxing
arch/arm/boot/dts/da850-evm.dts +2 -0
@@ -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 {
Signature · 1 line
2.17.0
Sekhar Nori
AppliedPATCH v3 1/1 ARM: dts: da850-evm: add WP and CD to MMC
Quoted 5 lines · Adam Ford
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 <[email protected]>
Applied to v4.18/dt.
Thanks,
Sekhar