summaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2013-10-11 12:28:17 -0500
committerMarek Vasut <marex@denx.de>2013-10-20 23:42:41 +0200
commit834e91af432479e3808e9cbd1d38199f724fc5aa (patch)
tree1ee55275e290c7b2bc4ec4523d8ad1ed1eba8d5b /include/linux/usb
parentba55453ccf6d82c46b9f3eef5b958aac58adb6fb (diff)
downloadu-boot-834e91af432479e3808e9cbd1d38199f724fc5aa.tar.gz
u-boot-834e91af432479e3808e9cbd1d38199f724fc5aa.tar.xz
u-boot-834e91af432479e3808e9cbd1d38199f724fc5aa.zip
usb: dra7xx: Add support for dra7xx xhci USB host
Add the support for the dra7xx xhci usb host. dra7xx does not contain an EHCI controller so the headers can be removed from the board file. The xHCI host on dra7xx 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 'include/linux/usb')
-rw-r--r--include/linux/usb/xhci-omap.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/include/linux/usb/xhci-omap.h b/include/linux/usb/xhci-omap.h
index a73c0f9c48..c3fcc038c9 100644
--- a/include/linux/usb/xhci-omap.h
+++ b/include/linux/usb/xhci-omap.h
@@ -10,9 +10,16 @@
#ifndef _ASM_ARCH_XHCI_OMAP_H_
#define _ASM_ARCH_XHCI_OMAP_H_
+#ifdef CONFIG_DRA7XX
+#define OMAP_XHCI_BASE 0x488d0000
+#define OMAP_OCP1_SCP_BASE 0x4A081000
+#define OMAP_OTG_WRAPPER_BASE 0x488c0000
+#else
+/* Default to the OMAP5 XHCI defines */
#define OMAP_XHCI_BASE 0x4a030000
#define OMAP_OCP1_SCP_BASE 0x4a084c00
#define OMAP_OTG_WRAPPER_BASE 0x4A020000
+#endif
/* Phy register MACRO definitions */
#define PLL_REGM_MASK 0x001FFE00
@@ -122,9 +129,8 @@ struct omap_xhci {
};
/* USB PHY functions */
-void omap_enable_phy_clocks(struct omap_xhci *omap);
-void omap_usb3_phy_init(struct omap_usb3_phy *phy_regs);
+void omap_enable_phy(struct omap_xhci *omap);
void omap_reset_usb_phy(struct dwc3 *dwc3_reg);
-void usb3_phy_power(int on);
+void usb_phy_power(int on);
#endif /* _ASM_ARCH_XHCI_OMAP_H_ */