ARM: dts: msm8974-FP2: Introduce the wcnss remoteproc node
authorLuca Weiss <luca@z3ntu.xyz>
Mon, 4 Nov 2019 21:23:02 +0000 (22:23 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 10 Dec 2019 17:43:18 +0000 (09:43 -0800)
Enable the remoteproc node and add the necessary pinctrl states.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lore.kernel.org/r/20191104212302.105469-2-luca@z3ntu.xyz
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts

index 2616039..d2d4877 100644 (file)
                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 {
                                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 {