OMAP: Add new function to check wether there is irq pending
[linux-ginger.git] / arch / x86 / include / asm / rdc321x_defs.h
blobc8e9c8bed3d0783ec990effb2e0cdca2bcca2b0e
1 #define PFX "rdc321x: "
3 /* General purpose configuration and data registers */
4 #define RDC3210_CFGREG_ADDR 0x0CF8
5 #define RDC3210_CFGREG_DATA 0x0CFC
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
12 #define RDC321X_MAX_GPIO 58