summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2015-02-23 18:40:21 +0530
committerMarek Vasut <marex@denx.de>2015-04-14 05:48:11 +0200
commit9f81eb77eac8acefb533eaacd8eeadd96050ad9f (patch)
tree50413a164ff4d1bab582f82701730373b705228a /arch/arm/include
parent7a5a3e37bfc2caab0e8c191a4b3a06228dd1a558 (diff)
downloadu-boot-imx-9f81eb77eac8acefb533eaacd8eeadd96050ad9f.zip
u-boot-imx-9f81eb77eac8acefb533eaacd8eeadd96050ad9f.tar.gz
u-boot-imx-9f81eb77eac8acefb533eaacd8eeadd96050ad9f.tar.bz2
board: ti: AM43xx: added USB initializtion code
Implemented board_usb_init(), board_usb_cleanup() and usb_gadget_handle_interrupts() in am43xx board file that can be invoked by various gadget drivers. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-am33xx/hardware_am43xx.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-am33xx/hardware_am43xx.h b/arch/arm/include/asm/arch-am33xx/hardware_am43xx.h
index f6523ea..479893e 100644
--- a/arch/arm/include/asm/arch-am33xx/hardware_am43xx.h
+++ b/arch/arm/include/asm/arch-am33xx/hardware_am43xx.h
@@ -61,6 +61,15 @@
/* RTC base address */
#define RTC_BASE 0x44E3E000
+/* USB OTG */
+#define USB_OTG_SS1_BASE 0x48390000
+#define USB_OTG_SS1_GLUE_BASE 0x48380000
+#define USB2_PHY1_POWER 0x44E10620
+
+#define USB_OTG_SS2_BASE 0x483D0000
+#define USB_OTG_SS2_GLUE_BASE 0x483C0000
+#define USB2_PHY2_POWER 0x44E10628
+
/* USB Clock Control */
#define PRM_PER_USB_OTG_SS0_CLKCTRL (CM_PER + 0x260)
#define PRM_PER_USB_OTG_SS1_CLKCTRL (CM_PER + 0x268)