Merge "ARM: dts: qcom: BT: Add Wailua pinctrl configurations for BT"

This commit is contained in:
qctecmdr
2022-04-25 11:15:04 -07:00
committed by Gerrit - the friendly Code Review server
2 changed files with 50 additions and 21 deletions

View File

@@ -62,8 +62,47 @@
power-source = <1>; /* 1.8V */
qcom,drive-strength = <2>;
};
};
bt_pon_en: bt_pon_en {
pins = "gpio9";
function = "pon_en";
input-disable;
output-high;
bias-pull-up;
power-source = <1>; /* 1.8V */
qcom,drive-strength = <2>;
};
bt_pon_dis: bt_pon_dis {
pins = "gpio9";
function = "pon_dis";
input-disable;
output-low;
bias-pull-down;
power-source = <1>; /* 1.8V */
qcom,drive-strength = <2>;
};
bt_poff_en: bt_poff_en {
pins = "gpio6";
function = "poff_en";
input-disable;
output-low;
bias-pull-down;
power-source = <1>; /* 1.8V */
qcom,drive-strength = <2>;
};
bt_poff_dis: bt_poff_dis {
pins = "gpio6";
function = "poff_dis";
input-disable;
output-high;
bias-pull-up;
power-source = <1>; /* 1.8V */
qcom,drive-strength = <2>;
};
};
&icnss2 {
pinctrl-names = "wlan_pon_en", "wlan_pon_dis", "wlan_poff_en", "wlan_poff_dis";
@@ -72,3 +111,13 @@
pinctrl-2 = <&wlan_poff_en>;
pinctrl-3 = <&wlan_poff_dis>;
};
&bluetooth {
pinctrl-names = "default", "bt_pon_en", "bt_pon_dis", "bt_poff_en", "bt_poff_dis";
pinctrl-0 = <&bt_en_sleep>;
pinctrl-1 = <&bt_pon_en>;
pinctrl-2 = <&bt_pon_dis>;
pinctrl-3 = <&bt_poff_en>;
pinctrl-4 = <&bt_poff_dis>;
};

View File

@@ -389,33 +389,13 @@
bluetooth: bt_wcn6x5x {
compatible = "qcom,wcn6750-bt";
pinctrl-names = "default";
pinctrl-0 = <&bt_en_sleep>;
qcom,bt-reset-gpio = <&tlmm 46 0>; /* BT_EN */
qcom,bt-sw-ctrl-gpio = <&tlmm 47 0>; /* SW_CTRL */
qcom,wl-reset-gpio = <&tlmm 45 0>; /* WL_EN */
qcom,bt-vdd-io-supply = <&L15A>; /* IO */
/* below regulators are always ON with wcn6750 */
qcom,bt-vdd-aon-supply = <>;
qcom,bt-vdd-dig-supply = <>; /* BT_CX_MX */
qcom,bt-vdd-rfacmn-supply = <>;
qcom,bt-vdd-rfa-0p8-supply = <>;
qcom,bt-vdd-rfa1-supply = <>; /*RFA 1p7*/
qcom,bt-vdd-rfa2-supply = <>; /*RFA 1p2*/
qcom,bt-vdd-ipa-2p2-supply = <>; /*IPA 2p2*/
qcom,bt-vdd-asd-supply = <>;
/* max voltage are set to regulator max voltage supported */
qcom,bt-vdd-io-config = <1800000 2000000 0 1>;
qcom,bt-vdd-aon-config = <824000 1120000 0 1>;
qcom,bt-vdd-dig-config = <824000 1120000 0 1>;
qcom,bt-vdd-rfacmn-config = <824000 1120000 0 1>;
qcom,bt-vdd-rfa-0p8-config = <824000 1120000 0 1>;
qcom,bt-vdd-rfa1-config = <1872000 2040000 0 1>;
qcom,bt-vdd-rfa2-config = <1256000 1500000 0 1>;
qcom,bt-vdd-ipa-2p2-config = <2200000 2210000 0 1>;
qcom,bt-vdd-asd-config = <2800000 3544000 0 1>;
};
intc: interrupt-controller@0x17200000 {