mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 03:24:19 +02:00
arm64: dts: qcom: lemans-evk: Enable SDHCI for SD Card
Enable the SD Host Controller Interface (SDHCI) on the lemans EVK board to support SD card for storage. Also add the corresponding regulators. Signed-off-by: Monish Chunara <quic_mchunara@quicinc.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Wasim Nazir <wasim.nazir@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20250916-lemans-evk-bu-v5-9-53d7d206669d@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
7bd68ef806
commit
c3f107b514
|
|
@ -17,6 +17,7 @@ / {
|
|||
compatible = "qcom,lemans-evk", "qcom,qcs9100", "qcom,sa8775p";
|
||||
|
||||
aliases {
|
||||
mmc1 = &sdhc;
|
||||
serial0 = &uart10;
|
||||
};
|
||||
|
||||
|
|
@ -98,6 +99,28 @@ platform {
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
vmmc_sdc: regulator-vmmc-sdc {
|
||||
compatible = "regulator-fixed";
|
||||
|
||||
regulator-name = "vmmc_sdc";
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
};
|
||||
|
||||
vreg_sdc: regulator-vreg-sdc {
|
||||
compatible = "regulator-gpio";
|
||||
|
||||
regulator-name = "vreg_sdc";
|
||||
regulator-type = "voltage";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
|
||||
gpios = <&expander1 7 GPIO_ACTIVE_HIGH>;
|
||||
states = <1800000 1>, <2950000 0>;
|
||||
|
||||
startup-delay-us = <100>;
|
||||
};
|
||||
};
|
||||
|
||||
&apps_rsc {
|
||||
|
|
@ -513,6 +536,22 @@ &remoteproc_gpdsp1 {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&sdhc {
|
||||
vmmc-supply = <&vmmc_sdc>;
|
||||
vqmmc-supply = <&vreg_sdc>;
|
||||
|
||||
pinctrl-0 = <&sdc_default>, <&sd_cd>;
|
||||
pinctrl-1 = <&sdc_sleep>, <&sd_cd>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
|
||||
bus-width = <4>;
|
||||
cd-gpios = <&tlmm 36 GPIO_ACTIVE_LOW>;
|
||||
no-mmc;
|
||||
no-sdio;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sleep_clk {
|
||||
clock-frequency = <32768>;
|
||||
};
|
||||
|
|
@ -563,6 +602,12 @@ wake-pins {
|
|||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
sd_cd: sd-cd-state {
|
||||
pins = "gpio36";
|
||||
function = "gpio";
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
&uart10 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user