Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
awilliam
GitHub Repository: awilliam/linux-vfio
Path: blob/master/arch/blackfin/mach-bf533/include/mach/gpio.h
10820 views
1
/*
2
* Copyright (C) 2008 Analog Devices Inc.
3
* Licensed under the GPL-2 or later.
4
*/
5
6
7
#ifndef _MACH_GPIO_H_
8
#define _MACH_GPIO_H_
9
10
#define MAX_BLACKFIN_GPIOS 16
11
12
#define GPIO_PF0 0
13
#define GPIO_PF1 1
14
#define GPIO_PF2 2
15
#define GPIO_PF3 3
16
#define GPIO_PF4 4
17
#define GPIO_PF5 5
18
#define GPIO_PF6 6
19
#define GPIO_PF7 7
20
#define GPIO_PF8 8
21
#define GPIO_PF9 9
22
#define GPIO_PF10 10
23
#define GPIO_PF11 11
24
#define GPIO_PF12 12
25
#define GPIO_PF13 13
26
#define GPIO_PF14 14
27
#define GPIO_PF15 15
28
29
#define PORT_F GPIO_PF0
30
31
#include <mach-common/ports-f.h>
32
33
#endif /* _MACH_GPIO_H_ */
34
35