ARM: dts: cm-t3x30: add HS USB Host support
authorDmitry Lifshitz <lifshitz@compulab.co.il>
Sun, 12 Jan 2014 13:22:50 +0000 (15:22 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 28 Feb 2014 22:09:11 +0000 (14:09 -0800)
Add HS USB Host support along with USB PHYs and power supply regulators

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-cm-t3x.dtsi
arch/arm/boot/dts/omap3-cm-t3x30.dtsi

index abda4939c0b39986d365d9c29f5e56578464660f..c671a2299ea8efa64b21a1f31bbdcf7903a642d0 100644 (file)
                        linux,default-trigger = "heartbeat";
                };
        };
+
+       /* HS USB Port 1 Power */
+       hsusb1_power: hsusb1_power_reg {
+               compatible = "regulator-fixed";
+               regulator-name = "hsusb1_vbus";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               startup-delay-us = <70000>;
+       };
+
+       /* HS USB Port 2 Power */
+       hsusb2_power: hsusb2_power_reg {
+               compatible = "regulator-fixed";
+               regulator-name = "hsusb2_vbus";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               startup-delay-us = <70000>;
+       };
+
+       /* HS USB Host PHY on PORT 1 */
+       hsusb1_phy: hsusb1_phy {
+               compatible = "usb-nop-xceiv";
+               vcc-supply = <&hsusb1_power>;
+       };
+
+       /* HS USB Host PHY on PORT 2 */
+       hsusb2_phy: hsusb2_phy {
+               compatible = "usb-nop-xceiv";
+               vcc-supply = <&hsusb2_power>;
+       };
 };
 
 &omap3_pmx_core {
 &i2c3 {
        clock-frequency = <400000>;
 };
+&usbhshost {
+       port1-mode = "ehci-phy";
+       port2-mode = "ehci-phy";
+};
+
+&usbhsehci {
+       phys = <&hsusb1_phy &hsusb2_phy>;
+};
index a56d0828a757199b8501ba1637e64a423697129d..cb43929d361879dd3c3cbf8bf7de411cd4a50d49 100644 (file)
        /* pullups: BIT(0) */
        ti,pullups = <0x000001>;
 };
+
+&hsusb1_phy {
+       reset-gpios = <&twl_gpio 6 GPIO_ACTIVE_LOW>;
+};
+
+&hsusb2_phy {
+       reset-gpios = <&twl_gpio 7 GPIO_ACTIVE_LOW>;
+};