]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ARM: dts: msm8974-FP2: Add uSD slot nodes
authorLuca Weiss <luca@z3ntu.xyz>
Tue, 28 Nov 2017 09:07:06 +0000 (10:07 +0100)
committerAndy Gross <andy.gross@linaro.org>
Thu, 21 Dec 2017 19:06:07 +0000 (13:06 -0600)
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>
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts

index d0a5df90b543bfa63f201ee1cf14fd3a9b7d0ac4..643c57f848184c338a5a09439ad9f78dfa622ce6 100644 (file)
                                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;
+                       };
+               };
        };
 
        sdhci@f9824900 {
                pinctrl-0 = <&sdhc1_pin_a>;
        };
 
+       sdhci@f98a4900 {
+               status = "ok";
+
+               vmmc-supply = <&pm8941_l21>;
+               vqmmc-supply = <&pm8941_l13>;
+
+               bus-width = <4>;
+
+               pinctrl-names = "default";
+               pinctrl-0 = <&sdhc2_pin_a>, <&sdhc2_cd_pin_a>;
+       };
+
        usb@f9a55000 {
                status = "ok";