ARM: tegra: Enable UDC on Beaver
authorThierry Reding <treding@nvidia.com>
Wed, 16 Aug 2017 10:32:42 +0000 (13:32 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 17 Aug 2017 14:35:50 +0000 (16:35 +0200)
Override the compatible string of the first USB controller to enable
device mode.

Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra30-beaver.dts

index 4f41b18..3e104dd 100644 (file)
                non-removable;
        };
 
+       usb@7d000000 {
+               compatible = "nvidia,tegra30-udc";
+               status = "okay";
+               dr_mode = "peripheral";
+       };
+
+       usb-phy@7d000000 {
+               status = "okay";
+       };
+
        usb@7d004000 {
                status = "okay";
        };