ARM: tegra: Enable UDC on Jetson TK1

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

Tested-by: Nicolas Chauvet <kwizart@gmail.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
Thierry Reding 2017-08-16 13:32:44 +03:00
parent 697af4ca66
commit 96f1abf03e
1 changed files with 11 additions and 1 deletions

View File

@ -1722,7 +1722,7 @@
lanes {
usb2-0 {
nvidia,function = "xusb";
nvidia,function = "snps";
status = "okay";
};
@ -1829,6 +1829,16 @@
};
};
usb@7d000000 {
compatible = "nvidia,tegra124-udc";
status = "okay";
dr_mode = "peripheral";
};
usb-phy@7d000000 {
status = "okay";
};
/* mini-PCIe USB */
usb@7d004000 {
status = "okay";