summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongjin Kim <tobetter@gmail.com>2020-08-26 21:18:47 +0300
committerDongjin Kim <tobetter@gmail.com>2020-08-26 21:22:05 +0300
commit7fe9711925c541cc2359b3a954599c3c5a20e75c (patch)
tree1f0d547770a150f67a162028f02fc4d01d0b16f8
parent9286190cb5afa281939fd61b21205f1e00a737ce (diff)
downloadu-boot-7fe9711925c541cc2359b3a954599c3c5a20e75c.tar.xz
ODROID-C4: OTG pin change from GPIOH_6 to GPIOAO_2travis/odroidn2-145travis/odroidc4-145g12_9.0.0_64_20200827
Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: I029363a079ab327b28981c9cfaffd60055e50c6a
-rw-r--r--include/configs/odroid-g12-common.h3
-rw-r--r--include/configs/odroidc4.h6
-rw-r--r--include/configs/odroidn2.h6
3 files changed, 12 insertions, 3 deletions
diff --git a/include/configs/odroid-g12-common.h b/include/configs/odroid-g12-common.h
index ec234de9a4..b53d390c96 100644
--- a/include/configs/odroid-g12-common.h
+++ b/include/configs/odroid-g12-common.h
@@ -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"
diff --git a/include/configs/odroidc4.h b/include/configs/odroidc4.h
index d3cdf4416c..3336abe762 100644
--- a/include/configs/odroidc4.h
+++ b/include/configs/odroidc4.h
@@ -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
diff --git a/include/configs/odroidn2.h b/include/configs/odroidn2.h
index 56f56fd439..909106decb 100644
--- a/include/configs/odroidn2.h
+++ b/include/configs/odroidn2.h
@@ -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