Commit f246a0a3 authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo

ARM: dts: imx6qdl-udoo: Enable USB host

Commit 8f2ca252 ("ARM: dts: imx6qdl-udoo: Disable USB host to
work around boot issues") disabled USB host to avoid boot hang.

Properly describe the USB2514 USB hub to fix this issue.

Tested on a imx6q-udoo board and verified that it boots fine
and USB host functionality works.
Signed-off-by: default avatarFabio Estevam <festevam@denx.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent eefb9049
...@@ -59,16 +59,6 @@ panel_in: endpoint { ...@@ -59,16 +59,6 @@ panel_in: endpoint {
}; };
}; };
reg_usb_h1_vbus: regulator-usb-h1-vbus {
compatible = "regulator-fixed";
regulator-name = "usb_h1_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
enable-active-high;
startup-delay-us = <2>; /* USB2415 requires a POR of 1 us minimum */
gpio = <&gpio7 12 0>;
};
reg_panel: regulator-panel { reg_panel: regulator-panel {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "lcd_panel"; regulator-name = "lcd_panel";
...@@ -285,9 +275,18 @@ &uart4 { ...@@ -285,9 +275,18 @@ &uart4 {
&usbh1 { &usbh1 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usbh>; pinctrl-0 = <&pinctrl_usbh>;
vbus-supply = <&reg_usb_h1_vbus>; #address-cells = <1>;
clocks = <&clks IMX6QDL_CLK_CKO>; #size-cells = <0>;
status = "disabled"; status = "okay";
usb-port@1 {
compatible = "usb424,2514";
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clks IMX6QDL_CLK_CKO>;
reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
};
}; };
&usbotg { &usbotg {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment