1 /* linux/arch/arm/mach-s5p6450/include/mach/regs-gpio.h
3 * Copyright (c) 2009 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com/
6 * S5P6450 - GPIO register definitions
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
13 #ifndef __ASM_ARCH_REGS_GIB_H
14 #define __ASM_ARCH_REGS_GIB_H
17 #define S5PV310_GPSREG(x) (S3C_VA_GPS + x)
19 #define S5PV310_GPS_GPSIO S5PV310_GPSREG(0x00)
20 #define S5PV310_GPS_RAWINTSOURCE S5PV310_GPSREG(0x04)
21 #define S5PV310_GPS_INTMASK S5PV310_GPSREG(0x08)
22 #define S5PV310_GPS_CON S5PV310_GPSREG(0x0C)
24 #define GPS_IN8 (0x1 << 0)
25 #define GPS_IN9 (0x1 << 1)
26 #define GPS_IN10 (0x1 << 2)
27 #define GPS_IN11 (0x1 << 3)
29 #define GPS_OUT8 (0x1 << 16)
30 #define GPS_OUT9 (0x1 << 17)
31 #define GPS_OUT10 (0x1 << 18)
32 #define GPS_OUT11 (0x1 << 19)
34 #define GPS_SRST (0x1 << 2)
35 #define GPS_MUX_SEL (0x1 << 0)
36 #endif /* __ASM_ARCH_REGS_GPIO_H */