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

Signed-off-by: Dmitry Osipenko <dig...@gmail.com>
Tested-by: Marc Dietrich <marvi...@gmx.de>
Acked-by: Stephen Warren <swar...@nvidia.com>
---
 arch/arm/boot/dts/tegra20-paz00.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/tegra20-paz00.dts 
b/arch/arm/boot/dts/tegra20-paz00.dts
index b4bfa5586c23..bfa9421fcf94 100644
--- a/arch/arm/boot/dts/tegra20-paz00.dts
+++ b/arch/arm/boot/dts/tegra20-paz00.dts
@@ -452,7 +452,9 @@
        };
 
        usb@c5000000 {
+               compatible = "nvidia,tegra20-udc";
                status = "okay";
+               dr_mode = "peripheral";
        };
 
        usb-phy@c5000000 {
-- 
2.13.3

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to