b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 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 |