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

Commit ec638307 authored by Vijay Viswanath's avatar Vijay Viswanath
Browse files

ARM: dts: msm: Support eMMC on sd card slot of MDM9607



The card detect gpio pin of sd card is already used by audio subsystem.
It was earlier decided that the common gpio will be used by audio
subsystem. So disabled the card detection functionality so that eMMC
card and SD card will work in the SD card slot as non removable devices.

When a new eMMC card is inserted for the first time, it needs to be
formatted and partition created so that from next bootup onward, it
will be automatically mounted.

Change-Id: I66b36d04867e53b2df5dcd3507b73869957dbb25
Signed-off-by: default avatarVijay Viswanath <vviswana@codeaurora.org>
parent 20ae7a51
Loading
Loading
Loading
Loading
+19 −1
Original line number Original line Diff line number Diff line
/*
/*
 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015, 2017, The Linux Foundation. All rights reserved.
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * it under the terms of the GNU General Public License version 2 and
@@ -22,6 +22,24 @@
};
};


&sdhc_2 {
&sdhc_2 {
	/delete-property/cd-gpios;

	qcom,vdd-io-always-on;
	qcom,vdd-io-lpm-sup;

	#address-cells = <0>;
	interrupt-parent = <&sdhc_2>;
	interrupts = <0 1>;
	#interrupt-cells = <1>;
	interrupt-map-mask = <0xffffffff>;
	interrupt-map = <0 &intc 0 125 0
			1 &intc 0 221 0>;
	interrupt-names = "hc_irq", "pwr_irq";

	pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on>;

	qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v";
	qcom,nonremovable;
	status = "ok";
	status = "ok";
};
};