]> git.sur5r.net Git - u-boot/commitdiff
board: sama5d27_som1_ek: Fix the USB vbus power
authorEugen Hristev <eugen.hristev@microchip.com>
Tue, 24 Apr 2018 11:36:28 +0000 (14:36 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 8 May 2018 13:07:36 +0000 (09:07 -0400)
According to the REVB schematic, fix the USB vbus power enable pin.

Based on original work by Wenyou Yang

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c

index 3c9731501558636d765e08a4854561dc745fe025..d5ddf8d2eba1f9c722dfbb8162287ca19ecd4cd1 100644 (file)
@@ -19,7 +19,7 @@ DECLARE_GLOBAL_DATA_PTR;
 
 static void board_usb_hw_init(void)
 {
-       atmel_pio4_set_pio_output(AT91_PIO_PORTB, 10, 1);
+       atmel_pio4_set_pio_output(AT91_PIO_PORTA, 27, 1);
 }
 
 #ifdef CONFIG_BOARD_LATE_INIT