Patrice Chotard | cdf6b57 | 2017-02-21 13:37:11 +0100 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (C) 2014 STMicroelectronics Limited. |
| 3 | * Author: Peter Griffin <peter.griffin@linaro.org> |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License version 2 as |
| 7 | * publishhed by the Free Software Foundation. |
| 8 | */ |
| 9 | #include "st-pincfg.h" |
| 10 | / { |
| 11 | |
| 12 | soc { |
| 13 | pin-controller-rear { |
| 14 | |
| 15 | usb0 { |
| 16 | pinctrl_usb0: usb2-0 { |
| 17 | st,pins { |
| 18 | usb-oc-detect = <&pio35 0 ALT1 IN>; |
| 19 | usb-pwr-enable = <&pio35 1 ALT1 OUT>; |
| 20 | }; |
| 21 | }; |
| 22 | }; |
| 23 | |
| 24 | usb1 { |
| 25 | pinctrl_usb1: usb2-1 { |
| 26 | st,pins { |
| 27 | usb-oc-detect = <&pio35 2 ALT1 IN>; |
| 28 | usb-pwr-enable = <&pio35 3 ALT1 OUT>; |
| 29 | }; |
| 30 | }; |
| 31 | }; |
| 32 | }; |
| 33 | }; |
| 34 | }; |