Kukjin Kim | a81c197 | 2013-01-02 13:24:12 -0800 | [diff] [blame] | 1 | /* |
Ben Dooks | 5b3d515 | 2008-12-12 00:24:38 +0000 | [diff] [blame] | 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 | |
Kukjin Kim | a81c197 | 2013-01-02 13:24:12 -0800 | [diff] [blame] | 14 | #ifndef __MACH_S3C64XX_REGS_MODEM_H |
| 15 | #define __MACH_S3C64XX_REGS_MODEM_H __FILE__ |
Ben Dooks | 5b3d515 | 2008-12-12 00:24:38 +0000 | [diff] [blame] | 16 | |
Kukjin Kim | a81c197 | 2013-01-02 13:24:12 -0800 | [diff] [blame] | 17 | #define S3C64XX_MODEMREG(x) (S3C64XX_VA_MODEM + (x)) |
Ben Dooks | 5b3d515 | 2008-12-12 00:24:38 +0000 | [diff] [blame] | 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 | |
Kukjin Kim | a81c197 | 2013-01-02 13:24:12 -0800 | [diff] [blame] | 30 | #endif /* __MACH_S3C64XX_REGS_MODEM_H */ |