diff --git a/qcom/neo-qxr.dtsi b/qcom/neo-qxr.dtsi index 2b49d0b7..8bacc157 100644 --- a/qcom/neo-qxr.dtsi +++ b/qcom/neo-qxr.dtsi @@ -18,3 +18,103 @@ pinctrl-0 = <&sdc1_on>; pinctrl-1 = <&sdc1_off>; }; + +&pm8150_gpios { + wlan_pon_en: wlan_pon_en { + pins = "gpio9"; + function = "normal"; + input-disable; + output-high; + bias-pull-up; + power-source = <1>; /* 1.8V */ + qcom,drive-strength = <2>; + }; + + wlan_pon_dis: wlan_pon_dis { + pins = "gpio9"; + function = "normal"; + input-disable; + output-low; + bias-pull-down; + power-source = <1>; /* 1.8V */ + qcom,drive-strength = <2>; + }; + + wlan_poff_en: wlan_poff_en { + pins = "gpio6"; + function = "normal"; + input-disable; + output-low; + bias-pull-down; + power-source = <1>; /* 1.8V */ + qcom,drive-strength = <2>; + }; + + wlan_poff_dis: wlan_poff_dis { + pins = "gpio6"; + function = "normal"; + input-disable; + output-high; + bias-pull-up; + 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"; + pinctrl-0 = <&wlan_pon_en>; + pinctrl-1 = <&wlan_pon_dis>; + 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>; +};