Go to the documentation of this file. 1 #ifndef _ASM_ARCH_PXA25X_UDC_H
2 #define _ASM_ARCH_PXA25X_UDC_H
4 #ifdef _ASM_ARCH_PXA27X_UDC_H
5 #error "You can't include both PXA25x and PXA27x UDC support"
8 #define UDC_RES1 __REG(0x40600004)
9 #define UDC_RES2 __REG(0x40600008)
10 #define UDC_RES3 __REG(0x4060000C)
12 #define UDCCR __REG(0x40600000)
13 #define UDCCR_UDE (1 << 0)
14 #define UDCCR_UDA (1 << 1)
15 #define UDCCR_RSM (1 << 2)
16 #define UDCCR_RESIR (1 << 3)
17 #define UDCCR_SUSIR (1 << 4)
18 #define UDCCR_SRM (1 << 5)
19 #define UDCCR_RSTIR (1 << 6)
20 #define UDCCR_REM (1 << 7)
22 #define UDCCS0 __REG(0x40600010)
23 #define UDCCS0_OPR (1 << 0)
24 #define UDCCS0_IPR (1 << 1)
25 #define UDCCS0_FTF (1 << 2)
26 #define UDCCS0_DRWF (1 << 3)
27 #define UDCCS0_SST (1 << 4)
28 #define UDCCS0_FST (1 << 5)
29 #define UDCCS0_RNE (1 << 6)
30 #define UDCCS0_SA (1 << 7)
33 #define UDCCS1 __REG(0x40600014)
34 #define UDCCS6 __REG(0x40600028)
35 #define UDCCS11 __REG(0x4060003C)
37 #define UDCCS_BI_TFS (1 << 0)
38 #define UDCCS_BI_TPC (1 << 1)
39 #define UDCCS_BI_FTF (1 << 2)
40 #define UDCCS_BI_TUR (1 << 3)
41 #define UDCCS_BI_SST (1 << 4)
42 #define UDCCS_BI_FST (1 << 5)
43 #define UDCCS_BI_TSP (1 << 7)
46 #define UDCCS2 __REG(0x40600018)
47 #define UDCCS7 __REG(0x4060002C)
48 #define UDCCS12 __REG(0x40600040)
50 #define UDCCS_BO_RFS (1 << 0)
51 #define UDCCS_BO_RPC (1 << 1)
52 #define UDCCS_BO_DME (1 << 3)
53 #define UDCCS_BO_SST (1 << 4)
54 #define UDCCS_BO_FST (1 << 5)
55 #define UDCCS_BO_RNE (1 << 6)
56 #define UDCCS_BO_RSP (1 << 7)
59 #define UDCCS3 __REG(0x4060001C)
60 #define UDCCS8 __REG(0x40600030)
61 #define UDCCS13 __REG(0x40600044)
63 #define UDCCS_II_TFS (1 << 0)
64 #define UDCCS_II_TPC (1 << 1)
65 #define UDCCS_II_FTF (1 << 2)
66 #define UDCCS_II_TUR (1 << 3)
67 #define UDCCS_II_TSP (1 << 7)
70 #define UDCCS4 __REG(0x40600020)
71 #define UDCCS9 __REG(0x40600034)
72 #define UDCCS14 __REG(0x40600048)
74 #define UDCCS_IO_RFS (1 << 0)
75 #define UDCCS_IO_RPC (1 << 1)
76 #define UDCCS_IO_ROF (1 << 2)
77 #define UDCCS_IO_DME (1 << 3)
78 #define UDCCS_IO_RNE (1 << 6)
79 #define UDCCS_IO_RSP (1 << 7)
82 #define UDCCS5 __REG(0x40600024)
83 #define UDCCS10 __REG(0x40600038)
84 #define UDCCS15 __REG(0x4060004C)
86 #define UDCCS_INT_TFS (1 << 0)
87 #define UDCCS_INT_TPC (1 << 1)
88 #define UDCCS_INT_FTF (1 << 2)
89 #define UDCCS_INT_TUR (1 << 3)
90 #define UDCCS_INT_SST (1 << 4)
91 #define UDCCS_INT_FST (1 << 5)
92 #define UDCCS_INT_TSP (1 << 7)
94 #define UFNRH __REG(0x40600060)
95 #define UFNRL __REG(0x40600064)
96 #define UBCR2 __REG(0x40600068)
97 #define UBCR4 __REG(0x4060006c)
98 #define UBCR7 __REG(0x40600070)
99 #define UBCR9 __REG(0x40600074)
100 #define UBCR12 __REG(0x40600078)
101 #define UBCR14 __REG(0x4060007c)
102 #define UDDR0 __REG(0x40600080)
103 #define UDDR1 __REG(0x40600100)
104 #define UDDR2 __REG(0x40600180)
105 #define UDDR3 __REG(0x40600200)
106 #define UDDR4 __REG(0x40600400)
107 #define UDDR5 __REG(0x406000A0)
108 #define UDDR6 __REG(0x40600600)
109 #define UDDR7 __REG(0x40600680)
110 #define UDDR8 __REG(0x40600700)
111 #define UDDR9 __REG(0x40600900)
112 #define UDDR10 __REG(0x406000C0)
113 #define UDDR11 __REG(0x40600B00)
114 #define UDDR12 __REG(0x40600B80)
115 #define UDDR13 __REG(0x40600C00)
116 #define UDDR14 __REG(0x40600E00)
117 #define UDDR15 __REG(0x406000E0)
119 #define UICR0 __REG(0x40600050)
121 #define UICR0_IM0 (1 << 0)
122 #define UICR0_IM1 (1 << 1)
123 #define UICR0_IM2 (1 << 2)
124 #define UICR0_IM3 (1 << 3)
125 #define UICR0_IM4 (1 << 4)
126 #define UICR0_IM5 (1 << 5)
127 #define UICR0_IM6 (1 << 6)
128 #define UICR0_IM7 (1 << 7)
130 #define UICR1 __REG(0x40600054)
132 #define UICR1_IM8 (1 << 0)
133 #define UICR1_IM9 (1 << 1)
134 #define UICR1_IM10 (1 << 2)
135 #define UICR1_IM11 (1 << 3)
136 #define UICR1_IM12 (1 << 4)
137 #define UICR1_IM13 (1 << 5)
138 #define UICR1_IM14 (1 << 6)
139 #define UICR1_IM15 (1 << 7)
141 #define USIR0 __REG(0x40600058)
143 #define USIR0_IR0 (1 << 0)
144 #define USIR0_IR1 (1 << 1)
145 #define USIR0_IR2 (1 << 2)
146 #define USIR0_IR3 (1 << 3)
147 #define USIR0_IR4 (1 << 4)
148 #define USIR0_IR5 (1 << 5)
149 #define USIR0_IR6 (1 << 6)
150 #define USIR0_IR7 (1 << 7)
152 #define USIR1 __REG(0x4060005C)
154 #define USIR1_IR8 (1 << 0)
155 #define USIR1_IR9 (1 << 1)
156 #define USIR1_IR10 (1 << 2)
157 #define USIR1_IR11 (1 << 3)
158 #define USIR1_IR12 (1 << 4)
159 #define USIR1_IR13 (1 << 5)
160 #define USIR1_IR14 (1 << 6)
161 #define USIR1_IR15 (1 << 7)