Skip to content

Commit 80c73fd

Browse files
joshuakurlandchrillomat
authored andcommitted
wandboard/dts: Fix USB OTG
- Corrected pin assignment to use GPIO3_IO22. - Corrected iomux to use USB_OTG_POWER. - Changed USB mode from 'peripheral' to 'otg'. USB OTG will now work in both host and client modes.
1 parent 425fcb1 commit 80c73fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/arm/boot/dts/imx6qdl-wandboard.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
regulator-name = "usb_otg_vbus";
5757
regulator-min-microvolt = <5000000>;
5858
regulator-max-microvolt = <5000000>;
59-
gpio = <&gpio1 1 GPIO_ACTIVE_LOW>;
59+
gpio = <&gpio3 22 0>;
6060
enable-active-high;
6161
};
6262
};
@@ -349,7 +349,7 @@ reference manual.
349349
pinctrl_hog_1: hoggrp-1 {
350350
fsl,pins = <
351351
MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0
352-
MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x80000000 /* USB Power Enable */
352+
MX6QDL_PAD_EIM_D22__USB_OTG_PWR 0x80000000 /* USB Power Enable */
353353
MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x80000000 /* USDHC1 CD */
354354
MX6QDL_PAD_EIM_DA9__GPIO3_IO09 0x80000000 /* uSDHC3 CD */
355355
MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x000b0 /* SGTL5000 sys_mclk */
@@ -477,7 +477,7 @@ reference manual.
477477
pinctrl-names = "default";
478478
pinctrl-0 = <&pinctrl_usbotg_1>;
479479
disable-over-current;
480-
dr_mode = "peripheral";
480+
dr_mode = "otg";
481481
status = "okay";
482482
};
483483

0 commit comments

Comments
 (0)