aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2017-11-28 04:07:06 -0500
committerAndy Gross <andy.gross@linaro.org>2017-12-21 14:06:07 -0500
commit6e2797bd80001e7f6ffe6fa95efaa27338a43aae (patch)
treef90913f52cf76864e38c45a04e76ddb6bed01019
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff)
ARM: dts: msm8974-FP2: Add uSD slot nodes
Add and enable the sdhci2 slot and the pinctrl configuration. Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Signed-off-by: Andy Gross <andy.gross@linaro.org>
-rw-r--r--arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts34
1 files changed, 34 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 d0a5df90b543..643c57f84818 100644
--- a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
+++ b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
@@ -265,6 +265,28 @@
265 bias-pull-up; 265 bias-pull-up;
266 }; 266 };
267 }; 267 };
268
269 sdhc2_cd_pin_a: sdhc2-cd-pin-active {
270 pins = "gpio62";
271 function = "gpio";
272
273 drive-strength = <2>;
274 bias-disable;
275 };
276
277 sdhc2_pin_a: sdhc2-pin-active {
278 clk {
279 pins = "sdc2_clk";
280 drive-strength = <10>;
281 bias-disable;
282 };
283
284 cmd-data {
285 pins = "sdc2_cmd", "sdc2_data";
286 drive-strength = <6>;
287 bias-pull-up;
288 };
289 };
268 }; 290 };
269 291
270 sdhci@f9824900 { 292 sdhci@f9824900 {
@@ -280,6 +302,18 @@
280 pinctrl-0 = <&sdhc1_pin_a>; 302 pinctrl-0 = <&sdhc1_pin_a>;
281 }; 303 };
282 304
305 sdhci@f98a4900 {
306 status = "ok";
307
308 vmmc-supply = <&pm8941_l21>;
309 vqmmc-supply = <&pm8941_l13>;
310
311 bus-width = <4>;
312
313 pinctrl-names = "default";
314 pinctrl-0 = <&sdhc2_pin_a>, <&sdhc2_cd_pin_a>;
315 };
316
283 usb@f9a55000 { 317 usb@f9a55000 {
284 status = "ok"; 318 status = "ok";
285 319