
23 May
2012
23 May
'12
3:07 p.m.
Dear Fabio Estevam,
On Tue, May 22, 2012 at 8:32 PM, Marek Vasut marex@denx.de 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