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