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

Commit 05990e2b authored by Govind Singh's avatar Govind Singh Committed by Dundi Raviteja
Browse files

ARM: dts: msm: Add WLAN pin control support on sdm429w



Add wlan pin controls for pronto wlan target.

Change-Id: I2534ba00d4fb84ba46a393393a63ff51bfea7433
Signed-off-by: default avatarGovind Singh <govinds@codeaurora.org>
parent 133f4b97
Loading
Loading
Loading
Loading
+79 −0
Original line number Diff line number Diff line
@@ -825,5 +825,84 @@
				};
			};
		};

		wcnss_pmux_5wire {
			/* Active configuration of bus pins */
			wcnss_default: wcnss_default {
				wcss_wlan2 {
					pins = "gpio76";
					function = "wcss_wlan2";
				};
				wcss_wlan1 {
					pins = "gpio77";
					function = "wcss_wlan1";
				};
				wcss_wlan0 {
					pins = "gpio78";
					function = "wcss_wlan0";
				};
				wcss_wlan {
					pins = "gpio79", "gpio80";
					function = "wcss_wlan";
				};

				config {
					pins = "gpio76", "gpio77",
					       "gpio78", "gpio79",
					       "gpio80";
					drive-strength = <6>; /* 6 MA */
					bias-pull-up; /* PULL UP */
				};
			};

			wcnss_sleep: wcnss_sleep {
				wcss_wlan2 {
					pins = "gpio76";
					function = "wcss_wlan2";
				};
				wcss_wlan1 {
					pins = "gpio77";
					function = "wcss_wlan1";
				};
				wcss_wlan0 {
					pins = "gpio78";
					function = "wcss_wlan0";
				};
				wcss_wlan {
					pins = "gpio79", "gpio80";
					function = "wcss_wlan";
				};

				config {
					pins = "gpio76", "gpio77",
					       "gpio78", "gpio79",
					       "gpio80";
					drive-strength = <2>; /* 2 MA */
					bias-pull-down; /* PULL Down */
				};
			};
		};

		wcnss_pmux_gpio: wcnss_pmux_gpio {
			wcnss_gpio_default: wcnss_gpio_default {
				/* Active configuration of bus pins */
				mux {
					/* Uses general purpose pins */
					pins = "gpio76", "gpio77",
					       "gpio78", "gpio79",
					       "gpio80";
					       function = "gpio";

				};

				config {
					pins = "gpio76", "gpio77",
					       "gpio78", "gpio79",
					       "gpio80";
					drive-strength = <6>; /* 6 MA */
					bias-pull-up; /* PULL UP */
				};
			};
		};
	};
};