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

Commit e8d9a57e authored by Veerabhadrarao Badiganti's avatar Veerabhadrarao Badiganti
Browse files

ARM: dts: mdm : Enable sd-card support on mdm9640 cdp



Enable SD card support on mdm9640. SD card support is a requirement
on mdm9640.

On V1 and V2  MTP the required changes are already present.
Update the MDM9640 nand-cdp device tree file to enable SD card
support.

Change-Id: Ie5ca573b6f3291072b59b9f4b75caab401b50f4d
Signed-off-by: default avatarVeerabhadrarao Badiganti <vbadigan@codeaurora.org>
parent 14f889c8
Loading
Loading
Loading
Loading
+23 −1
Original line number Diff line number Diff line
/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
 *
 * 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
@@ -31,3 +31,25 @@
&qnand_1 {
	status = "ok";
};

&sdhc_1 {
	vdd-supply = <&sd_slot_vreg>;
	qcom,vdd-voltage-level = <2950000 2950000>;
	qcom,vdd-current-level = <9000 800000>;

	vdd-io-supply = <&pmd9635_l14>;
	qcom,vdd-io-voltage-level = <1800000 2850000>;
	qcom,vdd-io-current-level = <200 60000>;

	pinctrl-names = "active", "sleep";
	pinctrl-0 = <&pmx_sdc1_clk_on &pmx_sdc1_cmd_on &pmx_sdc1_data_on
							&pmx_sdc1_cd_on>;
	pinctrl-1 = <&pmx_sdc1_clk_off &pmx_sdc1_cmd_off &pmx_sdc1_data_off
							&pmx_sdc1_cd_off>;

	cd-gpios = <&tlmm_pinmux 81 0x1>;

	qcom,devfreq,freq-table = <50000000 200000000>;

	status = "ok";
};