]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: qcom: msm8974-honami: Add uSD slot nodes
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Wed, 21 Oct 2015 04:57:48 +0000 (21:57 -0700)
committerAndy Gross <agross@codeaurora.org>
Wed, 9 Dec 2015 05:33:11 +0000 (23:33 -0600)
Add and enable the sdhci2 slot, the pinctrl configuration and card
detect.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Andy Gross <agross@codeaurora.org>
arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts

index 5f68eb270774f07aa4d43dc436af945360d33f3f..e7e796888a21d5b727533287c225c538de7d1130 100644 (file)
                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";
 
                                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;
+                       };
+               };
+
        };
 };