summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWolfgang Grandegger <wg@denx.de>2011-11-11 14:03:36 +0100
committerRemy Bohmer <linux@bohmer.net>2011-12-11 14:49:31 +0100
commit1ca56202532395f26fc59a87e62c9cab1541f9f3 (patch)
tree8c45f9927def3111f9982ea04791bc443eb682de /include
parent5d2947a3fc8d130cfa39fccdefb87082abbf0e9b (diff)
USB: MX5: add generic USB EHCI support for mx51 and mx53
It's derived from ehci-mxc and uses the header files of the ehci-fsl interface. The callback board_ehci_hcd_init() has been introduced to allow for board-specific setup when USB is started. Signed-off-by: Wolfgang Grandegger <wg@denx.de> CC: Stefano Babic <sbabic@denx.de> CC: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'include')
-rw-r--r--include/usb/ehci-fsl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/usb/ehci-fsl.h b/include/usb/ehci-fsl.h
index f50a8f23039..4ce0ab3f3a3 100644
--- a/include/usb/ehci-fsl.h
+++ b/include/usb/ehci-fsl.h
@@ -243,4 +243,14 @@ struct usb_ehci {
u8 res14[0xafc];
};
+/*
+ * For MXC SOCs
+ */
+#define MXC_EHCI_POWER_PINS_ENABLED (1 << 5)
+#define MXC_EHCI_TTL_ENABLED (1 << 6)
+#define MXC_EHCI_INTERNAL_PHY (1 << 7)
+
+/* Board-specific initialization */
+int board_ehci_hcd_init(int port);
+
#endif /* _EHCI_FSL_H */