diff options
author | Jeffrey Hugo <jhugo@codeaurora.org> | 2018-11-15 10:18:11 -0700 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2018-11-29 19:30:55 -0600 |
commit | 23bd4f785b53d96d45c0dc073ee219849b11e766 (patch) | |
tree | 55328004d772a109f2b7d8f201d7b23f609f440a /arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi | |
parent | 1cfce828dca847538f3ead447e52296202a2569c (diff) | |
download | linux-23bd4f785b53d96d45c0dc073ee219849b11e766.tar.gz linux-23bd4f785b53d96d45c0dc073ee219849b11e766.tar.bz2 linux-23bd4f785b53d96d45c0dc073ee219849b11e766.zip |
arm64: dts: qcom: msm8998-mtp: Add external SD
The externally accessible SD card slot on the MTP is driven by SDCC2.
Wire it up for use.
Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi b/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi index 11fd1fe8bdb5..50e9033aa7f6 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi @@ -245,3 +245,15 @@ &tlmm { gpio-reserved-ranges = <0 4>, <81 4>; }; + +&sdhc2 { + status = "okay"; + cd-gpios = <&tlmm 95 GPIO_ACTIVE_LOW>; + + vmmc-supply = <&vreg_l21a_2p95>; + vqmmc-supply = <&vreg_l13a_2p95>; + + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; + pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; +}; |