From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 23 May 2012 15:07:31 +0200 Subject: [U-Boot] [PATCH 3/3] M28: Disable USB power on boot In-Reply-To: References: <1337729574-30475-1-git-send-email-marex@denx.de> <1337729574-30475-3-git-send-email-marex@denx.de> Message-ID: <201205231507.31841.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 Dear Fabio Estevam, > On Tue, May 22, 2012 at 8:32 PM, Marek Vasut wrote: > > void board_init_ll(void) > > { > > + /* Powerdown the USB */ > > + mxs_iomux_setup_pad(MX28_PAD_SSP2_SS1__USB1_OVERCURRENT); > > + mxs_iomux_setup_pad(MX28_PAD_AUART3_TX__GPIO_3_13 | > > + MXS_PAD_12MA | MXS_PAD_3V3 | MXS_PAD_PULLUP); > > + gpio_direction_output(MX28_PAD_AUART3_TX__GPIO_3_13, 1); > > I don't have access to the m28evk schematics, but please double check > if you really need to set this pin to '1' to powerdown the USB, or if > this should be a '0' instead. This is correct, it should be inverted. Best regards, Marek Vasut