summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDang Huynh <danct12@riseup.net>2021-11-21 00:42:25 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2021-11-21 01:24:59 +0300
commitcf85e9aee210fefd7a85c1ced0a73382e5edcfd0 (patch)
tree7a21115d2c2d2c8b7a0cbc81ae356769941ff39a
parent4c420a0449ce0882f225e6e7ae3edc87becd2e85 (diff)
downloadlinux-cf85e9aee210fefd7a85c1ced0a73382e5edcfd0.tar.xz
arm64: dts: qcom: sdm660-xiaomi-lavender: Add eMMC and SD
This commit enable the SD card slot and internal MMC. Signed-off-by: Dang Huynh <danct12@riseup.net> Reviewed-by: Caleb Connolly <caleb@connolly.tech> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211120214227.779742-7-danct12@riseup.net
-rw-r--r--arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts
index 9a6684922804..264a8f50db66 100644
--- a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts
+++ b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts
@@ -316,6 +316,25 @@
};
};
+&sdhc_1 {
+ status = "okay";
+ supports-cqe;
+
+ mmc-hs200-1_8v;
+ mmc-hs400-1_8v;
+ mmc-hs400-enhanced-strobe;
+
+ vmmc-supply = <&vreg_l4b_2p95>;
+ vqmmc-supply = <&vreg_l8a_1p8>;
+};
+
+&sdhc_2 {
+ status = "okay";
+
+ vmmc-supply = <&vreg_l5b_2p95>;
+ vqmmc-supply = <&vreg_l2b_2p95>;
+};
+
&tlmm {
gpio-reserved-ranges = <8 4>;
};