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

Commit 23bd4f78 authored by Jeffrey Hugo's avatar Jeffrey Hugo Committed by Andy Gross
Browse files

arm64: dts: qcom: msm8998-mtp: Add external SD



The externally accessible SD card slot on the MTP is driven by SDCC2.
Wire it up for use.

Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
parent 1cfce828
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -245,3 +245,15 @@
&tlmm {
	gpio-reserved-ranges = <0 4>, <81 4>;
};

&sdhc2 {
	status = "okay";
	cd-gpios = <&tlmm 95 GPIO_ACTIVE_LOW>;

	vmmc-supply = <&vreg_l21a_2p95>;
	vqmmc-supply = <&vreg_l13a_2p95>;

	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&sdc2_clk_on  &sdc2_cmd_on  &sdc2_data_on  &sdc2_cd_on>;
	pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
};
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,gcc-msm8998.h>
#include <dt-bindings/gpio/gpio.h>

/ {
	interrupt-parent = <&intc>;