arm64: dts: qcom: apq8016-sbc: Update modem and WiFi firmware path
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 31 May 2021 22:44:53 +0000 (15:44 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 21 Sep 2021 23:24:22 +0000 (18:24 -0500)
The firmware for the modem and WiFi subsystems platform specific and is
signed with a OEM specific key (or a test key). In order to support more
than a single device it is therefor not possible to rely on the default
path and stash these files directly in the firmware directory.

This has already been addressed for other platforms, but the APQ8016 SBC
(aka db410c) was never finished upstream.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Stephan Gerhold <stephan@gerhold.net>
Tested-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20210531224453.783218-1-bjorn.andersson@linaro.org
arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
arch/arm64/boot/dts/qcom/msm8916.dtsi

index f8d8f3e3664ec6fac8821dee3cd5c992c2c14825..351c68d29afb7de7a19de09ddbbe4e8d808e9b78 100644 (file)
        status = "okay";
 };
 
+&mpss {
+       status = "okay";
+
+       firmware-name = "qcom/msm8916/mba.mbn", "qcom/msm8916/modem.mbn";
+};
+
 &pm8916_resin {
        status = "okay";
        linux,code = <KEY_VOLUMEDOWN>;
 
 &pronto {
        status = "okay";
+
+       firmware-name = "qcom/msm8916/wcnss.mbn";
 };
 
 &sdhc_1 {
        qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
 };
 
+&wcnss_ctrl {
+       firmware-name = "qcom/msm8916/WCNSS_qcom_wlan_nv.bin";
+};
+
 /* Enable CoreSight */
 &cti0 { status = "okay"; };
 &cti1 { status = "okay"; };
index 3f85e34a8ce6fa6a80471d101a563aebbd398d58..008b98fe8c6bf8b54948f0382abdabaf14797b6c 100644 (file)
 
                                label = "pronto";
 
-                               wcnss {
+                               wcnss_ctrl: wcnss {
                                        compatible = "qcom,wcnss";
                                        qcom,smd-channels = "WCNSS_CTRL";