mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-15 21:21:49 -04:00
arm64: dts: qcom: qcs615-ride: enable SDHC1 and SDHC2
Enable SDHC1 and SDHC2 on the Qualcomm QCS615 Ride platform. Signed-off-by: Yuanjie Yang <quic_yuanjiey@quicinc.com> Link: https://lore.kernel.org/r/20241217101017.2933587-3-quic_yuanjiey@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
8009de059f
commit
50f54d4fa3
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include "qcs615.dtsi"
|
||||
#include "pm8150.dtsi"
|
||||
/ {
|
||||
@@ -14,6 +15,8 @@ / {
|
||||
chassis-type = "embedded";
|
||||
|
||||
aliases {
|
||||
mmc0 = &sdhc_1;
|
||||
mmc1 = &sdhc_2;
|
||||
serial0 = &uart0;
|
||||
};
|
||||
|
||||
@@ -241,6 +244,40 @@ &rpmhcc {
|
||||
clocks = <&xo_board_clk>;
|
||||
};
|
||||
|
||||
&sdhc_1 {
|
||||
pinctrl-0 = <&sdc1_state_on>;
|
||||
pinctrl-1 = <&sdc1_state_off>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
|
||||
bus-width = <8>;
|
||||
mmc-ddr-1_8v;
|
||||
mmc-hs200-1_8v;
|
||||
mmc-hs400-1_8v;
|
||||
mmc-hs400-enhanced-strobe;
|
||||
vmmc-supply = <&vreg_l17a>;
|
||||
vqmmc-supply = <&vreg_s4a>;
|
||||
|
||||
non-removable;
|
||||
no-sd;
|
||||
no-sdio;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sdhc_2 {
|
||||
pinctrl-0 = <&sdc2_state_on>;
|
||||
pinctrl-1 = <&sdc2_state_off>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
|
||||
bus-width = <4>;
|
||||
cd-gpios = <&tlmm 99 GPIO_ACTIVE_LOW>;
|
||||
|
||||
vmmc-supply = <&vreg_l10a>;
|
||||
vqmmc-supply = <&vreg_s4a>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user