diff options
author | Eric Bénard <eric@eukrea.com> | 2010-10-20 15:40:17 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-21 21:08:22 +0200 |
commit | b6a68cf1b5b4447a098690fbbe9c2b3165f0c834 (patch) | |
tree | b2f124c9d0f71cf4108e7587bdab0e1406729334 /arch/arm/mach-imx | |
parent | a9cc5d079a159bee9b6b4c01de378d3e94605343 (diff) | |
download | barebox-b6a68cf1b5b4447a098690fbbe9c2b3165f0c834.tar.gz barebox-b6a68cf1b5b4447a098690fbbe9c2b3165f0c834.tar.xz |
i.MX25 & 35 usb config bits : create mach/usb.h
as suggested by Baruch Siach
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/include/mach/usb.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/include/mach/usb.h b/arch/arm/mach-imx/include/mach/usb.h new file mode 100644 index 0000000000..5d6670d067 --- /dev/null +++ b/arch/arm/mach-imx/include/mach/usb.h @@ -0,0 +1,14 @@ +#ifndef __MACH_USB_H_ +#define __MACH_USB_H_ + +/* configuration bits for i.MX25 and i.MX35 */ +#define MX35_H1_SIC_SHIFT 21 +#define MX35_H1_SIC_MASK (0x3 << MX35_H1_SIC_SHIFT) +#define MX35_H1_PM_BIT (1 << 8) +#define MX35_H1_IPPUE_UP_BIT (1 << 7) +#define MX35_H1_IPPUE_DOWN_BIT (1 << 6) +#define MX35_H1_TLL_BIT (1 << 5) +#define MX35_H1_USBTE_BIT (1 << 4) +#define MXC_EHCI_INTERFACE_SINGLE_UNI (2 << 0) + +#endif /* __MACH_USB_H_*/ |