Skip to content

Commit 7fe9711

Browse files
committed
ODROID-C4: OTG pin change from GPIOH_6 to GPIOAO_2
Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: I029363a079ab327b28981c9cfaffd60055e50c6a
1 parent 9286190 commit 7fe9711

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

include/configs/odroid-g12-common.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -446,9 +446,6 @@
446446
#define CONFIG_USB_STORAGE 1
447447
#define CONFIG_USB_XHCI 1
448448
#define CONFIG_USB_XHCI_AMLOGIC_V2 1
449-
/* USB OTG Power Enable */
450-
#define CONFIG_USB_GPIO_PWR GPIOEE(GPIOH_6)
451-
#define CONFIG_USB_GPIO_PWR_NAME "GPIOH_6"
452449
/* USB Host Hub Reset */
453450
#define CONFIG_USB_HUB_RST_N GPIOEE(GPIOH_4)
454451
#define CONFIG_USB_HUB_RST_N_NAME "GPIOH_4"

include/configs/odroidc4.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,10 @@
1818

1919
#include "odroid-g12-common.h"
2020

21+
#if defined(CONFIG_CMD_USB)
22+
/* USB OTG Power Enable */
23+
#define CONFIG_USB_GPIO_PWR GPIOEE(GPIOAO_2)
24+
#define CONFIG_USB_GPIO_PWR_NAME "GPIOAO_2"
25+
#endif
26+
2127
#endif

include/configs/odroidn2.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,10 @@
1919

2020
#include "odroid-g12-common.h"
2121

22+
#if defined(CONFIG_CMD_USB)
23+
/* USB OTG Power Enable */
24+
#define CONFIG_USB_GPIO_PWR GPIOEE(GPIOH_6)
25+
#define CONFIG_USB_GPIO_PWR_NAME "GPIOH_6"
26+
#endif
27+
2228
#endif

0 commit comments

Comments
 (0)