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

Commit cbe92331 authored by Gustavo Solaira's avatar Gustavo Solaira
Browse files

ARM: dts: msm: Add antenna switch matrix GPIOs for mdm9650 CCARD



Setup the initial state of the GPIOs for RF antenna switch
matrix for CCARD boards based on default configuration.

Change-Id: I3c3fdb08e8fb69ef118cc76a80c27a3d6e3d783b
Signed-off-by: default avatarGustavo Solaira <gustavos@codeaurora.org>
parent 9dbf9c2b
Loading
Loading
Loading
Loading
+47 −1
Original line number Diff line number Diff line
@@ -161,7 +161,8 @@
&tlmm_pinmux {
	/* Set these up as hogs */
	pinctrl-names = "default";
	pinctrl-0 = <&can_reset_gpio>;
	pinctrl-0 = <&can_reset_gpio>, <&ant_switch_gpio1>, <&ant_switch_gpio2>,
		<&ant_switch_gpio3>;

	periph_vreg_gpio: periph_vreg_gpio {
		mux {
@@ -318,6 +319,51 @@
			};
		};
	};

	/* Pins for the antenna switch matrix */
	pmx_antenna_switch_matrix {
		ant_switch_gpio1: ant_switch_gpio1 {
			mux {
				pins = "gpio31";
				function = "gpio";
			};

			config {
				pins = "gpio31";
				drive-strength = <2>;
				output-low;
				bias-disable;
			};
		};

		ant_switch_gpio2: ant_switch_gpio2 {
			mux {
				pins = "gpio32";
				function = "gpio";
			};

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

		ant_switch_gpio3: ant_switch_gpio3 {
			mux {
				pins = "gpio33";
				function = "gpio";
			};

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

&cnss_pcie {