diff options
Diffstat (limited to 'package/broadcom-diag/src/gpio.h')
-rw-r--r-- | package/broadcom-diag/src/gpio.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/package/broadcom-diag/src/gpio.h b/package/broadcom-diag/src/gpio.h new file mode 100644 index 0000000..d0e3e06 --- /dev/null +++ b/package/broadcom-diag/src/gpio.h @@ -0,0 +1,16 @@ +#ifndef __DIAG_GPIO_H +#define __DIAG_GPIO_H + +#include <linux/interrupt.h> +#include <linux/ssb/ssb_embedded.h> +#include <linux/gpio.h> +#include <bcm47xx.h> + +#define EXTIF_ADDR 0x1f000000 +#define EXTIF_UART (EXTIF_ADDR + 0x00800000) + +#define GPIO_TYPE_NORMAL (0x0 << 24) +#define GPIO_TYPE_EXTIF (0x1 << 24) +#define GPIO_TYPE_MASK (0xf << 24) + +#endif /* __DIAG_GPIO_H */ |