2015-04-20 14:45:41 +07:00
|
|
|
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
|
|
|
|
|
|
|
|
&pm8916_gpios {
|
|
|
|
|
2015-06-04 16:19:05 +07:00
|
|
|
usb_hub_reset_pm: usb_hub_reset_pm {
|
|
|
|
pinconf {
|
2015-04-20 14:45:41 +07:00
|
|
|
pins = "gpio3";
|
|
|
|
function = PMIC_GPIO_FUNC_NORMAL;
|
|
|
|
output-low;
|
|
|
|
};
|
2015-06-04 16:19:05 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
usb_sw_sel_pm: usb_sw_sel_pm {
|
|
|
|
pinconf {
|
2015-04-20 14:45:41 +07:00
|
|
|
pins = "gpio4";
|
|
|
|
function = PMIC_GPIO_FUNC_NORMAL;
|
2015-06-04 16:19:05 +07:00
|
|
|
power-source = <PM8916_GPIO_VPH>;
|
|
|
|
input-disable;
|
2015-04-20 14:45:41 +07:00
|
|
|
};
|
|
|
|
};
|
2015-06-04 16:19:06 +07: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-23 23:50:53 +07:00
|
|
|
function = "digital";
|
2015-06-04 16:19:06 +07:00
|
|
|
output-low;
|
|
|
|
};
|
|
|
|
};
|
2015-04-20 14:45:41 +07:00
|
|
|
};
|