Ivan T. Ivanov | a190a1c | 2015-04-20 10:45:41 +0300 | [diff] [blame] | 1 | #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> |
| 2 | |
| 3 | &pm8916_gpios { |
| 4 | |
Ivan T. Ivanov | 8883ad8 | 2015-06-04 12:19:05 +0300 | [diff] [blame] | 5 | usb_hub_reset_pm: usb_hub_reset_pm { |
| 6 | pinconf { |
Ivan T. Ivanov | a190a1c | 2015-04-20 10:45:41 +0300 | [diff] [blame] | 7 | pins = "gpio3"; |
| 8 | function = PMIC_GPIO_FUNC_NORMAL; |
| 9 | output-low; |
| 10 | }; |
Ivan T. Ivanov | 8883ad8 | 2015-06-04 12:19:05 +0300 | [diff] [blame] | 11 | }; |
| 12 | |
| 13 | usb_sw_sel_pm: usb_sw_sel_pm { |
| 14 | pinconf { |
Ivan T. Ivanov | a190a1c | 2015-04-20 10:45:41 +0300 | [diff] [blame] | 15 | pins = "gpio4"; |
| 16 | function = PMIC_GPIO_FUNC_NORMAL; |
Ivan T. Ivanov | 8883ad8 | 2015-06-04 12:19:05 +0300 | [diff] [blame] | 17 | power-source = <PM8916_GPIO_VPH>; |
| 18 | input-disable; |
Ivan T. Ivanov | a190a1c | 2015-04-20 10:45:41 +0300 | [diff] [blame] | 19 | }; |
| 20 | }; |
Ivan T. Ivanov | 9943230 | 2015-06-04 12:19:06 +0300 | [diff] [blame] | 21 | |
| 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. Ivanov | 4bd40f6 | 2016-02-23 16:50:53 +0000 | [diff] [blame^] | 36 | function = "digital"; |
Ivan T. Ivanov | 9943230 | 2015-06-04 12:19:06 +0300 | [diff] [blame] | 37 | output-low; |
| 38 | }; |
| 39 | }; |
Ivan T. Ivanov | a190a1c | 2015-04-20 10:45:41 +0300 | [diff] [blame] | 40 | }; |