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

Commit 6e2797bd authored by Luca Weiss's avatar Luca Weiss Committed by Andy Gross
Browse files

ARM: dts: msm8974-FP2: Add uSD slot nodes



Add and enable the sdhci2 slot and the pinctrl configuration.

Signed-off-by: default avatarLuca Weiss <luca@z3ntu.xyz>
Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
parent 4fbd8d19
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
@@ -265,6 +265,28 @@
				bias-pull-up;
			};
		};

		sdhc2_cd_pin_a: sdhc2-cd-pin-active {
			pins = "gpio62";
			function = "gpio";

			drive-strength = <2>;
			bias-disable;
		};

		sdhc2_pin_a: sdhc2-pin-active {
			clk {
				pins = "sdc2_clk";
				drive-strength = <10>;
				bias-disable;
			};

			cmd-data {
				pins = "sdc2_cmd", "sdc2_data";
				drive-strength = <6>;
				bias-pull-up;
			};
		};
	};

	sdhci@f9824900 {
@@ -280,6 +302,18 @@
		pinctrl-0 = <&sdhc1_pin_a>;
	};

	sdhci@f98a4900 {
		status = "ok";

		vmmc-supply = <&pm8941_l21>;
		vqmmc-supply = <&pm8941_l13>;

		bus-width = <4>;

		pinctrl-names = "default";
		pinctrl-0 = <&sdhc2_pin_a>, <&sdhc2_cd_pin_a>;
	};

	usb@f9a55000 {
		status = "ok";