License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[sfrench/cifs-2.6.git] / arch / arm64 / boot / dts / qcom / apq8096-db820c-pmic-pins.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2
3 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
4 &pm8994_gpios {
5
6         pinctrl-names = "default";
7         pinctrl-0 = <&ls_exp_gpio_f>;
8
9         ls_exp_gpio_f: pm8994_gpio5 {
10                 pinconf {
11                         pins = "gpio5";
12                         output-low;
13                         power-source = <2>; // PM8994_GPIO_S4, 1.8V
14                 };
15         };
16
17         volume_up_gpio: pm8996_gpio2 {
18                 pinconf {
19                         pins = "gpio2";
20                         function = "normal";
21                         input-enable;
22                         drive-push-pull;
23                         bias-pull-up;
24                         qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
25                         power-source = <PM8994_GPIO_S4>; // 1.8V
26                 };
27         };
28
29         usb3_vbus_det_gpio: pm8996_gpio22 {
30                 pinconf {
31                         pins = "gpio22";
32                         function = PMIC_GPIO_FUNC_NORMAL;
33                         input-enable;
34                         bias-pull-down;
35                         qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
36                         power-source = <PM8994_GPIO_S4>; // 1.8V
37                 };
38         };
39 };
40
41 &pmi8994_gpios {
42         usb2_vbus_det_gpio: pmi8996_gpio6 {
43                 pinconf {
44                         pins = "gpio6";
45                         function = PMIC_GPIO_FUNC_NORMAL;
46                         input-enable;
47                         bias-pull-down;
48                         qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
49                         power-source = <PM8994_GPIO_S4>; // 1.8V
50                 };
51         };
52 };