Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-s3c64xx / regs-modem.h
1 /*
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
14 #ifndef __MACH_S3C64XX_REGS_MODEM_H
15 #define __MACH_S3C64XX_REGS_MODEM_H __FILE__
16
17 #define S3C64XX_MODEMREG(x)                     (S3C64XX_VA_MODEM + (x))
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
30 #endif /* __MACH_S3C64XX_REGS_MODEM_H */