diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2014-11-17 16:48:00 (GMT) |
---|---|---|
committer | Maxime Coquelin <maxime.coquelin@st.com> | 2014-11-18 11:54:55 (GMT) |
commit | ef893c1a935950610cbae5a0e6d1d62e080413de (patch) | |
tree | 0aca3273e7cfebb07ab4e91670eb6cb9402feba6 /arch | |
parent | cc149f7ae2fa54b3d067527642146dde37977358 (diff) | |
download | linux-ef893c1a935950610cbae5a0e6d1d62e080413de.tar.xz |
ARM: STi: DT: STiH410: Add pinctl config for usb controllers.
This patch adds the required pin configiguration for the extra usb
controllers found on the stih410 device.
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/stih410-pinctrl.dtsi | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stih410-pinctrl.dtsi b/arch/arm/boot/dts/stih410-pinctrl.dtsi new file mode 100644 index 0000000..b3e9dfc --- /dev/null +++ b/arch/arm/boot/dts/stih410-pinctrl.dtsi @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2014 STMicroelectronics Limited. + * Author: Peter Griffin <peter.griffin@linaro.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * publishhed by the Free Software Foundation. + */ +#include "st-pincfg.h" +/ { + + soc { + pin-controller-rear { + + usb0 { + pinctrl_usb0: usb2-0 { + st,pins { + usb-oc-detect = <&pio35 0 ALT1 IN>; + usb-pwr-enable = <&pio35 1 ALT1 OUT>; + }; + }; + }; + + usb1 { + pinctrl_usb1: usb2-1 { + st,pins { + usb-oc-detect = <&pio35 2 ALT1 IN>; + usb-pwr-enable = <&pio35 3 ALT1 OUT>; + }; + }; + }; + }; + }; +}; |