devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: apq8016-sbc: Add DT node for the uSD SDHC interface
@ 2016-02-04 12:53 Georgi Djakov
  2016-02-04 22:06 ` Kevin Hilman
  0 siblings, 1 reply; 5+ messages in thread
From: Georgi Djakov @ 2016-02-04 12:53 UTC (permalink / raw)
  To: andy.gross; +Cc: devicetree, linux-kernel, linux-arm-msm, georgi.djakov

Add the necessary properties to enable the SD-card on db410c boards.

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
---
 arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
index 6b4289dd2495..9a6c595a9b15 100644
--- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
@@ -139,6 +139,18 @@
 			pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>;
 			status = "okay";
 		};
+
+		sdhci@07864000 {
+			vmmc-supply = <&pm8916_l11>;
+			vqmmc-supply = <&pm8916_l12>;
+
+			pinctrl-names = "default", "sleep";
+			pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
+			pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
+
+			cd-gpios = <&msmgpio 38 0x1>;
+			status = "okay";
+		};
 	};
 };
 

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-08 23:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-04 12:53 [PATCH] arm64: dts: apq8016-sbc: Add DT node for the uSD SDHC interface Georgi Djakov
2016-02-04 22:06 ` Kevin Hilman
2016-02-04 22:44   ` Kevin Hilman
2016-02-05 17:45     ` Georgi Djakov
     [not found]       ` <56B4DFC5.7030700-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-02-08 23:02         ` Kevin Hilman

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).