aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/tegra124-apalis.dtsi
diff options
context:
space:
mode:
authorStefan Eichenberger <stefan.eichenberger@toradex.com>2021-12-12 00:13:59 +0300
committerThierry Reding <treding@nvidia.com>2021-12-15 17:29:54 +0100
commite6fd5c1e9fc5b35ad855cf748cc18b86776b6389 (patch)
treeb2ac283c93db764e8a6c673fc1011024b9701646 /arch/arm/boot/dts/tegra124-apalis.dtsi
parentARM: tegra: Add device-tree for 1080p version of Nyan Big (diff)
downloadlinux-dev-e6fd5c1e9fc5b35ad855cf748cc18b86776b6389.tar.xz
linux-dev-e6fd5c1e9fc5b35ad855cf748cc18b86776b6389.zip
ARM: tegra: Add usb-role-switch property to USB OTG ports
If an USB port is an OTG port, then we should add the usb-role-switch property. Otherwise XUSB setup fails and therefore padctl is unable to set up the ports. This leads to broken USB and PCIe ports. Add the usb-role-switch properties to Tegra124 device-trees to fix the problem. The error message shown without this patch is e.g: usb2-0: usb-role-switch not found for otg mode [digetx@gmail.com: improved commit message] Tested-by: Thomas Graichen <thomas.graichen@gmail.com> # T124 Nyan Big Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra124-apalis.dtsi')
-rw-r--r--arch/arm/boot/dts/tegra124-apalis.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra124-apalis.dtsi b/arch/arm/boot/dts/tegra124-apalis.dtsi
index 1d83f2e254c5..d3f16c117b0c 100644
--- a/arch/arm/boot/dts/tegra124-apalis.dtsi
+++ b/arch/arm/boot/dts/tegra124-apalis.dtsi
@@ -1880,6 +1880,7 @@
usb2-0 {
status = "okay";
mode = "otg";
+ usb-role-switch;
vbus-supply = <&reg_usbo1_vbus>;
};