From 1ca56202532395f26fc59a87e62c9cab1541f9f3 Mon Sep 17 00:00:00 2001 From: Wolfgang Grandegger Date: Fri, 11 Nov 2011 14:03:36 +0100 Subject: 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 CC: Stefano Babic CC: Remy Bohmer --- include/usb/ehci-fsl.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/usb/ehci-fsl.h') diff --git a/include/usb/ehci-fsl.h b/include/usb/ehci-fsl.h index f50a8f2..4ce0ab3 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 */ -- cgit v1.1