diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2016-04-12 10:33:55 +0100 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2016-04-20 15:03:12 -0500 |
commit | 226355fb9e486ae472df10e34eb5ac636f196657 (patch) | |
tree | 761261e8679b6a1dfc2b5423c2952f563b940f59 /arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts | |
parent | 696a8a16f92b83c14c58b7a4d28526aaeeabafe8 (diff) | |
download | lwn-226355fb9e486ae472df10e34eb5ac636f196657.tar.gz lwn-226355fb9e486ae472df10e34eb5ac636f196657.zip |
ARM: dts: db600c: Add eMMC and SD card support
This patch adds eMMC and SD card support with card detect and adding
required regulators.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts')
-rw-r--r-- | arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts b/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts index 6695b007a34f..d92142409c43 100644 --- a/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts +++ b/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts @@ -1,4 +1,6 @@ #include "qcom-apq8064-v2.0.dtsi" +#include "qcom-apq8064-arrow-db600c-pins.dtsi" +#include <dt-bindings/gpio/gpio.h> / { model = "Arrow Electronics, APQ8064 DB600c"; @@ -69,6 +71,20 @@ regulator-max-microvolt = <1300000>; qcom,switch-mode-frequency = <3200000>; }; + + l5 { + regulator-min-microvolt = <2750000>; + regulator-max-microvolt = <3000000>; + bias-pull-down; + regulator-boot-on; + regulator-always-on; + }; + + l6 { + regulator-min-microvolt = <2950000>; + regulator-max-microvolt = <2950000>; + bias-pull-down; + }; }; }; @@ -94,5 +110,23 @@ pinctrl-0 = <&gsbi7_uart_2pins>; }; }; + + amba { + /* eMMC */ + sdcc@12400000 { + status = "okay"; + vmmc-supply = <&pm8921_l5>; + vqmmc-supply = <&pm8921_s4>; + }; + + /* External micro SD card */ + sdcc@12180000 { + status = "okay"; + vmmc-supply = <&pm8921_l6>; + pinctrl-names = "default"; + pinctrl-0 = <&card_detect>; + cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_HIGH>; + }; + }; }; }; |