ARM: dts: qcom: msm8974-hammerhead: Add sdhci1 node
authorBhushan Shah <bshah@kde.org>
Wed, 20 Jul 2016 06:26:10 +0000 (11:56 +0530)
committerAndy Gross <andy.gross@linaro.org>
Sat, 19 Nov 2016 05:30:28 +0000 (23:30 -0600)
This introduces the eMMC sdhci node and its pinctrl state

Signed-off-by: Bhushan Shah <bshah@kde.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts

index c0fb4a6..382bcc3 100644 (file)
                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";