ARM: dts: omap3: Adapt USB OTG to generic PHY framework
authorRoger Quadros <rogerq@ti.com>
Mon, 7 Oct 2013 13:28:13 +0000 (16:28 +0300)
committerBenoit Cousson <bcousson@baylibre.com>
Sun, 20 Oct 2013 17:16:08 +0000 (19:16 +0200)
The generic PHY framewrok expects different properties than the
old USB PHY framework. Supply those properties.

Fixes USB OTG port on GAT04 and N900 after the Generic PHY framework was
merged in greg/usb-next. [1]

[1] - https://lkml.org/lkml/2013/9/27/581

Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
arch/arm/boot/dts/omap3-gta04.dts
arch/arm/boot/dts/omap3-n900.dts

index a84684a958918f5dfe02db4c4a1aa6572823e030..b9b55c95a566c3ea6f6f21e55b787b9c31c2194f 100644 (file)
 &usb_otg_hs {
        interface-type = <0>;
        usb-phy = <&usb2_phy>;
+       phys = <&usb2_phy>;
+       phy-names = "usb2-phy";
        mode = <3>;
        power = <50>;
 };
index d64fa04e83f6f4a46ca210b4a069d3f2680d0837..e13b697f8bce36eaf84cf4a03e6929aa48da3d82 100644 (file)
@@ -87,6 +87,8 @@
 &usb_otg_hs {
        interface-type = <0>;
        usb-phy = <&usb2_phy>;
+       phys = <&usb2_phy>;
+       phy-names = "usb2-phy";
        mode = <2>;
        power = <50>;
 };