Loading qcom/sdxnightjar-pinctrl.dtsi +28 −0 Original line number Diff line number Diff line #include<dt-bindings/pinctrl/qcom,pmic-gpio.h> &soc { tlmm_pinmux: pinctrl@1000000 { compatible = "qcom,sdxnightjar-pinctrl"; Loading Loading @@ -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 = <PMIC_GPIO_PULL_UP_1P5>; /* Pull up 1.5 uA */ power-source = <1>; /* 1.8 V */ }; }; qcom/sdxnightjar.dtsi +3 −0 Original line number Diff line number Diff line Loading @@ -426,4 +426,7 @@ }; }; #include "pmd9650.dtsi" #include "pmd9650-rpm-regulator.dtsi" #include "sdxnightjar-regulator.dtsi" #include "sdxnightjar-pinctrl.dtsi" Loading
qcom/sdxnightjar-pinctrl.dtsi +28 −0 Original line number Diff line number Diff line #include<dt-bindings/pinctrl/qcom,pmic-gpio.h> &soc { tlmm_pinmux: pinctrl@1000000 { compatible = "qcom,sdxnightjar-pinctrl"; Loading Loading @@ -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 = <PMIC_GPIO_PULL_UP_1P5>; /* Pull up 1.5 uA */ power-source = <1>; /* 1.8 V */ }; };
qcom/sdxnightjar.dtsi +3 −0 Original line number Diff line number Diff line Loading @@ -426,4 +426,7 @@ }; }; #include "pmd9650.dtsi" #include "pmd9650-rpm-regulator.dtsi" #include "sdxnightjar-regulator.dtsi" #include "sdxnightjar-pinctrl.dtsi"