PKGBUILDs/core/linux-espressobin/0006-arm64-dts-marvell-Add-microsd-card-definition-for-th.patch
2017-07-22 01:34:30 +00:00

46 lines
1.1 KiB
Diff

From b05ee624e1e2dbd155be851cd64a14d711545238 Mon Sep 17 00:00:00 2001
From: Sean Nyekjaer <sean@nyekjaer.dk>
Date: Sun, 25 Jun 2017 21:20:05 +0200
Subject: [PATCH 06/11] arm64: dts: marvell: Add microsd card definition for
the ESPRESSObin
This defines and enables the microsd card on the
Marvell ESPRESSObin board.
Signed-off-by: Sean Nyekjaer <sean@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 b1af3f988b29..409385c4195a 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.3