diff --git a/qcom/sdxnightjar-pinctrl.dtsi b/qcom/sdxnightjar-pinctrl.dtsi index 410f4f9b0700..fe045ec0167e 100644 --- a/qcom/sdxnightjar-pinctrl.dtsi +++ b/qcom/sdxnightjar-pinctrl.dtsi @@ -1,3 +1,5 @@ +#include + &soc { tlmm_pinmux: pinctrl@1000000 { compatible = "qcom,sdxnightjar-pinctrl"; @@ -1333,3 +1335,29 @@ }; }; }; + +&pmd9650_gpios { + gpio@c100 { /* GPIO 2 - VADC */ + /* GPIO should be left off, and in the high + * impedance state when the pin is used with the VADC + */ + pins = "gpio2"; + function = "normal"; + bias-high-impedance; /* DISABLE GPIO */ + }; + + gpio@c200 { /* GPIO 3 - LED */ + pins = "gpio3"; + function = "normal"; + bias-high-impedance; /* DISABLE GPIO */ + }; + + gpio@c400 { /* GPIO 5 - USB_ID */ + pins = "gpio5"; + function = "normal"; + input-enable; /* Digital input */ + bias-pull-up; + qcom,pull-up-strength = ; /* Pull up 1.5 uA */ + power-source = <1>; /* 1.8 V */ + }; +}; diff --git a/qcom/sdxnightjar.dtsi b/qcom/sdxnightjar.dtsi index ad15a0902055..622d46a7c381 100644 --- a/qcom/sdxnightjar.dtsi +++ b/qcom/sdxnightjar.dtsi @@ -426,4 +426,7 @@ }; }; +#include "pmd9650.dtsi" +#include "pmd9650-rpm-regulator.dtsi" +#include "sdxnightjar-regulator.dtsi" #include "sdxnightjar-pinctrl.dtsi"