arm64: dts: msm8916-longcheer-l8150: Enable WCNSS for WiFi and BT
authorNikita Travkin <nikitos.tr@gmail.com>
Sat, 12 Oct 2019 14:58:20 +0000 (19:58 +0500)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 15 Oct 2019 06:25:20 +0000 (23:25 -0700)
WCNSS is used on L8150 for WiFi and BT.
Its firmware isn't relocatable and must be loaded at specific address.

Reviewed-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Nikita Travkin <nikitos.tr@gmail.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts

index 2b28e383fd0bddadd4590f510ce6841b6885b9c4..e4d467e7dedb3f252504f2ecd1b62aca6178026b 100644 (file)
                stdout-path = "serial0";
        };
 
+       reserved-memory {
+               // wcnss.mdt is not relocatable, so it must be loaded at 0x8b600000
+               /delete-node/ wcnss@89300000;
+
+               wcnss_mem: wcnss@8b600000 {
+                       reg = <0x0 0x8b600000 0x0 0x600000>;
+                       no-map;
+               };
+       };
+
        soc {
                sdhci@7824000 {
                        status = "okay";
                        };
                };
 
+               wcnss@a21b000 {
+                       status = "okay";
+               };
+
                /*
                 * Attempting to enable these devices causes a "synchronous
                 * external abort". Suspected cause is that the debug power