d0e3e06c8a7f6f69dbb6d0d59805d4facfe69673
[openwrt/svn-archive/archive.git] / package / broadcom-diag / src / gpio.h
1 #ifndef __DIAG_GPIO_H
2 #define __DIAG_GPIO_H
3
4 #include <linux/interrupt.h>
5 #include <linux/ssb/ssb_embedded.h>
6 #include <linux/gpio.h>
7 #include <bcm47xx.h>
8
9 #define EXTIF_ADDR 0x1f000000
10 #define EXTIF_UART (EXTIF_ADDR + 0x00800000)
11
12 #define GPIO_TYPE_NORMAL (0x0 << 24)
13 #define GPIO_TYPE_EXTIF (0x1 << 24)
14 #define GPIO_TYPE_MASK (0xf << 24)
15
16 #endif /* __DIAG_GPIO_H */