ARM: dts: imx23-olinuxino: Add USB host support
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 17 Sep 2012 13:01:45 +0000 (10:01 -0300)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 19 Sep 2012 03:05:09 +0000 (11:05 +0800)
Add USB host support.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx23-olinuxino.dts

index 711dcf5742b60b9f11949183f4a7c882d11e6de4..384d8b66f337e1ceec0388a9e49e6eeae5ffadce 100644 (file)
@@ -40,6 +40,7 @@
                                        reg = <0>;
                                        fsl,pinmux-ids = <
                                                0x2013 /* MX23_PAD_SSP1_DETECT__GPIO_2_1 */
+                                               0x0113 /* MX23_PAD_GPMI_ALE__GPIO_0_17 */
                                        >;
                                        fsl,drive-strength = <0>;
                                        fsl,voltage = <1>;
                                pinctrl-0 = <&auart0_2pins_a>;
                                status = "okay";
                        };
+
+                       usbphy0: usbphy@8007c000 {
+                               status = "okay";
+                       };
+               };
+       };
+
+       ahb@80080000 {
+               usb0: usb@80080000 {
+                       vbus-supply = <&reg_usb0_vbus>;
+                       status = "okay";
+               };
+       };
+
+       regulators {
+               compatible = "simple-bus";
+
+               reg_usb0_vbus: usb0_vbus {
+                       compatible = "regulator-fixed";
+                       regulator-name = "usb0_vbus";
+                       regulator-min-microvolt = <5000000>;
+                       regulator-max-microvolt = <5000000>;
+                       enable-active-high;
+                       startup-delay-us = <300>; /* LAN9215 requires a POR of 200us minimum */
+                       gpio = <&gpio0 17 0>;
                };
        };