Ivan T. Ivanov | a190a1c | 2015-04-20 10:45:41 +0300 | [diff] [blame] | 1 | |
| 2 | #include <dt-bindings/gpio/gpio.h> |
| 3 | |
| 4 | &msmgpio { |
| 5 | |
Ivan T. Ivanov | 9943230 | 2015-06-04 12:19:06 +0300 | [diff] [blame] | 6 | msmgpio_leds: msmgpio_leds { |
| 7 | pinconf { |
| 8 | pins = "gpio21", "gpio120"; |
Ivan T. Ivanov | a190a1c | 2015-04-20 10:45:41 +0300 | [diff] [blame] | 9 | function = "gpio"; |
| 10 | output-low; |
| 11 | }; |
| 12 | }; |
Srinivas Kandagatla | dd8cdc9 | 2016-02-23 16:49:56 +0000 | [diff] [blame] | 13 | |
| 14 | usb_id_default: usb-id-default { |
| 15 | pinmux { |
| 16 | function = "gpio"; |
| 17 | pins = "gpio121"; |
| 18 | }; |
| 19 | |
| 20 | pinconf { |
| 21 | pins = "gpio121"; |
| 22 | drive-strength = <8>; |
| 23 | input-enable; |
| 24 | bias-pull-up; |
| 25 | }; |
| 26 | }; |
Archit Taneja | 28546b0 | 2016-06-23 19:43:30 +0530 | [diff] [blame] | 27 | |
| 28 | adv7533_int_active: adv533_int_active { |
| 29 | pinmux { |
| 30 | function = "gpio"; |
| 31 | pins = "gpio31"; |
| 32 | }; |
| 33 | pinconf { |
| 34 | pins = "gpio31"; |
| 35 | drive-strength = <16>; |
| 36 | bias-disable; |
| 37 | }; |
| 38 | }; |
| 39 | |
| 40 | adv7533_int_suspend: adv7533_int_suspend { |
| 41 | pinmux { |
| 42 | function = "gpio"; |
| 43 | pins = "gpio31"; |
| 44 | }; |
| 45 | pinconf { |
| 46 | pins = "gpio31"; |
| 47 | drive-strength = <2>; |
| 48 | bias-disable; |
| 49 | }; |
| 50 | }; |
| 51 | |
| 52 | adv7533_switch_active: adv7533_switch_active { |
| 53 | pinmux { |
| 54 | function = "gpio"; |
| 55 | pins = "gpio32"; |
| 56 | }; |
| 57 | pinconf { |
| 58 | pins = "gpio32"; |
| 59 | drive-strength = <16>; |
| 60 | bias-disable; |
| 61 | }; |
| 62 | }; |
| 63 | |
| 64 | adv7533_switch_suspend: adv7533_switch_suspend { |
| 65 | pinmux { |
| 66 | function = "gpio"; |
| 67 | pins = "gpio32"; |
| 68 | }; |
| 69 | pinconf { |
| 70 | pins = "gpio32"; |
| 71 | drive-strength = <2>; |
| 72 | bias-disable; |
| 73 | }; |
| 74 | }; |
Ivan T. Ivanov | f953d99 | 2017-01-04 13:34:59 +0000 | [diff] [blame] | 75 | |
| 76 | msm_key_volp_n_default: msm_key_volp_n_default { |
| 77 | pinmux { |
| 78 | function = "gpio"; |
| 79 | pins = "gpio107"; |
| 80 | }; |
| 81 | pinconf { |
| 82 | pins = "gpio107"; |
| 83 | drive-strength = <8>; |
| 84 | input-enable; |
| 85 | bias-pull-up; |
| 86 | }; |
| 87 | }; |
Ivan T. Ivanov | a190a1c | 2015-04-20 10:45:41 +0300 | [diff] [blame] | 88 | }; |