]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: qcs8300-ride: Enable Bluetooth support
authorWei Deng <wei.deng@oss.qualcomm.com>
Mon, 2 Mar 2026 02:46:58 +0000 (08:16 +0530)
committerBjorn Andersson <andersson@kernel.org>
Thu, 26 Mar 2026 14:40:35 +0000 (09:40 -0500)
Enable BT on qcs8300-ride by adding a BT device tree node.

Since the platform uses the QCA6698 Bluetooth chip. While
the QCA6698 shares the same IP core as the WCN6855, it has
different RF components and RAM sizes, requiring new firmware
files. Use the firmware-name property to specify the NVM and
rampatch firmware to load.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Wei Deng <wei.deng@oss.qualcomm.com>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260302024658.2836798-1-wei.deng@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qcs8300-ride.dts

index f351623a88f78e94cccee936a274d66b08fe1087..e9a8553a8d821ca88a38ac59a78625707850bb5d 100644 (file)
@@ -18,6 +18,7 @@
        aliases {
                serial0 = &uart7;
                mmc0 = &sdhc_1;
+               serial1 = &uart2;
        };
 
        chosen {
                vddpcie1p3-supply = <&vreg_conn_1p35>;
                vddpcie1p9-supply = <&vreg_conn_1p95>;
 
+               bt-enable-gpios = <&tlmm 55 GPIO_ACTIVE_HIGH>;
                wlan-enable-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
 
                regulators {
 };
 
 &tlmm {
+       bt_en_state: bt-en-state {
+               pins = "gpio55";
+               function = "gpio";
+               bias-pull-down;
+       };
+
        pcie0_default_state: pcie0-default-state {
                wake-pins {
                        pins = "gpio0";
        };
 };
 
+&uart2 {
+       status = "okay";
+
+       bluetooth: bluetooth {
+               compatible = "qcom,wcn6855-bt";
+               firmware-name = "QCA6698/hpnv21", "QCA6698/hpbtfw21.tlv";
+               max-speed = <3200000>;
+
+               vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
+               vddaon-supply = <&vreg_pmu_aon_0p59>;
+               vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
+               vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
+               vddbtcmx-supply = <&vreg_pmu_btcmx_0p85>;
+               vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
+               vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
+               vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>;
+       };
+};
+
 &uart7 {
        status = "okay";
 };