2 * Blackfin MUSB HCD (Host Controller Driver) for u-boot
4 * Copyright (c) 2008-2009 Analog Devices Inc.
6 * Licensed under the GPL-2 or later.
9 #ifndef __BLACKFIN_USB_H__
10 #define __BLACKFIN_USB_H__
12 #include <linux/types.h>
14 /* Every register is 32bit aligned, but only 16bits in size */
15 #define ureg(name) u16 name; u16 __pad_##name;
17 #define musb_regs musb_regs
19 /* common registers */
34 /* indexed registers */
49 /* OTG, dynamic FIFO, version & vendor registers */
61 /* target address registers */
62 struct musb_tar_regs
{
76 } __attribute__((packed
));
78 struct bfin_musb_dma_regs
{
90 /* EP5-EP7 are the only ones with 1024 byte FIFOs which BULK really needs */
91 #define MUSB_BULK_EP 5
93 /* Blackfin FIFO's are static */
94 #define MUSB_NO_DYNAMIC_FIFO
96 /* No HUB support :( */
97 #define MUSB_NO_MULTIPOINT