summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2017-10-11 13:02:28 +0200
committerAndy Gross <andy.gross@linaro.org>2017-10-11 15:52:49 -0500
commit329d8f220762f817f6b5946043f5c938786c6c32 (patch)
treecb576196d00203f8338b0f589bc2edecc7f6c68c
parent44237986660ce41c41e92a703493a050cf64b8be (diff)
downloadtalos-op-linux-329d8f220762f817f6b5946043f5c938786c6c32.tar.gz
talos-op-linux-329d8f220762f817f6b5946043f5c938786c6c32.zip
ARM: dts: msm8974-FP2: Add sdhci1 node
This introduces the eMMC sdhci node and its pinctrl state Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
-rw-r--r--arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
index 6dd553a61ae6..c42e70d7158f 100644
--- a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
+++ b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
@@ -250,6 +250,35 @@
serial@f991e000 {
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>;
+ };
};
&spmi_bus {
OpenPOWER on IntegriCloud