xref: /OK3568_Linux_fs/u-boot/arch/microblaze/include/asm/gpio.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun #ifndef _ASM_MICROBLAZE_GPIO_H_
2*4882a593Smuzhiyun #define _ASM_MICROBLAZE_GPIO_H_
3*4882a593Smuzhiyun 
4*4882a593Smuzhiyun #include <asm-generic/gpio.h>
5*4882a593Smuzhiyun 
6*4882a593Smuzhiyun /* Allocation functions */
7*4882a593Smuzhiyun extern int gpio_alloc_dual(u32 baseaddr, const char *name, u32 gpio_no0,
8*4882a593Smuzhiyun 			   u32 gpio_no1);
9*4882a593Smuzhiyun extern int gpio_alloc(u32 baseaddr, const char *name, u32 gpio_no);
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun #define gpio_status()	gpio_info()
12*4882a593Smuzhiyun extern void gpio_info(void);
13*4882a593Smuzhiyun 
14*4882a593Smuzhiyun #endif
15