OSDN Git Service

ARM: dts: omap4-droid4: Configure EHCI so modems can be accessed
authorTony Lindgren <tony@atomide.com>
Wed, 15 Mar 2017 00:39:42 +0000 (17:39 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 22 Mar 2017 16:09:23 +0000 (09:09 -0700)
Droid 4 has two modems, mdm6600 and w3glte. Both are on the HCI USB
controller.

Let's add a configuration for the HCI so the modems can be enabled.

Note that the modems still need additional GPIO based configuration.

Cc: devicetree@vger.kernel.org
Cc: Marcel Partap <mpartap@gmx.net>
Cc: Michael Scott <michael.scott@linaro.org>
Tested-by: Sebastian Reichel <sre@kernel.org>
[tony@atomide.com: left out url]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap4-droid4-xt894.dts

index 5d4dcbf..d381707 100644 (file)
                regulator-always-on;
        };
 
+       /* HS USB Host PHY on PORT 1 */
+       hsusb1_phy: hsusb1_phy {
+               compatible = "usb-nop-xceiv";
+       };
+
        /* LCD regulator from sw5 source */
        lcd_regulator: regulator-lcd {
                compatible = "regulator-fixed";
                               &omap4_pmx_core 0x17c>;
 };
 
+&usbhsehci {
+       phys = <&hsusb1_phy>;
+};
+
+&usbhshost {
+       port1-mode = "ohci-phy-4pin-dpdm";
+       port2-mode = "ehci-tll";
+};
+
 /* Internal UTMI+ PHY used for OTG, CPCAP ULPI PHY for detection and charger */
 &usb_otg_hs {
        interface-type = <1>;