xref: /netbsd-src/sys/external/gpl2/dts/dist/include/dt-bindings/gpio/meson-gxl-gpio.h (revision 4effb9b18f024fdac2e35b6e9f6ec111f2d026be)
1 /*	$NetBSD: meson-gxl-gpio.h,v 1.1.1.3 2020/01/03 14:33:02 skrll Exp $	*/
2 
3 /* SPDX-License-Identifier: GPL-2.0-only */
4 /*
5  * GPIO definitions for Amlogic Meson GXL SoCs
6  *
7  * Copyright (C) 2016 Endless Mobile, Inc.
8  * Author: Carlo Caione <carlo@endlessm.com>
9  */
10 
11 #ifndef _DT_BINDINGS_MESON_GXL_GPIO_H
12 #define _DT_BINDINGS_MESON_GXL_GPIO_H
13 
14 #define	GPIOAO_0	0
15 #define	GPIOAO_1	1
16 #define	GPIOAO_2	2
17 #define	GPIOAO_3	3
18 #define	GPIOAO_4	4
19 #define	GPIOAO_5	5
20 #define	GPIOAO_6	6
21 #define	GPIOAO_7	7
22 #define	GPIOAO_8	8
23 #define	GPIOAO_9	9
24 #define	GPIO_TEST_N	10
25 
26 #define	GPIOZ_0		0
27 #define	GPIOZ_1		1
28 #define	GPIOZ_2		2
29 #define	GPIOZ_3		3
30 #define	GPIOZ_4		4
31 #define	GPIOZ_5		5
32 #define	GPIOZ_6		6
33 #define	GPIOZ_7		7
34 #define	GPIOZ_8		8
35 #define	GPIOZ_9		9
36 #define	GPIOZ_10	10
37 #define	GPIOZ_11	11
38 #define	GPIOZ_12	12
39 #define	GPIOZ_13	13
40 #define	GPIOZ_14	14
41 #define	GPIOZ_15	15
42 #define	GPIOH_0		16
43 #define	GPIOH_1		17
44 #define	GPIOH_2		18
45 #define	GPIOH_3		19
46 #define	GPIOH_4		20
47 #define	GPIOH_5		21
48 #define	GPIOH_6		22
49 #define	GPIOH_7		23
50 #define	GPIOH_8		24
51 #define	GPIOH_9		25
52 #define	BOOT_0		26
53 #define	BOOT_1		27
54 #define	BOOT_2		28
55 #define	BOOT_3		29
56 #define	BOOT_4		30
57 #define	BOOT_5		31
58 #define	BOOT_6		32
59 #define	BOOT_7		33
60 #define	BOOT_8		34
61 #define	BOOT_9		35
62 #define	BOOT_10		36
63 #define	BOOT_11		37
64 #define	BOOT_12		38
65 #define	BOOT_13		39
66 #define	BOOT_14		40
67 #define	BOOT_15		41
68 #define	CARD_0		42
69 #define	CARD_1		43
70 #define	CARD_2		44
71 #define	CARD_3		45
72 #define	CARD_4		46
73 #define	CARD_5		47
74 #define	CARD_6		48
75 #define	GPIODV_0	49
76 #define	GPIODV_1	50
77 #define	GPIODV_2	51
78 #define	GPIODV_3	52
79 #define	GPIODV_4	53
80 #define	GPIODV_5	54
81 #define	GPIODV_6	55
82 #define	GPIODV_7	56
83 #define	GPIODV_8	57
84 #define	GPIODV_9	58
85 #define	GPIODV_10	59
86 #define	GPIODV_11	60
87 #define	GPIODV_12	61
88 #define	GPIODV_13	62
89 #define	GPIODV_14	63
90 #define	GPIODV_15	64
91 #define	GPIODV_16	65
92 #define	GPIODV_17	66
93 #define	GPIODV_18	67
94 #define	GPIODV_19	68
95 #define	GPIODV_20	69
96 #define	GPIODV_21	70
97 #define	GPIODV_22	71
98 #define	GPIODV_23	72
99 #define	GPIODV_24	73
100 #define	GPIODV_25	74
101 #define	GPIODV_26	75
102 #define	GPIODV_27	76
103 #define	GPIODV_28	77
104 #define	GPIODV_29	78
105 #define	GPIOX_0		79
106 #define	GPIOX_1		80
107 #define	GPIOX_2		81
108 #define	GPIOX_3		82
109 #define	GPIOX_4		83
110 #define	GPIOX_5		84
111 #define	GPIOX_6		85
112 #define	GPIOX_7		86
113 #define	GPIOX_8		87
114 #define	GPIOX_9		88
115 #define	GPIOX_10	89
116 #define	GPIOX_11	90
117 #define	GPIOX_12	91
118 #define	GPIOX_13	92
119 #define	GPIOX_14	93
120 #define	GPIOX_15	94
121 #define	GPIOX_16	95
122 #define	GPIOX_17	96
123 #define	GPIOX_18	97
124 #define	GPIOCLK_0	98
125 #define	GPIOCLK_1	99
126 
127 #endif
128