[RFC 2/5] ARM: tegra: Enable UDC on TrimSlice

From: Thierry Reding
Date: Thu May 26 2016 - 11:40:29 EST


From: Thierry Reding <treding@xxxxxxxxxx>

Override the compatible string of the first USB controller to enable
device mode.

Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
---
arch/arm/boot/dts/tegra20-trimslice.dts | 3 +++
1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/tegra20-trimslice.dts b/arch/arm/boot/dts/tegra20-trimslice.dts
index 4a035f74043a..5496f3dc089c 100644
--- a/arch/arm/boot/dts/tegra20-trimslice.dts
+++ b/arch/arm/boot/dts/tegra20-trimslice.dts
@@ -336,11 +336,14 @@
};

usb@c5000000 {
+ compatible = "nvidia,tegra20-udc";
status = "okay";
+ dr_mode = "otg";
};

usb-phy@c5000000 {
status = "okay";
+ dr_mode = "otg";
vbus-supply = <&vbus_reg>;
};

--
2.8.3