2015-04-20 15:45:41 +08:00
|
|
|
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
|
|
|
|
|
|
|
|
&pm8916_gpios {
|
|
|
|
|
2015-06-04 17:19:05 +08:00
|
|
|
usb_hub_reset_pm: usb_hub_reset_pm {
|
|
|
|
pinconf {
|
2015-04-20 15:45:41 +08:00
|
|
|
pins = "gpio3";
|
|
|
|
function = PMIC_GPIO_FUNC_NORMAL;
|
|
|
|
output-low;
|
|
|
|
};
|
2015-06-04 17:19:05 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
usb_sw_sel_pm: usb_sw_sel_pm {
|
|
|
|
pinconf {
|
2015-04-20 15:45:41 +08:00
|
|
|
pins = "gpio4";
|
|
|
|
function = PMIC_GPIO_FUNC_NORMAL;
|
2015-06-04 17:19:05 +08:00
|
|
|
power-source = <PM8916_GPIO_VPH>;
|
|
|
|
input-disable;
|
2015-04-20 15:45:41 +08:00
|
|
|
};
|
|
|
|
};
|
2015-06-04 17:19:06 +08:00
|
|
|
|
|
|
|
pm8916_gpios_leds: pm8916_gpios_leds {
|
|
|
|
pinconf {
|
|
|
|
pins = "gpio1", "gpio2";
|
|
|
|
function = PMIC_GPIO_FUNC_NORMAL;
|
|
|
|
output-low;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&pm8916_mpps {
|
|
|
|
|
|
|
|
pm8916_mpps_leds: pm8916_mpps_leds {
|
|
|
|
pinconf {
|
|
|
|
pins = "mpp2", "mpp3";
|
2016-02-24 00:50:53 +08:00
|
|
|
function = "digital";
|
2015-06-04 17:19:06 +08:00
|
|
|
output-low;
|
|
|
|
};
|
|
|
|
};
|
2015-04-20 15:45:41 +08:00
|
|
|
};
|