[U-Boot] [PATCH] ARM: DTS: am3517-evm-u-boot: Mark MMC1 with cd-inverted

Adam Ford aford173 at gmail.com
Tue Jul 10 10:23:37 UTC 2018


In order to use the device tree for MMC, the card-detect pin
needs to be inverted.  This patch places this into the
am3517-evm-u-boot.dtsi file to keep the main DTS and DTSI files
clean and in-sync with Linux

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

diff --git a/arch/arm/dts/am3517-evm-u-boot.dtsi b/arch/arm/dts/am3517-evm-u-boot.dtsi
index 59df819f9d..c02beaad77 100644
--- a/arch/arm/dts/am3517-evm-u-boot.dtsi
+++ b/arch/arm/dts/am3517-evm-u-boot.dtsi
@@ -10,6 +10,10 @@
 	};
 };
 
+&mmc1 {
+	cd-inverted;
+};
+
 &uart1 {
 	reg-shift = <2>;
 };
-- 
2.17.1



More information about the U-Boot mailing list