DORMANTno replies

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

From: Sean Nyekjaer <hidden>
Date: 2017-06-25 19:20:05
Subsystem: arm/marvell kirkwood and armada 370, 375, 38x, 39x, xp, 3700, 7k/8k, cn9130 soc support, the rest · Maintainers: Andrew Lunn, Gregory Clement, Sebastian Hesselbarth, Linus Torvalds

From: Sean Nyekjaer <redacted>

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

Signed-off-by: Sean Nyekjaer <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help