Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c97bdd8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Enable SD card controller for SDM845 QRD"

parents 670efc31 e6e12527
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
@@ -168,6 +168,17 @@
	status = "ok";
};

&extcon_storage_cd {
	gpio = <&tlmm 126 GPIO_ACTIVE_LOW>;
	debounce-ms = <200>;
	irq-flags = <IRQ_TYPE_EDGE_BOTH>;

	pinctrl-names = "default";
	pinctrl-0 = <&storage_cd>;

	status = "ok";
};

&ufsphy_card {
	compatible = "qcom,ufs-phy-qmp-v3";

@@ -193,6 +204,28 @@
	status = "ok";
};

&sdhc_2 {
	vdd-supply = <&pm8998_l21>;
	qcom,vdd-voltage-level = <2950000 2960000>;
	qcom,vdd-current-level = <200 800000>;

	vdd-io-supply = <&pm8998_l13>;
	qcom,vdd-io-voltage-level = <1808000 2960000>;
	qcom,vdd-io-current-level = <200 22000>;

	pinctrl-names = "active", "sleep";
	pinctrl-0 = <&sdc2_clk_on  &sdc2_cmd_on &sdc2_data_on>;
	pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>;

	qcom,clk-rates = <400000 20000000 25000000
				50000000 100000000 200000000>;
	qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104";

	extcon = <&extcon_storage_cd>;

	status = "ok";
};

&labibb {
	status = "ok";
	qcom,qpnp-labibb-mode = "lcd";