mm: make wait_on_page_writeback() wait for multiple pending writebacks
[linux/fpc-iii.git] / arch / arm / mach-s3c / anubis.h
blob13847292e6c7ae7f05a595c8ec0c1f8ba55e07d0
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (c) 2005 Simtec Electronics
4 * http://www.simtec.co.uk/products/
5 * Ben Dooks <ben@simtec.co.uk>
7 * ANUBIS - CPLD control constants
8 * ANUBIS - IRQ Number definitions
9 * ANUBIS - Memory map definitions
12 #ifndef __MACH_S3C24XX_ANUBIS_H
13 #define __MACH_S3C24XX_ANUBIS_H __FILE__
15 /* CTRL2 - NAND WP control, IDE Reset assert/check */
17 #define ANUBIS_CTRL1_NANDSEL (0x3)
19 /* IDREG - revision */
21 #define ANUBIS_IDREG_REVMASK (0x7)
23 /* irq */
25 #define ANUBIS_IRQ_IDE0 IRQ_EINT2
26 #define ANUBIS_IRQ_IDE1 IRQ_EINT3
27 #define ANUBIS_IRQ_ASIX IRQ_EINT1
29 /* map */
31 /* start peripherals off after the S3C2410 */
33 #define ANUBIS_IOADDR(x) (S3C2410_ADDR((x) + 0x01800000))
35 #define ANUBIS_PA_CPLD (S3C2410_CS1 | (1<<26))
37 /* we put the CPLD registers next, to get them out of the way */
39 #define ANUBIS_VA_CTRL1 ANUBIS_IOADDR(0x00000000)
40 #define ANUBIS_PA_CTRL1 ANUBIS_PA_CPLD
42 #define ANUBIS_VA_IDREG ANUBIS_IOADDR(0x00300000)
43 #define ANUBIS_PA_IDREG (ANUBIS_PA_CPLD + (3 << 23))
45 #define ANUBIS_IDEPRI ANUBIS_IOADDR(0x01000000)
46 #define ANUBIS_IDEPRIAUX ANUBIS_IOADDR(0x01100000)
47 #define ANUBIS_IDESEC ANUBIS_IOADDR(0x01200000)
48 #define ANUBIS_IDESECAUX ANUBIS_IOADDR(0x01300000)
50 #endif /* __MACH_S3C24XX_ANUBIS_H */