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

Commit 39fea7dc authored by Anant Goel's avatar Anant Goel Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add PCIe pin definitions for sdmshrike



Provide device tree entries for PCIe root complex 0,
root complex 1, and PCIe endpoint definitions needed by
sdmshrike.

Change-Id: I0dd79af2d24e27c738f57f15e4cc5dad7ded53c6
Signed-off-by: default avatarAnant Goel <anantg@codeaurora.org>
parent bd8ec284
Loading
Loading
Loading
Loading
+120 −0
Original line number Diff line number Diff line
@@ -1882,6 +1882,126 @@
			};
		};

		pcie0 {
			pcie0_clkreq_default: pcie0_clkreq_default {
				mux {
					pins = "gpio36";
					function = "pci_e0";
				};

				config {
					pins = "gpio36";
					drive-strength = <2>;
					bias-pull-up;
				};
			};

			pcie0_perst_default: pcie0_perst_default {
				mux {
					pins = "gpio35";
					function = "gpio";
				};

				config {
					pins = "gpio35";
					drive-strength = <2>;
					bias-pull-down;
				};
			};

			pcie0_wake_default: pcie0_wake_default {
				mux {
					pins = "gpio37";
					function = "gpio";
				};

				config {
					pins = "gpio37";
					drive-strength = <2>;
					bias-pull-up;
				};
			};
		};

		pcie1 {
			pcie1_clkreq_default: pcie1_clkreq_default {
				mux {
					pins = "gpio103";
					function = "pci_e1";
				};

				config {
					pins = "gpio103";
					drive-strength = <2>;
					bias-pull-up;
				};
			};

			pcie1_perst_default: pcie1_perst_default {
				mux {
					pins = "gpio102";
					function = "gpio";
				};

				config {
					pins = "gpio102";
					drive-strength = <2>;
					bias-pull-down;
				};
			};

			pcie1_wake_default: pcie1_wake_default {
				mux {
					pins = "gpio104";
					function = "gpio";
				};

				config {
					pins = "gpio104";
					drive-strength = <2>;
					bias-pull-up;
				};
			};
		};

		pcie_ep {
			pcie_ep_clkreq_default: pcie_ep_clkreq_default {
				mux {
					pins = "gpio103";
					function = "pci_e1";
				};
				config {
					pins = "gpio103";
					drive-strength = <2>;
					bias-disable;
				};
			};

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

			pcie_ep_wake_default: pcie_ep_wake_default {
				mux {
					pins = "gpio104";
					function = "gpio";
				};
				config {
					pins = "gpio104";
					drive-strength = <2>;
					bias-disable;
				};
			};
		};

		/* SE12 UART-2wire pin mappings */
		qupv3_se12_2uart_pins: qupv3_se12_2uart_pins {
			qupv3_se12_2uart_active: qupv3_se12_2uart_active {