]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
apalis/colibri_t30: fix usb dm regression
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Wed, 5 Aug 2015 22:47:12 +0000 (00:47 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:23:17 +0000 (10:23 +0200)
Unfortunately currently both Apalis T30 as well as Colibri T30 crash
upon starting USB host support. This is due to the following patch not
having taken into account that our T30 device trees were defaulting to
peripheral only mode instead of otg:

commit ddb9a502d18008e845d5a8fa03ec48630fa77fb7
dm: usb: tegra: Move most of init/uninit into a function

This patch fixes this by defaulting to otg now.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/dts/tegra30-apalis.dts
arch/arm/dts/tegra30-colibri.dts

index 13ab42bf3dcab6832bc9bda215c8f32dc0f5ce41..3e0545c8befb18dc4f282ad17a0d2736652a1fe8 100644 (file)
        /* EHCI instance 0: USB1_DP/N -> USBO1_DP/N */
        usb@7d000000 {
                status = "okay";
-               dr_mode = "peripheral";
+               dr_mode = "otg";
                /* USBO1_EN */
                nvidia,vbus-gpio = <&gpio TEGRA_GPIO(T, 5) GPIO_ACTIVE_HIGH>;
        };
index 1da726029517634520a70e1c62c0de4b86da6e13..487e1f6ae54cc6abde7b8a30f7c17a5b55408815 100644 (file)
@@ -76,7 +76,7 @@
        /* EHCI instance 0: USB1_DP/N -> USBC_P/N */
        usb@7d000000 {
                status = "okay";
-               dr_mode = "peripheral";
+               dr_mode = "otg";
        };
 
        /* EHCI instance 1: USB2_DP/N -> AX88772B */