summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/imx-common
diff options
context:
space:
mode:
authorSanchayan Maity <maitysanchayan@gmail.com>2015-04-15 16:24:27 +0530
committerTom Rini <trini@konsulko.com>2015-04-23 14:56:09 -0400
commita94bb7a42c0c377bd4eecc8aec1ef454c9bad51a (patch)
treed0fdf4c96cf7056ae926ec46b56921ed42dd57ea /arch/arm/include/asm/imx-common
parente7b860fa4dd4de736d887deca19ca540abea4239 (diff)
downloadtalos-obmc-uboot-a94bb7a42c0c377bd4eecc8aec1ef454c9bad51a.tar.gz
talos-obmc-uboot-a94bb7a42c0c377bd4eecc8aec1ef454c9bad51a.zip
usb: host: Add ehci-vf USB driver for ARM Vybrid SoC's
This driver adds support for the USB peripheral on Freescale Vybrid SoC's. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Diffstat (limited to 'arch/arm/include/asm/imx-common')
-rw-r--r--arch/arm/include/asm/imx-common/regs-usbphy.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/include/asm/imx-common/regs-usbphy.h b/arch/arm/include/asm/imx-common/regs-usbphy.h
new file mode 100644
index 0000000000..220e45f344
--- /dev/null
+++ b/arch/arm/include/asm/imx-common/regs-usbphy.h
@@ -0,0 +1,26 @@
+/*
+ * Freescale USB PHY Register Definitions
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ *
+ */
+
+#ifndef __REGS_USBPHY_H__
+#define __REGS_USBPHY_H__
+
+#define USBPHY_CTRL 0x00000030
+#define USBPHY_CTRL_SET 0x00000034
+#define USBPHY_CTRL_CLR 0x00000038
+#define USBPHY_CTRL_TOG 0x0000003C
+#define USBPHY_PWD 0x00000000
+#define USBPHY_TX 0x00000010
+#define USBPHY_RX 0x00000020
+#define USBPHY_DEBUG 0x00000050
+
+#define USBPHY_CTRL_ENUTMILEVEL2 (1 << 14)
+#define USBPHY_CTRL_ENUTMILEVEL3 (1 << 15)
+#define USBPHY_CTRL_OTG_ID (1 << 27)
+#define USBPHY_CTRL_CLKGATE (1 << 30)
+#define USBPHY_CTRL_SFTRST (1 << 31)
+
+#endif /* __REGS_USBPHY_H__ */
OpenPOWER on IntegriCloud