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 | }; |
Ivan T. Ivanov | a190a1c | 2015-04-20 10:45:41 +0300 | [diff] [blame] | 27 | }; |