[PATCH] arm64: dts: marvell: Add microsd card definition for the ESPRESSObin

Sean Nyekjaer sean.nyekjaer at prevas.dk
Sun Jun 25 12:20:05 PDT 2017


From: Sean Nyekjaer <sean at nyekjaer.dk>

This defines and enables the microsd card on the
Marvell ESPRESSObin board.

Signed-off-by: Sean Nyekjaer <sean at nyekjaer.dk>
---
 arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
index e3a136ed77b0..2dadd77e08eb 100644
--- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
+++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
@@ -45,6 +45,7 @@
 
 /dts-v1/;
 
+#include <dt-bindings/gpio/gpio.h>
 #include "armada-372x.dtsi"
 
 / {
@@ -76,6 +77,16 @@
 	status = "okay";
 };
 
+/* microsd slot */
+&sdhci1 {
+	wp-inverted;
+	bus-width = <4>;
+	cd-gpios = <&gpionb 3 GPIO_ACTIVE_LOW>;
+	no-1-8-v;
+	marvell,pad-type = "sd";
+	status = "okay";
+};
+
 /* J7 */
 &usb3 {
 	status = "okay";
-- 
2.13.1




More information about the linux-arm-kernel mailing list