ARM: STi: DT: STiH416: Add pinctl setup for usb controllers.
authorPeter Griffin <peter.griffin@linaro.org>
Mon, 17 Nov 2014 16:47:00 +0000 (17:47 +0100)
committerMaxime Coquelin <maxime.coquelin@st.com>
Tue, 18 Nov 2014 11:54:54 +0000 (12:54 +0100)
This patch adds the required pin config for all usb controllers
on the stih416.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
arch/arm/boot/dts/stih416-pinctrl.dtsi

index c2025bc37dd5cd52a394de6fcdf7c33cfc6fec0a..9cccf2d6aa26f5c17e0bd83684e17bb4335acabf 100644 (file)
                                };
                        };
 
+                       usb {
+                               pinctrl_usb3: usb3 {
+                                       st,pins {
+                                               oc-detect = <&pio40 0 ALT1 IN>;
+                                               pwr-enable = <&pio40 1 ALT1 OUT>;
+                                       };
+                               };
+                       };
+
                        sbc_i2c1 {
                                pinctrl_sbc_i2c1_default: sbc_i2c1-default {
                                        st,pins {
                                };
                        };
 
+                       usb {
+                               pinctrl_usb0: usb0 {
+                                       st,pins {
+                                               oc-detect = <&pio9 4 ALT1 IN>;
+                                               pwr-enable = <&pio9 5 ALT1 OUT>;
+                                       };
+                               };
+                       };
+
+
                        i2c1 {
                                pinctrl_i2c1_default: i2c1-default {
                                        st,pins {
                                        };
                                };
                        };
+
+                       usb {
+                               pinctrl_usb1: usb1 {
+                                       st,pins {
+                                               oc-detect = <&pio18 0 ALT1 IN>;
+                                               pwr-enable = <&pio18 1 ALT1 OUT>;
+                                       };
+                               };
+                               pinctrl_usb2: usb2 {
+                                       st,pins {
+                                               oc-detect = <&pio18 2 ALT1 IN>;
+                                               pwr-enable = <&pio18 3 ALT1 OUT>;
+                                       };
+                               };
+                       };
                };
 
                pin-controller-fvdp-fe {