ARM: dts: qs600: Add real regulators to sdcc
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 28 Jul 2015 08:13:05 +0000 (09:13 +0100)
committerAndy Gross <agross@codeaurora.org>
Tue, 28 Jul 2015 19:57:47 +0000 (14:57 -0500)
This patch adds real regulators to sdcc nodes.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Andy Gross <agross@codeaurora.org>
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts

index 71512b3ca4443c7e12dfb106a442e73921c81ac5..34ccb260f12a9e6be49f3a41f20544e293687ad0 100644 (file)
                                        bias-pull-down;
                                };
 
+                               pm8921_l5: l5 {
+                                       regulator-min-microvolt = <2750000>;
+                                       regulator-max-microvolt = <3000000>;
+                                       bias-pull-down;
+                               };
+
                                pm8921_l23: l23 {
                                        regulator-min-microvolt = <1700000>;
                                        regulator-max-microvolt = <1900000>;
                        status = "okay";
                };
 
+               /* on board fixed 3.3v supply */
+               v3p3_fixed: v3p3 {
+                       compatible = "regulator-fixed";
+                       regulator-name = "PCIE V3P3";
+                       regulator-min-microvolt = <3300000>;
+                       regulator-max-microvolt = <3300000>;
+                       regulator-always-on;
+               };
+
                amba {
                        /* eMMC */
                        sdcc1: sdcc@12400000 {
                                status = "okay";
+                               vmmc-supply = <&pm8921_l5>;
+                               vqmmc-supply = <&pm8921_s4>;
                        };
 
                        /* External micro SD card */
                        sdcc3: sdcc@12180000 {
                                status = "okay";
+                               vmmc-supply = <&v3p3_fixed>;
                        };
                        /* WLAN */
                        sdcc4: sdcc@121c0000 {
                                status = "okay";
+                               vmmc-supply = <&v3p3_fixed>;
+                               vqmmc-supply = <&v3p3_fixed>;
                        };
                };
        };