aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/mach-rdc321x/rdc321x_defs.h
blob: c8e9c8bed3d0783ec990effb2e0cdca2bcca2b0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#define PFX	"rdc321x: "

/* General purpose configuration and data registers */
#define RDC3210_CFGREG_ADDR     0x0CF8
#define RDC3210_CFGREG_DATA     0x0CFC

#define RDC321X_GPIO_CTRL_REG1	0x48
#define RDC321X_GPIO_CTRL_REG2	0x84
#define RDC321X_GPIO_DATA_REG1	0x4c
#define RDC321X_GPIO_DATA_REG2	0x88

#define RDC321X_MAX_GPIO	58