Skip to content

Commit 8a4b217

Browse files
mchunara007Monish Chunara
authored andcommitted
FROMLIST: arm64: dts: qcom: monaco-evk: Add SDHCI support for eMMC via overlay
Enable the SDHCI controller for eMMC functionality on the Monaco EVK using a device tree overlay. Configure the corresponding VCC regulator parameters to support the eMMC interface. Signed-off-by: Monish Chunara <monish.chunara@oss.qualcomm.com>
1 parent e18575b commit 8a4b217

2 files changed

Lines changed: 45 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ dtb-$(CONFIG_ARCH_QCOM) += monaco-evk-ifp-mezzanine.dtb
6060
monaco-evk-sd-card-dtbs := monaco-evk.dtb monaco-evk-sd-card.dtbo
6161
dtb-$(CONFIG_ARCH_QCOM) += monaco-evk-sd-card.dtb
6262

63+
monaco-evk-emmc-dtbs := monaco-evk.dtb monaco-evk-emmc.dtbo
64+
dtb-$(CONFIG_ARCH_QCOM) += monaco-evk-emmc.dtb
65+
6366
dtb-$(CONFIG_ARCH_QCOM) += msm8216-samsung-fortuna3g.dtb
6467
dtb-$(CONFIG_ARCH_QCOM) += msm8916-acer-a1-724.dtb
6568
dtb-$(CONFIG_ARCH_QCOM) += msm8916-alcatel-idol347.dtb
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
/*
3+
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
4+
*/
5+
6+
/dts-v1/;
7+
/plugin/;
8+
9+
/ {
10+
vreg_s2s: regulator-vreg-s2s {
11+
compatible = "regulator-fixed";
12+
regulator-name = "regulator-s2s";
13+
14+
regulator-min-microvolt = <1800000>;
15+
regulator-max-microvolt = <1800000>;
16+
};
17+
};
18+
19+
&sdhc_1 {
20+
vmmc-supply = <&vreg_l8a>;
21+
vqmmc-supply = <&vreg_s2s>;
22+
23+
supports-cqe;
24+
25+
pinctrl-0 = <&sdc1_state_on>;
26+
pinctrl-1 = <&sdc1_state_off>;
27+
28+
pinctrl-names = "default", "sleep";
29+
30+
non-removable;
31+
32+
bus-width = <8>;
33+
no-sd;
34+
no-sdio;
35+
36+
status = "okay";
37+
};
38+
39+
&vreg_l8a {
40+
regulator-min-microvolt = <2960000>;
41+
regulator-max-microvolt = <2960000>;
42+
};

0 commit comments

Comments
 (0)