2 * linux/drivers/usb/host/ohci-omap.h
4 * OMAP OHCI USB controller specific defines
7 /* OMAP USB OHCI common defines */
8 #define OMAP_OHCI_NAME "omap-ohci"
9 #define OMAP_OHCI_BASE 0xfffba000
10 #define OMAP_OHCI_SIZE 4096
12 #define HMC_CLEAR (0x3f << 1)
13 #define APLL_NDPLL_SWITCH 0x0001
14 #define DPLL_PLL_ENABLE 0x0010
15 #define DPLL_LOCK 0x0001
16 #define SOFT_REQ_REG_REQ 0x0001
17 #define USB_MCLK_EN 0x0010
18 #define USB_HOST_HHC_UHOST_EN 0x00000200
19 #define SOFT_USB_OTG_REQ (1 << 8)
20 #define SOFT_USB_REQ (1 << 3)
21 #define STATUS_REQ_REG 0xfffe0840
22 #define USB_HOST_DPLL_REQ (1 << 8)
23 #define SOFT_DPLL_REQ (1 << 0)
25 /* OMAP-1510 USB OHCI defines */
26 #define OMAP1510_LB_MEMSIZE 32 /* Should be same as SDRAM size */
27 #define OMAP1510_LB_CLOCK_DIV 0xfffec10c
28 #define OMAP1510_LB_MMU_CTL 0xfffec208
29 #define OMAP1510_LB_MMU_LCK 0xfffec224
30 #define OMAP1510_LB_MMU_LD_TLB 0xfffec228
31 #define OMAP1510_LB_MMU_CAM_H 0xfffec22c
32 #define OMAP1510_LB_MMU_CAM_L 0xfffec230
33 #define OMAP1510_LB_MMU_RAM_H 0xfffec234
34 #define OMAP1510_LB_MMU_RAM_L 0xfffec238
36 /* OMAP-1610 USB OHCI defines */
37 #define USB_TRANSCEIVER_CTRL 0xfffe1064
38 #define OTG_REV 0xfffb0400
40 #define OTG_SYSCON_1 0xfffb0404
41 #define OTG_IDLE_EN (1 << 15)
42 #define DEV_IDLE_EN (1 << 13)
44 #define OTG_SYSCON_2 0xfffb0408
45 #define OTG_CTRL 0xfffb040c
46 #define OTG_IRQ_EN 0xfffb0410
47 #define OTG_IRQ_SRC 0xfffb0414
49 #define OTG_EN (1 << 31)
50 #define USBX_SYNCHRO (1 << 30)
51 #define SRP_VBUS (1 << 12)
52 #define OTG_PADEN (1 << 10)
53 #define HMC_PADEN (1 << 9)
54 #define UHOST_EN (1 << 8)
56 /* Hardware specific defines */
57 #define OMAP1510_FPGA_HOST_CTRL 0xe800020c