xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/gpio/meson-a1-gpio.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
2 /*
3  * Copyright (c) 2019 Amlogic, Inc. All rights reserved.
4  * Author: Qianggui Song <qianggui.song@amlogic.com>
5  */
6 
7 #ifndef _DT_BINDINGS_MESON_A1_GPIO_H
8 #define _DT_BINDINGS_MESON_A1_GPIO_H
9 
10 #define GPIOP_0		0
11 #define GPIOP_1		1
12 #define GPIOP_2		2
13 #define GPIOP_3		3
14 #define GPIOP_4		4
15 #define GPIOP_5		5
16 #define GPIOP_6		6
17 #define GPIOP_7		7
18 #define GPIOP_8		8
19 #define GPIOP_9		9
20 #define GPIOP_10	10
21 #define GPIOP_11	11
22 #define GPIOP_12	12
23 #define GPIOB_0		13
24 #define GPIOB_1		14
25 #define GPIOB_2		15
26 #define GPIOB_3		16
27 #define GPIOB_4		17
28 #define GPIOB_5		18
29 #define GPIOB_6		19
30 #define GPIOX_0		20
31 #define GPIOX_1		21
32 #define GPIOX_2		22
33 #define GPIOX_3		23
34 #define GPIOX_4		24
35 #define GPIOX_5		25
36 #define GPIOX_6		26
37 #define GPIOX_7		27
38 #define GPIOX_8		28
39 #define GPIOX_9		29
40 #define GPIOX_10	30
41 #define GPIOX_11	31
42 #define GPIOX_12	32
43 #define GPIOX_13	33
44 #define GPIOX_14	34
45 #define GPIOX_15	35
46 #define GPIOX_16	36
47 #define GPIOF_0		37
48 #define GPIOF_1		38
49 #define GPIOF_2		39
50 #define GPIOF_3		40
51 #define GPIOF_4		41
52 #define GPIOF_5		42
53 #define GPIOF_6		43
54 #define GPIOF_7		44
55 #define GPIOF_8		45
56 #define GPIOF_9		46
57 #define GPIOF_10	47
58 #define GPIOF_11	48
59 #define GPIOF_12	49
60 #define GPIOA_0		50
61 #define GPIOA_1		51
62 #define GPIOA_2		52
63 #define GPIOA_3		53
64 #define GPIOA_4		54
65 #define GPIOA_5		55
66 #define GPIOA_6		56
67 #define GPIOA_7		57
68 #define GPIOA_8		58
69 #define GPIOA_9		59
70 #define GPIOA_10	60
71 #define GPIOA_11	61
72 
73 #endif /* _DT_BINDINGS_MESON_A1_GPIO_H */
74