blob: 073cdd3a03be0e41530510d576a235d556f98067 [file] [log] [blame]
Kukjin Kima81c1972013-01-02 13:24:12 -08001/*
Ben Dooks5b3d5152008-12-12 00:24:38 +00002 * 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 Kima81c1972013-01-02 13:24:12 -080014#ifndef __MACH_S3C64XX_REGS_MODEM_H
15#define __MACH_S3C64XX_REGS_MODEM_H __FILE__
Ben Dooks5b3d5152008-12-12 00:24:38 +000016
Kukjin Kima81c1972013-01-02 13:24:12 -080017#define S3C64XX_MODEMREG(x) (S3C64XX_VA_MODEM + (x))
Ben Dooks5b3d5152008-12-12 00:24:38 +000018
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 Kima81c1972013-01-02 13:24:12 -080030#endif /* __MACH_S3C64XX_REGS_MODEM_H */