Skip to content

Commit

Permalink
ODROID-C4: OTG pin change from GPIOH_6 to GPIOAO_2
Browse files Browse the repository at this point in the history
Signed-off-by: Dongjin Kim <[email protected]>
Change-Id: I029363a079ab327b28981c9cfaffd60055e50c6a
  • Loading branch information
tobetter committed Aug 26, 2020
1 parent 9286190 commit 7fe9711
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/configs/odroid-g12-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -446,9 +446,6 @@
#define CONFIG_USB_STORAGE 1
#define CONFIG_USB_XHCI 1
#define CONFIG_USB_XHCI_AMLOGIC_V2 1
/* USB OTG Power Enable */
#define CONFIG_USB_GPIO_PWR GPIOEE(GPIOH_6)
#define CONFIG_USB_GPIO_PWR_NAME "GPIOH_6"
/* USB Host Hub Reset */
#define CONFIG_USB_HUB_RST_N GPIOEE(GPIOH_4)
#define CONFIG_USB_HUB_RST_N_NAME "GPIOH_4"
Expand Down
6 changes: 6 additions & 0 deletions include/configs/odroidc4.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,10 @@

#include "odroid-g12-common.h"

#if defined(CONFIG_CMD_USB)
/* USB OTG Power Enable */
#define CONFIG_USB_GPIO_PWR GPIOEE(GPIOAO_2)
#define CONFIG_USB_GPIO_PWR_NAME "GPIOAO_2"
#endif

#endif
6 changes: 6 additions & 0 deletions include/configs/odroidn2.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,10 @@

#include "odroid-g12-common.h"

#if defined(CONFIG_CMD_USB)
/* USB OTG Power Enable */
#define CONFIG_USB_GPIO_PWR GPIOEE(GPIOH_6)
#define CONFIG_USB_GPIO_PWR_NAME "GPIOH_6"
#endif

#endif

0 comments on commit 7fe9711

Please sign in to comment.