mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
ARM: dts: msm: enable bluetooth for direwolf vm
Add bluetooth node and related resources. Change-Id: Ib199668f780b92f03e2db59f8471b2a48d88dfeb
This commit is contained in:
parent
49400c568a
commit
ff66dce010
3 changed files with 104 additions and 4 deletions
50
qcom/direwolf-cnss.dtsi
Normal file
50
qcom/direwolf-cnss.dtsi
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
|
||||
&soc {
|
||||
/* PWR_CTR2_VDD_1P8 supply */
|
||||
vreg_conn_1p8: vreg_conn_1p8 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vreg_conn_1p8";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&conn_power_1p8_active>;
|
||||
startup-delay-us = <4000>;
|
||||
enable-active-high;
|
||||
gpio = <&tlmm 128 0>;
|
||||
};
|
||||
|
||||
/* PWR_CTR1_VDD_PA supply */
|
||||
vreg_conn_pa: vreg_conn_pa {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vreg_conn_pa";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&conn_power_pa_active>;
|
||||
startup-delay-us = <4000>;
|
||||
enable-active-high;
|
||||
gpio = <&tlmm 129 0>;
|
||||
};
|
||||
|
||||
bluetooth: bt-qca-auto-converged {
|
||||
compatible = "qcom,qca-auto-converged";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&bt_en_active>;
|
||||
/* BT_EN */
|
||||
qcom,bt-reset-gpio = <&tlmm 126 0>;
|
||||
/* PWR_CTR1_VDD_PA */
|
||||
qcom,bt-vdd-ctrl1-supply = <&vreg_conn_pa>;
|
||||
/* PWR_CTR2_VDD_1P8 */
|
||||
qcom,bt-vdd-ctrl2-supply = <&vreg_conn_1p8>;
|
||||
qcom,bt-vdd-aon-supply = <&pm8540_e0_s4>;
|
||||
qcom,bt-vdd-rfa1-supply = <&pm8540_g0_l6>;
|
||||
qcom,bt-vdd-rfa2-supply = <&pm8540_a0_l15>;
|
||||
|
||||
/* <vol_min, vol_max, load_curr, is_retention_supp> */
|
||||
qcom,bt-vdd-aon-config = <1055000 1055000 0 0>;
|
||||
/* No vol setting for bypass LDOs */
|
||||
qcom,bt-vdd-rfa1-config = <0 0 0 0>;
|
||||
qcom,bt-vdd-rfa2-config = <0 0 0 0>;
|
||||
};
|
||||
};
|
||||
|
||||
&qupv3_se2_4uart {
|
||||
status = "ok"
|
||||
};
|
||||
|
||||
|
|
@ -1847,4 +1847,43 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
bt_en_active: bt_en_active {
|
||||
mux {
|
||||
pins = "gpio126";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio126";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
|
||||
conn_power_1p8_active: conn_power_1p8_active {
|
||||
mux {
|
||||
pins = "gpio128";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio128";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
conn_power_pa_active: conn_power_pa_active {
|
||||
mux {
|
||||
pins = "gpio129";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio129";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -305,12 +305,22 @@
|
|||
regulator-max-microvolt = <1260000>;
|
||||
};
|
||||
|
||||
S4E0: pm8540_e0_s4: regulator-pm8540_e0-s4 {
|
||||
regulator-name = "smpe4";
|
||||
regulator-min-microvolt = <320000>;
|
||||
regulator-max-microvolt = <2040000>;
|
||||
};
|
||||
|
||||
L5A0: pm8540_a0_l5: regulator-pm8540_a0-l5 {
|
||||
regulator-name = "ldoa5";
|
||||
regulator-min-microvolt = <720000>;
|
||||
regulator-max-microvolt = <950000>;
|
||||
};
|
||||
|
||||
L6G0: pm8540_g0_l6: regulator-pm8540_g0-l6 {
|
||||
regulator-name = "ldog6";
|
||||
};
|
||||
|
||||
L7A0: pm8540_a0_l7: regulator-pm8540_a0-l7 {
|
||||
regulator-name = "ldoa7";
|
||||
regulator-min-microvolt = <1620000>;
|
||||
|
|
@ -346,6 +356,10 @@
|
|||
regulator-min-microvolt = <2970000>;
|
||||
regulator-max-microvolt = <3544000>;
|
||||
};
|
||||
|
||||
L15A0: pm8540_a0_l15: regulator-pm8540_a0-l15 {
|
||||
regulator-name = "ldoa15";
|
||||
};
|
||||
};
|
||||
|
||||
&firmware {
|
||||
|
|
@ -359,6 +373,7 @@
|
|||
#include "pm8540-vm.dtsi"
|
||||
#include "direwolf-vm-audio.dtsi"
|
||||
#include "direwolf-vm-usb.dtsi"
|
||||
#include "direwolf-cnss.dtsi"
|
||||
|
||||
&qupv3_0 {
|
||||
/delete-property/ qcom,msm-bus,num-paths;
|
||||
|
|
@ -374,7 +389,3 @@
|
|||
/delete-property/ qcom,msm-bus,num-paths;
|
||||
/delete-property/ qcom,msm-bus,vectors-bus-ids;
|
||||
};
|
||||
|
||||
&qupv3_se2_4uart {
|
||||
status = "ok"
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue