blob: f881437d53c5f049b5f25e37fbbee53f6a069038 [file] [log] [blame]
Ivan T. Ivanova190a1c2015-04-20 10:45:41 +03001#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
2
3&pm8916_gpios {
4
Ivan T. Ivanov8883ad82015-06-04 12:19:05 +03005 usb_hub_reset_pm: usb_hub_reset_pm {
6 pinconf {
Ivan T. Ivanova190a1c2015-04-20 10:45:41 +03007 pins = "gpio3";
8 function = PMIC_GPIO_FUNC_NORMAL;
9 output-low;
10 };
Ivan T. Ivanov8883ad82015-06-04 12:19:05 +030011 };
12
13 usb_sw_sel_pm: usb_sw_sel_pm {
14 pinconf {
Ivan T. Ivanova190a1c2015-04-20 10:45:41 +030015 pins = "gpio4";
16 function = PMIC_GPIO_FUNC_NORMAL;
Ivan T. Ivanov8883ad82015-06-04 12:19:05 +030017 power-source = <PM8916_GPIO_VPH>;
18 input-disable;
Ivan T. Ivanova190a1c2015-04-20 10:45:41 +030019 };
20 };
Ivan T. Ivanov99432302015-06-04 12:19:06 +030021
22 pm8916_gpios_leds: pm8916_gpios_leds {
23 pinconf {
24 pins = "gpio1", "gpio2";
25 function = PMIC_GPIO_FUNC_NORMAL;
26 output-low;
27 };
28 };
29};
30
31&pm8916_mpps {
32
33 pm8916_mpps_leds: pm8916_mpps_leds {
34 pinconf {
35 pins = "mpp2", "mpp3";
Ivan T. Ivanov4bd40f62016-02-23 16:50:53 +000036 function = "digital";
Ivan T. Ivanov99432302015-06-04 12:19:06 +030037 output-low;
38 };
39 };
Ivan T. Ivanova190a1c2015-04-20 10:45:41 +030040};