summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2013-10-11 12:28:18 -0500
committerMarek Vasut <marex@denx.de>2013-10-20 23:42:41 +0200
commit3d799c7f5e0dd2bea3f4ec839ad7692f7122d992 (patch)
tree0cce5e5408e5949d608b39ddbb80e2a5476ddf06 /arch
parent834e91af432479e3808e9cbd1d38199f724fc5aa (diff)
downloadu-boot-3d799c7f5e0dd2bea3f4ec839ad7692f7122d992.tar.gz
u-boot-3d799c7f5e0dd2bea3f4ec839ad7692f7122d992.tar.bz2
u-boot-3d799c7f5e0dd2bea3f4ec839ad7692f7122d992.zip
usb: am437x: Add support for am437x xhci USB host
Add the support for the am437x xhci usb host. The xHCI host on AM437 is connected to a usb2 phy so need to add support to enable those clocks. Signed-off-by: Dan Murphy <dmurphy@ti.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-am33xx/hardware_am43xx.h10
1 files changed, 10 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 303c594d22..3b665e6620 100644
--- a/arch/arm/include/asm/arch-am33xx/hardware_am43xx.h
+++ b/arch/arm/include/asm/arch-am33xx/hardware_am43xx.h
@@ -51,4 +51,14 @@
/* RTC base address */
#define RTC_BASE 0x44E3E000
+/* USB Clock Control */
+#define PRM_PER_USB_OTG_SS0_CLKCTRL (CM_PER + 0x260)
+#define PRM_PER_USB_OTG_SS1_CLKCTRL (CM_PER + 0x268)
+#define USBOTGSSX_CLKCTRL_MODULE_EN (1 << 2)
+#define USBOTGSSX_CLKCTRL_OPTFCLKEN_REFCLK960 (1 << 8)
+
+#define PRM_PER_USBPHYOCP2SCP0_CLKCTRL (CM_PER + 0x5b8)
+#define PRM_PER_USBPHYOCP2SCP1_CLKCTRL (CM_PER + 0x5c0)
+#define USBPHYOCPSCP_MODULE_EN (1 << 2)
+
#endif /* __AM43XX_HARDWARE_AM43XX_H */