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

Commit 5aac13d2 authored by Neeraj Upadhyay's avatar Neeraj Upadhyay Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add support for PCI EP mode for mdm9650



Add device tree support for PCI EP mode for MTP platform
on mdm9650.

Change-Id: I5a5c0b770a265941c17b724d97dce6a63e29c552
Signed-off-by: default avatarNeeraj Upadhyay <neeraju@codeaurora.org>
parent b8feecb5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -164,7 +164,9 @@ dtb-$(CONFIG_ARCH_MDM9650) += mdm9650-sim.dtb \
	mdm9650-v1.1-nand-mtp.dtb \
	mdm9650-v1.1-nand-dualwifi-mtp.dtb \
	mdm9650-v1.1-nand-ccard.dtb \
	mdm9650-v1.1-nand-ccard-v2.dtb
	mdm9650-v1.1-nand-ccard-v2.dtb \
	mdm9650-v1.1-emmc-pcie-ep-mtp.dtb \
	mdm9650-v1.1-nand-pcie-ep-mtp.dtb

dtb-$(CONFIG_ARCH_SDX20) += sdx20-emmc-cdp.dtb \
	sdx20-emmc-mtp.dtb \
+46 −0
Original line number Diff line number Diff line
/* Copyright (c) 2017 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
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

/dts-v1/;

#include "mdm9650-v1.1-mtp.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. MDM 9650 v1.1 PCIE EP MTP (eMMC)";
	compatible = "qcom,mdm9650-mtp", "qcom,mdm9650",
		     "qcom,mtp";
	qcom,board-id = <8 0x00030007>, <8 0x00030107>;

	qcom,rmtfs_sharedmem@0 {
		compatible = "qcom,sharedmem-uio";
		reg = <0x0 0x00100000>;
		reg-names = "rmtfs";
		qcom,client-id = <0x00000001>;
	};
};

&sdhc_1 {
	vdd-io-supply = <&pmd9650_l6>;
	qcom,vdd-io-voltage-level = <1800000 1800000>;
	qcom,vdd-io-current-level = <100 200000>;

	pinctrl-names = "active", "sleep";
	pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>;
	pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>;

	qcom,bus-width = <8>;
	qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>;
	qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v";
	qcom,nonremovable;

	status = "ok";
};
+40 −0
Original line number Diff line number Diff line
/* Copyright (c) 2017 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
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

/dts-v1/;

#include "mdm9650-v1.1-mtp.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. MDM 9650 v1.1 MTP PCIE EP (NAND)";
	compatible = "qcom,mdm9650-mtp", "qcom,mdm9650",
		     "qcom,mtp";
	qcom,board-id = <8 7>, <8 0x107>;
};

&sdhc_1 {
	vdd-supply = <&sdc_vreg>;

	vdd-io-supply = <&pmd9650_l7>;
	qcom,vdd-io-voltage-level = <1800000 2848000>;
	qcom,vdd-io-current-level = <200 10000>;

	pinctrl-names = "active", "sleep";
	pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>;
	pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>;

	qcom,bus-width = <4>;
	qcom,clk-rates = <400000 20000000 25000000
			50000000 100000000 200000000>;

	status = "ok";
};