]> git.ipfire.org Git - people/arne_f/kernel.git/blame - arch/arm64/boot/dts/qcom/apq8096-db820c-pmic-pins.dtsi
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[people/arne_f/kernel.git] / arch / arm64 / boot / dts / qcom / apq8096-db820c-pmic-pins.dtsi
CommitLineData
b2441318 1// SPDX-License-Identifier: GPL-2.0
50784e61
SK
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
227c3583 9 ls_exp_gpio_f: pm8994_gpio5 {
50784e61
SK
10 pinconf {
11 pins = "gpio5";
12 output-low;
f98121f3 13 power-source = <2>; // PM8994_GPIO_S4, 1.8V
50784e61
SK
14 };
15 };
3a521539
SK
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 };
1e39255e
VG
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 };
50784e61 52};