]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / arch / arm64 / boot / dts / qcom / apq8016-sbc-pmic-pins.dtsi
CommitLineData
b2441318 1// SPDX-License-Identifier: GPL-2.0
a190a1ce 2#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
b4dba947 3#include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
a190a1ce
II
4
5&pm8916_gpios {
6
8883ad80
II
7 usb_hub_reset_pm: usb_hub_reset_pm {
8 pinconf {
a190a1ce
II
9 pins = "gpio3";
10 function = PMIC_GPIO_FUNC_NORMAL;
11 output-low;
12 };
8883ad80
II
13 };
14
15 usb_sw_sel_pm: usb_sw_sel_pm {
16 pinconf {
a190a1ce
II
17 pins = "gpio4";
18 function = PMIC_GPIO_FUNC_NORMAL;
8883ad80
II
19 power-source = <PM8916_GPIO_VPH>;
20 input-disable;
2691cb4e 21 output-high;
a190a1ce
II
22 };
23 };
9943230c
II
24
25 pm8916_gpios_leds: pm8916_gpios_leds {
26 pinconf {
27 pins = "gpio1", "gpio2";
28 function = PMIC_GPIO_FUNC_NORMAL;
29 output-low;
30 };
31 };
32};
33
34&pm8916_mpps {
35
b4dba947
II
36 pinctrl-names = "default";
37 pinctrl-0 = <&ls_exp_gpio_f>;
38
39 ls_exp_gpio_f: pm8916_mpp4 {
40 pinconf {
41 pins = "mpp4";
42 function = "digital";
43 output-low;
44 power-source = <PM8916_MPP_L5>; // 1.8V
45 };
46 };
47
9943230c
II
48 pm8916_mpps_leds: pm8916_mpps_leds {
49 pinconf {
50 pins = "mpp2", "mpp3";
4bd40f6c 51 function = "digital";
9943230c
II
52 output-low;
53 };
54 };
a190a1ce 55};