summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-omap5
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2015-08-19 14:13:20 +0530
committerTom Rini <trini@konsulko.com>2015-08-28 12:33:21 -0400
commit7ba792c04481c02b994260c7d12bd9ecdf6b6d0e (patch)
tree579ae9ade520bdf4d80ac6bd5dc41dfe7cb93e5f /arch/arm/include/asm/arch-omap5
parent7c379aaa0315eaaba7be959d0dc096e182bcee43 (diff)
downloadtalos-obmc-uboot-7ba792c04481c02b994260c7d12bd9ecdf6b6d0e.tar.gz
talos-obmc-uboot-7ba792c04481c02b994260c7d12bd9ecdf6b6d0e.zip
board: ti: OMAP5: added USB initializtion code
Implemented board_usb_init(), board_usb_cleanup() and usb_gadget_handle_interrupts() in omap5 board file that can be invoked by various gadget drivers. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap5')
-rw-r--r--arch/arm/include/asm/arch-omap5/omap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-omap5/omap.h b/arch/arm/include/asm/arch-omap5/omap.h
index 0420a5edd5..b5b3838f45 100644
--- a/arch/arm/include/asm/arch-omap5/omap.h
+++ b/arch/arm/include/asm/arch-omap5/omap.h
@@ -43,6 +43,12 @@
#define DRA7_USB_OTG_SS2_BASE 0x488D0000
#define DRA7_USB_OTG_SS2_GLUE_BASE 0x488C0000
#define DRA7_USB2_PHY2_POWER 0x4A002E74
+#else
+#define OMAP5XX_USB_OTG_SS_BASE 0x4A030000
+#define OMAP5XX_USB_OTG_SS_GLUE_BASE 0x4A020000
+#define OMAP5XX_USB3_PHY_PLL_CTRL 0x4A084C00
+#define OMAP5XX_USB3_PHY_POWER 0x4A002370
+#define OMAP5XX_USB2_PHY_POWER 0x4A002300
#endif
/* To be verified */
OpenPOWER on IntegriCloud