Commit | Line | Data |
---|---|---|
a81c1970 | 1 | /* |
5b3d515f BD |
2 | * Copyright 2008 Openmoko, Inc. |
3 | * Copyright 2008 Simtec Electronics | |
4 | * http://armlinux.simtec.co.uk/ | |
5 | * Ben Dooks <ben@simtec.co.uk> | |
6 | * | |
7 | * S3C64XX - modem block registers | |
8 | * | |
9 | * This program is free software; you can redistribute it and/or modify | |
10 | * it under the terms of the GNU General Public License version 2 as | |
11 | * published by the Free Software Foundation. | |
12 | */ | |
13 | ||
a81c1970 KK |
14 | #ifndef __MACH_S3C64XX_REGS_MODEM_H |
15 | #define __MACH_S3C64XX_REGS_MODEM_H __FILE__ | |
5b3d515f | 16 | |
a81c1970 | 17 | #define S3C64XX_MODEMREG(x) (S3C64XX_VA_MODEM + (x)) |
5b3d515f BD |
18 | |
19 | #define S3C64XX_MODEM_INT2AP S3C64XX_MODEMREG(0x0) | |
20 | #define S3C64XX_MODEM_INT2MODEM S3C64XX_MODEMREG(0x4) | |
21 | #define S3C64XX_MODEM_MIFCON S3C64XX_MODEMREG(0x8) | |
22 | #define S3C64XX_MODEM_MIFPCON S3C64XX_MODEMREG(0xC) | |
23 | #define S3C64XX_MODEM_INTCLR S3C64XX_MODEMREG(0x10) | |
24 | #define S3C64XX_MODEM_DMA_TXADDR S3C64XX_MODEMREG(0x14) | |
25 | #define S3C64XX_MODEM_DMA_RXADDR S3C64XX_MODEMREG(0x18) | |
26 | ||
27 | #define MIFPCON_INT2M_LEVEL (1 << 4) | |
28 | #define MIFPCON_LCD_BYPASS (1 << 3) | |
29 | ||
a81c1970 | 30 | #endif /* __MACH_S3C64XX_REGS_MODEM_H */ |