Commit ab8f487d authored by Abel Vesa's avatar Abel Vesa Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: x1e80100-qcp: Enable SD card support



One of the SD card slots found on the X Elite QCP board is
controlled by the SDC2.

Enable it and describe the board specific resources.

Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: default avatarAbel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20241212-x1e80100-qcp-sdhc-v4-2-a74c48ee68a3@linaro.org


Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent ffb21c1e
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -735,6 +735,19 @@ &smb2360_0 {
	status = "okay";
};

&sdhc_2 {
	cd-gpios = <&tlmm 71 GPIO_ACTIVE_LOW>;
	pinctrl-0 = <&sdc2_default &sdc2_card_det_n>;
	pinctrl-1 = <&sdc2_sleep &sdc2_card_det_n>;
	pinctrl-names = "default", "sleep";
	vmmc-supply = <&vreg_l9b_2p9>;
	vqmmc-supply = <&vreg_l6b_1p8>;
	bus-width = <4>;
	no-sdio;
	no-mmc;
	status = "okay";
};

&smb2360_0_eusb2_repeater {
	vdd18-supply = <&vreg_l3d_1p8>;
	vdd3-supply = <&vreg_l2b_3p0>;
@@ -880,6 +893,13 @@ wake-n-pins {
		};
	};

	sdc2_card_det_n: sdc2-card-det-state {
		pins = "gpio71";
		function = "gpio";
		drive-strength = <2>;
		bias-pull-up;
	};

	wcd_default: wcd-reset-n-active-state {
		pins = "gpio191";
		function = "gpio";