0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef __MACH_S3C24XX_ANUBIS_H
0013 #define __MACH_S3C24XX_ANUBIS_H __FILE__
0014
0015
0016
0017 #define ANUBIS_CTRL1_NANDSEL (0x3)
0018
0019
0020
0021 #define ANUBIS_IDREG_REVMASK (0x7)
0022
0023
0024
0025 #define ANUBIS_IRQ_IDE0 IRQ_EINT2
0026 #define ANUBIS_IRQ_IDE1 IRQ_EINT3
0027 #define ANUBIS_IRQ_ASIX IRQ_EINT1
0028
0029
0030
0031
0032
0033 #define ANUBIS_IOADDR(x) (S3C2410_ADDR((x) + 0x01800000))
0034
0035 #define ANUBIS_PA_CPLD (S3C2410_CS1 | (1<<26))
0036
0037
0038
0039 #define ANUBIS_VA_CTRL1 ANUBIS_IOADDR(0x00000000)
0040 #define ANUBIS_PA_CTRL1 ANUBIS_PA_CPLD
0041
0042 #define ANUBIS_VA_IDREG ANUBIS_IOADDR(0x00300000)
0043 #define ANUBIS_PA_IDREG (ANUBIS_PA_CPLD + (3 << 23))
0044
0045 #define ANUBIS_IDEPRI ANUBIS_IOADDR(0x01000000)
0046 #define ANUBIS_IDEPRIAUX ANUBIS_IOADDR(0x01100000)
0047 #define ANUBIS_IDESEC ANUBIS_IOADDR(0x01200000)
0048 #define ANUBIS_IDESECAUX ANUBIS_IOADDR(0x01300000)
0049
0050 #endif