2006-11-09 07:35:27 +00:00
|
|
|
#ifndef __DIAG_GPIO_H
|
|
|
|
#define __DIAG_GPIO_H
|
2011-08-04 20:08:57 +00:00
|
|
|
|
2007-03-14 01:19:24 +00:00
|
|
|
#include <linux/interrupt.h>
|
2011-08-04 20:08:57 +00:00
|
|
|
#include <linux/ssb/ssb_embedded.h>
|
2008-05-20 22:33:45 +00:00
|
|
|
#include <linux/gpio.h>
|
2011-08-04 20:08:57 +00:00
|
|
|
#include <bcm47xx.h>
|
|
|
|
|
2007-03-14 01:19:24 +00:00
|
|
|
#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 */
|