diff options
Diffstat (limited to 'arch/avr32/mach-at32ap/include/mach/at32ap700x.h')
-rw-r--r-- | arch/avr32/mach-at32ap/include/mach/at32ap700x.h | 52 |
1 files changed, 40 insertions, 12 deletions
diff --git a/arch/avr32/mach-at32ap/include/mach/at32ap700x.h b/arch/avr32/mach-at32ap/include/mach/at32ap700x.h index 5c4c971eed8e..b9222bf895bc 100644 --- a/arch/avr32/mach-at32ap/include/mach/at32ap700x.h +++ b/arch/avr32/mach-at32ap/include/mach/at32ap700x.h | |||
@@ -171,25 +171,49 @@ | |||
171 | ATMEL_LCDC(PE, DATA20) | ATMEL_LCDC(PE, DATA21) | \ | 171 | ATMEL_LCDC(PE, DATA20) | ATMEL_LCDC(PE, DATA21) | \ |
172 | ATMEL_LCDC(PD, DATA22) | ATMEL_LCDC(PD, DATA23)) | 172 | ATMEL_LCDC(PD, DATA22) | ATMEL_LCDC(PD, DATA23)) |
173 | 173 | ||
174 | #define ATMEL_LCDC_PRI_15B_DATA ( \ | 174 | #define ATMEL_LCDC_PRI_18B_DATA ( \ |
175 | ATMEL_LCDC(PC, DATA0) | ATMEL_LCDC(PC, DATA1) | \ | ||
176 | ATMEL_LCDC(PC, DATA2) | ATMEL_LCDC(PC, DATA3) | \ | 175 | ATMEL_LCDC(PC, DATA2) | ATMEL_LCDC(PC, DATA3) | \ |
177 | ATMEL_LCDC(PC, DATA4) | ATMEL_LCDC(PC, DATA5) | \ | 176 | ATMEL_LCDC(PC, DATA4) | ATMEL_LCDC(PC, DATA5) | \ |
178 | ATMEL_LCDC(PD, DATA8) | ATMEL_LCDC(PD, DATA9) | \ | 177 | ATMEL_LCDC(PD, DATA6) | ATMEL_LCDC(PD, DATA7) | \ |
179 | ATMEL_LCDC(PD, DATA10) | ATMEL_LCDC(PD, DATA11) | \ | 178 | ATMEL_LCDC(PD, DATA10) | ATMEL_LCDC(PD, DATA11) | \ |
180 | ATMEL_LCDC(PD, DATA12) | ATMEL_LCDC(PD, DATA16) | \ | 179 | ATMEL_LCDC(PD, DATA12) | ATMEL_LCDC(PD, DATA13) | \ |
181 | ATMEL_LCDC(PD, DATA17) | ATMEL_LCDC(PD, DATA18) | \ | 180 | ATMEL_LCDC(PD, DATA14) | ATMEL_LCDC(PD, DATA15) | \ |
182 | ATMEL_LCDC(PD, DATA19) | ATMEL_LCDC(PD, DATA20)) | 181 | ATMEL_LCDC(PD, DATA18) | ATMEL_LCDC(PD, DATA19) | \ |
182 | ATMEL_LCDC(PD, DATA20) | ATMEL_LCDC(PD, DATA21) | \ | ||
183 | ATMEL_LCDC(PD, DATA22) | ATMEL_LCDC(PD, DATA23)) | ||
183 | 184 | ||
184 | #define ATMEL_LCDC_ALT_15B_DATA ( \ | 185 | #define ATMEL_LCDC_ALT_18B_DATA ( \ |
185 | ATMEL_LCDC(PE, DATA0) | ATMEL_LCDC(PE, DATA1) | \ | ||
186 | ATMEL_LCDC(PE, DATA2) | ATMEL_LCDC(PE, DATA3) | \ | 186 | ATMEL_LCDC(PE, DATA2) | ATMEL_LCDC(PE, DATA3) | \ |
187 | ATMEL_LCDC(PE, DATA4) | ATMEL_LCDC(PC, DATA5) | \ | 187 | ATMEL_LCDC(PE, DATA4) | ATMEL_LCDC(PC, DATA5) | \ |
188 | ATMEL_LCDC(PE, DATA8) | ATMEL_LCDC(PE, DATA9) | \ | 188 | ATMEL_LCDC(PD, DATA6) | ATMEL_LCDC(PD, DATA7) | \ |
189 | ATMEL_LCDC(PE, DATA10) | ATMEL_LCDC(PE, DATA11) | \ | 189 | ATMEL_LCDC(PE, DATA10) | ATMEL_LCDC(PE, DATA11) | \ |
190 | ATMEL_LCDC(PE, DATA12) | ATMEL_LCDC(PE, DATA16) | \ | 190 | ATMEL_LCDC(PE, DATA12) | ATMEL_LCDC(PD, DATA13) | \ |
191 | ATMEL_LCDC(PE, DATA17) | ATMEL_LCDC(PE, DATA18) | \ | 191 | ATMEL_LCDC(PD, DATA14) | ATMEL_LCDC(PD, DATA15) | \ |
192 | ATMEL_LCDC(PE, DATA19) | ATMEL_LCDC(PE, DATA20)) | 192 | ATMEL_LCDC(PE, DATA18) | ATMEL_LCDC(PE, DATA19) | \ |
193 | ATMEL_LCDC(PE, DATA20) | ATMEL_LCDC(PE, DATA21) | \ | ||
194 | ATMEL_LCDC(PD, DATA22) | ATMEL_LCDC(PD, DATA23)) | ||
195 | |||
196 | #define ATMEL_LCDC_PRI_15B_DATA ( \ | ||
197 | ATMEL_LCDC(PC, DATA3) | ATMEL_LCDC(PC, DATA4) | \ | ||
198 | ATMEL_LCDC(PC, DATA5) | ATMEL_LCDC(PD, DATA6) | \ | ||
199 | ATMEL_LCDC(PD, DATA7) | \ | ||
200 | ATMEL_LCDC(PD, DATA11) | ATMEL_LCDC(PD, DATA12) | \ | ||
201 | ATMEL_LCDC(PD, DATA13) | ATMEL_LCDC(PD, DATA14) | \ | ||
202 | ATMEL_LCDC(PD, DATA15) | \ | ||
203 | ATMEL_LCDC(PD, DATA19) | ATMEL_LCDC(PD, DATA20) | \ | ||
204 | ATMEL_LCDC(PD, DATA21) | ATMEL_LCDC(PD, DATA22) | \ | ||
205 | ATMEL_LCDC(PD, DATA23)) | ||
206 | |||
207 | #define ATMEL_LCDC_ALT_15B_DATA ( \ | ||
208 | ATMEL_LCDC(PE, DATA3) | ATMEL_LCDC(PE, DATA4) | \ | ||
209 | ATMEL_LCDC(PC, DATA5) | ATMEL_LCDC(PD, DATA6) | \ | ||
210 | ATMEL_LCDC(PD, DATA7) | \ | ||
211 | ATMEL_LCDC(PE, DATA11) | ATMEL_LCDC(PE, DATA12) | \ | ||
212 | ATMEL_LCDC(PD, DATA13) | ATMEL_LCDC(PD, DATA14) | \ | ||
213 | ATMEL_LCDC(PD, DATA15) | \ | ||
214 | ATMEL_LCDC(PE, DATA19) | ATMEL_LCDC(PE, DATA20) | \ | ||
215 | ATMEL_LCDC(PE, DATA21) | ATMEL_LCDC(PD, DATA22) | \ | ||
216 | ATMEL_LCDC(PD, DATA23)) | ||
193 | 217 | ||
194 | #define ATMEL_LCDC_PRI_CONTROL ( \ | 218 | #define ATMEL_LCDC_PRI_CONTROL ( \ |
195 | ATMEL_LCDC(PC, CC) | ATMEL_LCDC(PC, DVAL) | \ | 219 | ATMEL_LCDC(PC, CC) | ATMEL_LCDC(PC, DVAL) | \ |
@@ -207,6 +231,10 @@ | |||
207 | 231 | ||
208 | #define ATMEL_LCDC_ALT_24BIT (ATMEL_LCDC_CONTROL | ATMEL_LCDC_ALT_24B_DATA) | 232 | #define ATMEL_LCDC_ALT_24BIT (ATMEL_LCDC_CONTROL | ATMEL_LCDC_ALT_24B_DATA) |
209 | 233 | ||
234 | #define ATMEL_LCDC_PRI_18BIT (ATMEL_LCDC_CONTROL | ATMEL_LCDC_PRI_18B_DATA) | ||
235 | |||
236 | #define ATMEL_LCDC_ALT_18BIT (ATMEL_LCDC_CONTROL | ATMEL_LCDC_ALT_18B_DATA) | ||
237 | |||
210 | #define ATMEL_LCDC_PRI_15BIT (ATMEL_LCDC_CONTROL | ATMEL_LCDC_PRI_15B_DATA) | 238 | #define ATMEL_LCDC_PRI_15BIT (ATMEL_LCDC_CONTROL | ATMEL_LCDC_PRI_15B_DATA) |
211 | 239 | ||
212 | #define ATMEL_LCDC_ALT_15BIT (ATMEL_LCDC_CONTROL | ATMEL_LCDC_ALT_15B_DATA) | 240 | #define ATMEL_LCDC_ALT_15BIT (ATMEL_LCDC_CONTROL | ATMEL_LCDC_ALT_15B_DATA) |