diff --git a/qcom/sdxlemur-bluetooth.dtsi b/qcom/sdxlemur-bluetooth.dtsi new file mode 100644 index 000000000000..d4848e87ad4c --- /dev/null +++ b/qcom/sdxlemur-bluetooth.dtsi @@ -0,0 +1,40 @@ +#include + +&pmx65_gpios { + bt_en { + bt_en_default: bt_en_default { + pins = "gpio15"; + function = "normal"; + output-low; + bias-pull-down; + qcom,drive-strength = <2>; + power-source = <1>; + }; + }; +}; + +&soc { + bluetooth: bt_qca6490 { + compatible = "qcom,qca6490"; + pinctrl-names = "default"; + pinctrl-0 = <&bt_en_default &bt_edl_default>; + qcom,bt-reset-gpio = <&pmx65_gpios 15 0>; /* BT_EN */ + qcom,bt-sw-ctrl-gpio = <&pmx65_gpios 2 0>; /* SW_CTRL */ + + clocks = <&rpmhcc RPMH_RF_CLK3>; + clock-names = "ref3_clk"; + + qcom,bt-vdd-aon-supply = <&S7B>; + qcom,bt-vdd-aon-config = <1012000 1012000 0 0>; + qcom,bt-vdd-io-supply = <&L6B>; + qcom,bt-vdd-io-config = <1800000 1800000 0 0>; + }; +}; + +&blsp1_uart2b_hs { + status = "okay"; +}; + +&i2c_6 { + status = "disabled"; +}; diff --git a/qcom/sdxlemur-cdp.dts b/qcom/sdxlemur-cdp.dts index 93cd0f92dd66..68c99b5dd58d 100644 --- a/qcom/sdxlemur-cdp.dts +++ b/qcom/sdxlemur-cdp.dts @@ -3,6 +3,7 @@ #include "sdxlemur.dtsi" #include "sdxlemur-cdp.dtsi" #include "sdxlemur-1024mb.dtsi" +#include "sdxlemur-bluetooth.dtsi" / { model = "Qualcomm Technologies, Inc. SDXLEMUR CDP"; compatible = "qcom,sdxlemur-cdp", diff --git a/qcom/sdxlemur-mtp-mbb-emmc.dts b/qcom/sdxlemur-mtp-mbb-emmc.dts index acdb4853a32a..734bb19c3f1b 100644 --- a/qcom/sdxlemur-mtp-mbb-emmc.dts +++ b/qcom/sdxlemur-mtp-mbb-emmc.dts @@ -3,6 +3,7 @@ #include "sdxlemur.dtsi" #include "sdxlemur-mtp-mbb-emmc.dtsi" #include "sdxlemur-1024mb.dtsi" +#include "sdxlemur-bluetooth.dtsi" / { model = "Qualcomm Technologies, Inc. SDXLEMUR MTP MBB eMMC"; diff --git a/qcom/sdxlemur-mtp-mbb.dts b/qcom/sdxlemur-mtp-mbb.dts index e9bc21eb4200..bdcc2ce058b1 100644 --- a/qcom/sdxlemur-mtp-mbb.dts +++ b/qcom/sdxlemur-mtp-mbb.dts @@ -3,6 +3,7 @@ #include "sdxlemur.dtsi" #include "sdxlemur-mtp-mbb.dtsi" #include "sdxlemur-1024mb.dtsi" +#include "sdxlemur-bluetooth.dtsi" / { model = "Qualcomm Technologies, Inc. SDXLEMUR MTP MBB"; diff --git a/qcom/sdxlemur-pinctrl.dtsi b/qcom/sdxlemur-pinctrl.dtsi index 7acc8527e1b9..a5d5e1e8261f 100644 --- a/qcom/sdxlemur-pinctrl.dtsi +++ b/qcom/sdxlemur-pinctrl.dtsi @@ -1417,7 +1417,7 @@ }; pmx_sec_mi2s_aux_din { - sec_din_sleep: sec_din_sleep { + bt_edl_default: sec_din_sleep: sec_din_sleep { mux { pins = "gpio17"; function = "gpio"; diff --git a/qcom/sdxlemur-rcm-rc.dts b/qcom/sdxlemur-rcm-rc.dts index 990224dd464a..a5fd339b9fa4 100644 --- a/qcom/sdxlemur-rcm-rc.dts +++ b/qcom/sdxlemur-rcm-rc.dts @@ -3,6 +3,7 @@ #include "sdxlemur.dtsi" #include "sdxlemur-rcm-rc.dtsi" #include "sdxlemur-1024mb.dtsi" +#include "sdxlemur-bluetooth.dtsi" / { model = "Qualcomm Technologies, Inc. SDXLEMUR RCM Root Complex";