mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
arm64: dts: qcom: Add SD Card support for Glymur SoC
Add support for SD card on Glymur SoC and enable the required pinctrl configurations. Co-developed-by: Sachin <ssachin@qti.qualcomm.com> Signed-off-by: Sachin <ssachin@qti.qualcomm.com> Signed-off-by: Monish Chunara <monish.chunara@oss.qualcomm.com>
This commit is contained in:
committed by
Konrad Dybcio
parent
6d534c1c04
commit
b89e8b4a14
@@ -4481,6 +4481,57 @@
|
||||
#interconnect-cells = <2>;
|
||||
};
|
||||
|
||||
sdhc_2: mmc@8804000 {
|
||||
compatible = "qcom,glymur-sdhci", "qcom,sdhci-msm-v5";
|
||||
|
||||
reg = <0x0 0x08804000 0x0 0x1000>;
|
||||
|
||||
interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "hc_irq",
|
||||
"pwr_irq";
|
||||
|
||||
clocks = <&gcc GCC_SDCC2_AHB_CLK>,
|
||||
<&gcc GCC_SDCC2_APPS_CLK>,
|
||||
<&rpmhcc RPMH_CXO_CLK>;
|
||||
clock-names = "iface",
|
||||
"core",
|
||||
"xo";
|
||||
|
||||
iommus = <&apps_smmu 0xd00 0>;
|
||||
qcom,dll-config = <0x0007442c>;
|
||||
qcom,ddr-config = <0x80040868>;
|
||||
|
||||
power-domains = <&rpmhpd RPMHPD_CX>;
|
||||
operating-points-v2 = <&sdhc2_opp_table>;
|
||||
|
||||
interconnects = <&aggre3_noc MASTER_SDCC_2 QCOM_ICC_TAG_ALWAYS
|
||||
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
|
||||
<&hsc_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
|
||||
&config_noc SLAVE_SDCC_2 QCOM_ICC_TAG_ACTIVE_ONLY>;
|
||||
interconnect-names = "sdhc-ddr",
|
||||
"cpu-sdhc";
|
||||
|
||||
bus-width = <4>;
|
||||
dma-coherent;
|
||||
|
||||
status = "disabled";
|
||||
|
||||
sdhc2_opp_table: opp-table {
|
||||
compatible = "operating-points-v2";
|
||||
|
||||
opp-100000000 {
|
||||
opp-hz = /bits/ 64 <100000000>;
|
||||
required-opps = <&rpmhpd_opp_low_svs>;
|
||||
};
|
||||
|
||||
opp-202000000 {
|
||||
opp-hz = /bits/ 64 <202000000>;
|
||||
required-opps = <&rpmhpd_opp_svs_l1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
usb_2_hsphy: phy@88e0000 {
|
||||
compatible = "qcom,glymur-m31-eusb2-phy",
|
||||
"qcom,sm8750-m31-eusb2-phy";
|
||||
@@ -6311,6 +6362,46 @@
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
sdc2_default_state: sdc2-default-state {
|
||||
clk-pins {
|
||||
pins = "sdc2_clk";
|
||||
drive-strength = <16>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd-pins {
|
||||
pins = "sdc2_cmd";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
data-pins {
|
||||
pins = "sdc2_data";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
sdc2_sleep_state: sdc2-sleep-state {
|
||||
clk-pins {
|
||||
pins = "sdc2_clk";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd-pins {
|
||||
pins = "sdc2_cmd";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
data-pins {
|
||||
pins = "sdc2_data";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ctcu@10001000 {
|
||||
|
||||
Reference in New Issue
Block a user