[rdc] make sure rdc321x specific patches apply (CONFIG_X86_RDC321X), patch from sn9
[openwrt-10.03/.git] / target / linux / rdc / files-2.6.30 / arch / x86 / include / asm / mach-rdc321x / rdc321x_defs.h
1 #define PFX     "rdc321x: "
2
3 /* General purpose configuration and data registers */
4 #define RDC3210_CFGREG_ADDR     0x0CF8
5 #define RDC3210_CFGREG_DATA     0x0CFC
6
7 #define RDC321X_GPIO_CTRL_REG1  0x48
8 #define RDC321X_GPIO_CTRL_REG2  0x84
9 #define RDC321X_GPIO_DATA_REG1  0x4c
10 #define RDC321X_GPIO_DATA_REG2  0x88
11
12 #define RDC321X_MAX_GPIO        58