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

Commit 3cf0b9ea authored by Yan He's avatar Yan He
Browse files

ARM: dts: msm: add pinctrl for PCIe endpoint mode on mdmcalifornium



Add pinctrl configuration for PERST GPIO and WAKE GPIO of PCIe
endpoint mode on mdmcalifornium.

Change-Id: I9125cf367fc982a6b9392e71bab324b17b4d5920
Signed-off-by: default avatarYan He <yanhe@codeaurora.org>
parent d171201f
Loading
Loading
Loading
Loading
+25 −1
Original line number Diff line number Diff line
/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015-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
@@ -349,6 +349,30 @@
					bias-pull-down;
				};
			};

			pcie_ep_perst_default: pcie_ep_perst_default {
				mux {
					pins = "gpio65";
					function = "gpio";
				};
				config {
					pins = "gpio65";
					drive-strength = <2>;
					bias-pull-down;
				};
			};

			pcie_ep_wake_default: pcie_ep_wake_default {
				mux {
					pins = "gpio61";
					function = "gpio";
				};
				config {
					pins = "gpio61";
					drive-strength = <2>;
					bias-pull-down;
				};
			};
		};

		/* UART HS CONFIGURATION */
+3 −3
Original line number Diff line number Diff line
/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015-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
@@ -454,8 +454,8 @@
		interrupt-names = "int_global";

		pinctrl-names = "default";
		pinctrl-0 = <&pcie0_clkreq_default &pcie0_perst_default
			&pcie0_wake_default &pcie0_mdm2apstatus_default>;
		pinctrl-0 = <&pcie0_clkreq_default &pcie_ep_perst_default
			&pcie_ep_wake_default &pcie0_mdm2apstatus_default>;

		perst-gpio = <&tlmm_pinmux 65 0>;
		wake-gpio = <&tlmm_pinmux 61 0>;