xref: /OK3568_Linux_fs/buildroot/board/udoo/mx6qdl/patches/linux/0000-udoo-disable-usbh1.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1[PATCH] ARM: dts: imx6qdl-udoo: Disable usbh1 to avoid kernel hang
2
3Currently the kernel hangs when USB Host1 is enabled due to the lack of
4support for controlling the USB hub clock and GPIO reset line.
5
6Peter Chen has made several attempts to fix this problem, but his series
7has not been applied yet, so better disable USB host1 for now to avoid
8the kernel hang.
9
10Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
11---
12
13diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi
14index 828dd20cd27d..c9e122865312 100644
15--- a/arch/arm/boot/dts/imx6qdl-udoo.dtsi
16+++ b/arch/arm/boot/dts/imx6qdl-udoo.dtsi
17@@ -292,7 +292,8 @@ &usbh1 {
18 	pinctrl-0 = <&pinctrl_usbh>;
19 	vbus-supply = <&reg_usb_h1_vbus>;
20 	clocks = <&clks IMX6QDL_CLK_CKO>;
21-	status = "okay";
22+	/* currently USB support causes a kernel hang. Disable it for now */
23+	status = "disabled";
24 };
25
26 &usbotg {
27