[U-Boot] [PATCH] board: sama5d27_som1_ek: Fix the USB vbus power

Eugen Hristev eugen.hristev at microchip.com
Tue Apr 24 11:36:28 UTC 2018


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 at microchip.com>
---
 board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c b/board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c
index 80d7725..5eae111 100644
--- a/board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c
+++ b/board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c
@@ -20,7 +20,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
-- 
2.7.4



More information about the U-Boot mailing list