Commit 6aa71bb8 authored by Luca Weiss's avatar Luca Weiss Committed by Bjorn Andersson
Browse files

ARM: dts: msm8974-FP2: Introduce the wcnss remoteproc node



Enable the remoteproc node and add the necessary pinctrl states.

Signed-off-by: default avatarLuca Weiss <luca@z3ntu.xyz>
Link: https://lore.kernel.org/r/20191104212302.105469-2-luca@z3ntu.xyz


Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent c7c0edec
Loading
Loading
Loading
Loading
+45 −0
Original line number Diff line number Diff line
@@ -259,6 +259,25 @@ serial@f991e000 {
		status = "ok";
	};

	remoteproc@fb21b000 {
		status = "ok";

		vddmx-supply = <&pm8841_s1>;
		vddcx-supply = <&pm8841_s2>;

		pinctrl-names = "default";
		pinctrl-0 = <&wcnss_pin_a>;

		smd-edge {
			qcom,remote-pid = <4>;
			label = "pronto";

			wcnss {
				status = "ok";
			};
		};
	};

	pinctrl@fd510000 {
		sdhc1_pin_a: sdhc1-pin-active {
			clk {
@@ -287,6 +306,32 @@ cmd-data {
				bias-pull-up;
			};
		};

		wcnss_pin_a: wcnss-pin-active {
			wlan {
				pins =  "gpio36", "gpio37", "gpio38", "gpio39", "gpio40";
				function = "wlan";

				drive-strength = <6>;
				bias-pull-down;
			};

			bt {
				pins = "gpio35", "gpio43", "gpio44";
				function = "bt";

				drive-strength = <2>;
				bias-pull-down;
			};

			fm {
				pins = "gpio41", "gpio42";
				function = "fm";

				drive-strength = <2>;
				bias-pull-down;
			};
		};
	};

	sdhci@f9824900 {