From: Thierry Reding Date: Wed, 16 Aug 2017 10:32:44 +0000 (+0300) Subject: ARM: tegra: Enable UDC on Jetson TK1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=96f1abf03e78df971b901aa8beba8c77e23a2617;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: tegra: Enable UDC on Jetson TK1 Override the compatible string of the first USB controller to enable device mode. Tested-by: Nicolas Chauvet Acked-by: Stephen Warren Signed-off-by: Thierry Reding --- 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";