linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luca Weiss <luca@z3ntu.xyz>
To: linux-arm-msm@vger.kernel.org
Cc: Luca Weiss <luca@z3ntu.xyz>
Subject: [PATCH 4/4] ARM: dts: msm8974-FP2: Add sdhci1 node
Date: Tue, 12 Sep 2017 10:40:12 +0200	[thread overview]
Message-ID: <20170912084012.12725-4-luca@z3ntu.xyz> (raw)
In-Reply-To: <20170912084012.12725-1-luca@z3ntu.xyz>

This introduces the eMMC sdhci node and its pinctrl state

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts | 29 ++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
index 855b8b5144de..5087d47b3bcd 100644
--- a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
+++ b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
@@ -219,6 +219,35 @@
 		status = "ok";
 	};
 
+	pinctrl@fd510000 {
+		sdhc1_pin_a: sdhc1-pin-active {
+			clk {
+				pins = "sdc1_clk";
+				drive-strength = <16>;
+				bias-disable;
+			};
+
+			cmd-data {
+				pins = "sdc1_cmd", "sdc1_data";
+				drive-strength = <10>;
+				bias-pull-up;
+			};
+		};
+	};
+
+	sdhci@f9824900 {
+		status = "ok";
+
+		vmmc-supply = <&pm8941_l20>;
+		vqmmc-supply = <&pm8941_s3>;
+
+		bus-width = <8>;
+		non-removable;
+
+		pinctrl-names = "default";
+		pinctrl-0 = <&sdhc1_pin_a>;
+	};
+
 	gpio-keys {
 		compatible = "gpio-keys";
 		input-name = "gpio-keys";
-- 
2.14.1

  parent reply	other threads:[~2017-09-12  8:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-12  8:40 [PATCH 1/4] ARM: dts: qcom: Add initial DTS file for Fairphone 2 phone Luca Weiss
2017-09-12  8:40 ` [PATCH 2/4] ARM: dts: msm8974-FP2: Introduce gpio-keys nodes Luca Weiss
2017-10-11  6:05   ` Bjorn Andersson
2017-09-12  8:40 ` [PATCH 3/4] ARM: dts: msm8974-FP2: Add regulator nodes for FP2 Luca Weiss
2017-10-11  6:06   ` Bjorn Andersson
2017-09-12  8:40 ` Luca Weiss [this message]
2017-10-11  6:07   ` [PATCH 4/4] ARM: dts: msm8974-FP2: Add sdhci1 node Bjorn Andersson
2017-10-11  6:03 ` [PATCH 1/4] ARM: dts: qcom: Add initial DTS file for Fairphone 2 phone Bjorn Andersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170912084012.12725-4-luca@z3ntu.xyz \
    --to=luca@z3ntu.xyz \
    --cc=linux-arm-msm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).