Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1252469
| From | Bjorn Andersson <bjorn.andersson@sonymobile.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 5/7] ARM: dts: qcom: msm8974-honami: Add uSD slot nodes |
| Date | 2015-10-21 07:00 +0200 |
| Message-ID | <qlTFh-TD-17@gated-at.bofh.it> (permalink) |
| References | <qlTFg-TD-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Add and enable the sdhci2 slot, the pinctrl configuration and card
detect.
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
---
.../boot/dts/qcom-msm8974-sony-xperia-honami.dts | 37 ++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts b/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts
index de3529d1a8ca..113cc18ee2f5 100644
--- a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts
+++ b/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts
@@ -290,6 +290,20 @@
pinctrl-0 = <&sdhc1_pin_a>;
};
+ sdhci@f98a4900 {
+ status = "ok";
+
+ bus-width = <4>;
+
+ vmmc-supply = <&pm8941_l21>;
+ vqmmc-supply = <&pm8941_l13>;
+
+ cd-gpios = <&msmgpio 62 GPIO_ACTIVE_LOW>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&sdhc2_pin_a>, <&sdhc2_cd_pin_a>;
+ };
+
serial@f991e000 {
status = "ok";
@@ -329,6 +343,29 @@
bias-pull-up;
};
};
+
+ sdhc2_cd_pin_a: sdhc2-cd-pin-active {
+ pins = "gpio62";
+ function = "gpio";
+
+ drive-strength = <2>;
+ bias-disable;
+ };
+
+ sdhc2_pin_a: sdhc2-pin-active {
+ clk {
+ pins = "sdc2_clk";
+ drive-strength = <10>;
+ bias-disable;
+ };
+
+ cmd-data {
+ pins = "sdc2_cmd", "sdc2_data";
+ drive-strength = <6>;
+ bias-pull-up;
+ };
+ };
+
};
};
--
2.4.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/7] ARM: dts: qcom: msm8974-honami: Define pinctrl state for blsp_uart2 Bjorn Andersson <bjorn.andersson@sonymobile.com> - 2015-10-21 07:00 +0200 [PATCH 4/7] ARM: dts: qcom: msm8974-honami: Add sdhci1 node Bjorn Andersson <bjorn.andersson@sonymobile.com> - 2015-10-21 07:00 +0200 [PATCH 5/7] ARM: dts: qcom: msm8974-honami: Add uSD slot nodes Bjorn Andersson <bjorn.andersson@sonymobile.com> - 2015-10-21 07:00 +0200 [PATCH 3/7] ARM: dts: qcom: msm8974-honami: Introduce gpio-keys Bjorn Andersson <bjorn.andersson@sonymobile.com> - 2015-10-21 07:10 +0200
csiph-web