1// SPDX-License-Identifier: GPL-2.0 2#include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 3#include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 4 5&pm8916_gpios { 6 7 usb_hub_reset_pm: usb_hub_reset_pm { 8 pinconf { 9 pins = "gpio3"; 10 function = PMIC_GPIO_FUNC_NORMAL; 11 output-low; 12 }; 13 }; 14 15 usb_sw_sel_pm: usb_sw_sel_pm { 16 pinconf { 17 pins = "gpio4"; 18 function = PMIC_GPIO_FUNC_NORMAL; 19 power-source = <PM8916_GPIO_VPH>; 20 input-disable; 21 output-high; 22 }; 23 }; 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 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 48 pm8916_mpps_leds: pm8916_mpps_leds { 49 pinconf { 50 pins = "mpp2", "mpp3"; 51 function = "digital"; 52 output-low; 53 }; 54 }; 55}; 56