From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 16 Jul 2014 10:35:42 +0200 Subject: [U-Boot] [YBA] mx28evk.h CONFIG_EHCI_MXS_PORT0 power? In-Reply-To: References: Message-ID: <201407161035.42815.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday, June 25, 2014 at 07:14:24 PM, Jonathan Ben Avraham wrote: > Dear colleagues, > When I configure mx28evk with CONFIG_EHCI_MXS_PORT0 instead of the > default CONFIG_EHCI_MXS_PORT1, and run on an i.MX28 EVK PCB REV D, and > do "start usb" at the prompt, then ehci_set_usbmode(0) (to set host > mode) is called but there is no 5V output on the micro-usb connector and > so the attached storage device is not detected. > > When I use CONFIG_EHCI_MXS_PORT1 the storage device receives 5V and U-Boot > detects it. > > In Linux 3.13.9 with "dr_mode = host" in the usb0 DTS config, the > micro-usb connector receives 5V and the storage device is detected, so I > know that the hardware is configured correctly and works. You most likely need to toggle some GPIO to enable the power to the port. Check the schematics and check board/freescale/mx28evk/mx28evk.c for power toggling implementation, that's where the GPIO toggling goes. Best regards, Marek Vasut