ARM: dts: bcm283x: Add generic USB PHY
authorStefan Wahren <stefan.wahren@i2se.com>
Sun, 21 May 2017 16:44:37 +0000 (18:44 +0200)
committerEric Anholt <eric@anholt.net>
Mon, 12 Jun 2017 20:28:27 +0000 (13:28 -0700)
In order to use dwc2 in OTG or gadget mode the USB PHY should be
specified. Since there is no bcm283x USB PHY driver use the generic
one.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
arch/arm/boot/dts/bcm283x.dtsi

index 86a5db5..9a05cde 100644 (file)
                        #size-cells = <0>;
                        clocks = <&clk_usb>;
                        clock-names = "otg";
+                       phys = <&usbphy>;
+                       phy-names = "usb2-phy";
                };
 
                v3d: v3d@7ec00000 {
                        clock-frequency = <480000000>;
                };
        };
+
+       usbphy: phy {
+               compatible = "usb-nop-xceiv";
+       };
 };