blob: f5cad566861798b495704bcad14e6cc87af57664 [file] [log] [blame]
Michal Simekd6afd682012-06-29 07:32:35 +02001#ifndef _ASM_MICROBLAZE_GPIO_H_
2#define _ASM_MICROBLAZE_GPIO_H_
3
Michal Simek4e779ad2013-04-24 10:01:20 +02004#include <asm-generic/gpio.h>
Michal Simekd6afd682012-06-29 07:32:35 +02005
Michal Simek4e779ad2013-04-24 10:01:20 +02006/* Allocation functions */
7extern int gpio_alloc_dual(u32 baseaddr, const char *name, u32 gpio_no0,
8 u32 gpio_no1);
9extern int gpio_alloc(u32 baseaddr, const char *name, u32 gpio_no);
Michal Simekd6afd682012-06-29 07:32:35 +020010
Michal Simek4e779ad2013-04-24 10:01:20 +020011#define gpio_status() gpio_info()
12extern void gpio_info(void);
Michal Simekd6afd682012-06-29 07:32:35 +020013
Michal Simekd6afd682012-06-29 07:32:35 +020014#endif
15