summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2017-08-16 13:32:44 +0300
committerThierry Reding <treding@nvidia.com>2017-08-17 16:36:47 +0200
commit96f1abf03e78df971b901aa8beba8c77e23a2617 (patch)
tree27cb831b809aedbc2f6db55b71572e4b6c6e3e66
parent697af4ca666377f019a4a9f92daf995387950547 (diff)
downloadtalos-obmc-linux-96f1abf03e78df971b901aa8beba8c77e23a2617.tar.gz
talos-obmc-linux-96f1abf03e78df971b901aa8beba8c77e23a2617.zip
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>
-rw-r--r--arch/arm/boot/dts/tegra124-jetson-tk1.dts12
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/tegra124-jetson-tk1.dts b/arch/arm/boot/dts/tegra124-jetson-tk1.dts
index 7bacb2954f58..61873d642a45 100644
--- a/arch/arm/boot/dts/tegra124-jetson-tk1.dts
+++ b/arch/arm/boot/dts/tegra124-jetson-tk1.dts
@@ -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";
OpenPOWER on IntegriCloud