allow coexistance of N build and AC build.
[tomato.git] / release / src-rt-6.x / cfe / cfe / arch / mips / board / p5064 / include / gpio.h
blobe6848b330ec4a08d1c4799cdac7ce36e2f116652
1 #define GPIO1_DATA 0x00
2 #define GPIO1_DIR 0x01
3 #define GPIO1_OTYPE 0x02
4 #define GPIO1_PULLUP 0x03
5 #define GPIO2_DATA 0x04
6 #define GPIO2_DIR 0x05
7 #define GPIO2_OTYPE 0x06
8 #define GPIO2_PULLUP 0x07
10 #define GPIO2_I2C_SDA 0x80 /* in: DIMM serial data */
11 #define GPIO2_I2C_SCL 0x40 /* out: DIMM serial clock */
12 #define GPIO2_I2C_DIR 0x20 /* out: DIMM serial direction (1=out, 0=in)*/
13 #define GPIO2_NFAULT 0x01 /* out: centronics NFAULT signal */
14 #define GPIO2_OMASK (GPIO2_I2C_SCL|GPIO2_I2C_DIR|GPIO2_NFAULT)