OSDN Git Service

arm64: dts: qcom: msm8998-xperia: Add support for wcn3990 Bluetooth
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Thu, 9 Sep 2021 12:37:29 +0000 (14:37 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 24 Sep 2021 23:25:23 +0000 (18:25 -0500)
This platform uses the WCN3990 Bluetooth chip, reachable on UART-3.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210909123733.367248-3-angelogioacchino.delregno@somainline.org
arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi

index 8bbff6e..cfd61c3 100644 (file)
        bias-disable;
 };
 
+&blsp1_uart3 {
+       status = "okay";
+
+       bluetooth {
+               compatible = "qcom,wcn3990-bt";
+
+               vddio-supply = <&vreg_s4a_1p8>;
+               vddxo-supply = <&vreg_l7a_1p8>;
+               vddrf-supply = <&vreg_l17a_1p3>;
+               vddch0-supply = <&vreg_l25a_3p3>;
+               max-speed = <3200000>;
+
+               clocks = <&rpmcc RPM_SMD_RF_CLK2_PIN>;
+       };
+};
+
 &blsp2_uart1 {
        status = "okay";
 };