xref: /openbmc/u-boot/arch/arm/dts/include/dt-bindings/gpio/meson-gxl-gpio.h (revision 7d750c3520c5565585519cc016b9139cee7632a4)
148622156SNeil Armstrong /*
248622156SNeil Armstrong  * GPIO definitions for Amlogic Meson GXL SoCs
348622156SNeil Armstrong  *
448622156SNeil Armstrong  * Copyright (C) 2016 Endless Mobile, Inc.
548622156SNeil Armstrong  * Author: Carlo Caione <carlo@endlessm.com>
648622156SNeil Armstrong  *
748622156SNeil Armstrong  * This program is free software; you can redistribute it and/or
848622156SNeil Armstrong  * modify it under the terms of the GNU General Public License
948622156SNeil Armstrong  * version 2 as published by the Free Software Foundation.
1048622156SNeil Armstrong  *
1148622156SNeil Armstrong  * You should have received a copy of the GNU General Public License
1248622156SNeil Armstrong  * along with this program. If not, see <http://www.gnu.org/licenses/>.
1348622156SNeil Armstrong  */
1448622156SNeil Armstrong 
1548622156SNeil Armstrong #ifndef _DT_BINDINGS_MESON_GXL_GPIO_H
1648622156SNeil Armstrong #define _DT_BINDINGS_MESON_GXL_GPIO_H
1748622156SNeil Armstrong 
1848622156SNeil Armstrong #define	GPIOAO_0	0
1948622156SNeil Armstrong #define	GPIOAO_1	1
2048622156SNeil Armstrong #define	GPIOAO_2	2
2148622156SNeil Armstrong #define	GPIOAO_3	3
2248622156SNeil Armstrong #define	GPIOAO_4	4
2348622156SNeil Armstrong #define	GPIOAO_5	5
2448622156SNeil Armstrong #define	GPIOAO_6	6
2548622156SNeil Armstrong #define	GPIOAO_7	7
2648622156SNeil Armstrong #define	GPIOAO_8	8
2748622156SNeil Armstrong #define	GPIOAO_9	9
28*7d750c35SNeil Armstrong #define	GPIO_TEST_N	10
2948622156SNeil Armstrong 
3048622156SNeil Armstrong #define	GPIOZ_0		0
3148622156SNeil Armstrong #define	GPIOZ_1		1
3248622156SNeil Armstrong #define	GPIOZ_2		2
3348622156SNeil Armstrong #define	GPIOZ_3		3
3448622156SNeil Armstrong #define	GPIOZ_4		4
3548622156SNeil Armstrong #define	GPIOZ_5		5
3648622156SNeil Armstrong #define	GPIOZ_6		6
3748622156SNeil Armstrong #define	GPIOZ_7		7
3848622156SNeil Armstrong #define	GPIOZ_8		8
3948622156SNeil Armstrong #define	GPIOZ_9		9
4048622156SNeil Armstrong #define	GPIOZ_10	10
4148622156SNeil Armstrong #define	GPIOZ_11	11
4248622156SNeil Armstrong #define	GPIOZ_12	12
4348622156SNeil Armstrong #define	GPIOZ_13	13
4448622156SNeil Armstrong #define	GPIOZ_14	14
4548622156SNeil Armstrong #define	GPIOZ_15	15
4648622156SNeil Armstrong #define	GPIOH_0		16
4748622156SNeil Armstrong #define	GPIOH_1		17
4848622156SNeil Armstrong #define	GPIOH_2		18
4948622156SNeil Armstrong #define	GPIOH_3		19
5048622156SNeil Armstrong #define	GPIOH_4		20
5148622156SNeil Armstrong #define	GPIOH_5		21
5248622156SNeil Armstrong #define	GPIOH_6		22
5348622156SNeil Armstrong #define	GPIOH_7		23
5448622156SNeil Armstrong #define	GPIOH_8		24
5548622156SNeil Armstrong #define	GPIOH_9		25
5648622156SNeil Armstrong #define	BOOT_0		26
5748622156SNeil Armstrong #define	BOOT_1		27
5848622156SNeil Armstrong #define	BOOT_2		28
5948622156SNeil Armstrong #define	BOOT_3		29
6048622156SNeil Armstrong #define	BOOT_4		30
6148622156SNeil Armstrong #define	BOOT_5		31
6248622156SNeil Armstrong #define	BOOT_6		32
6348622156SNeil Armstrong #define	BOOT_7		33
6448622156SNeil Armstrong #define	BOOT_8		34
6548622156SNeil Armstrong #define	BOOT_9		35
6648622156SNeil Armstrong #define	BOOT_10		36
6748622156SNeil Armstrong #define	BOOT_11		37
6848622156SNeil Armstrong #define	BOOT_12		38
6948622156SNeil Armstrong #define	BOOT_13		39
7048622156SNeil Armstrong #define	BOOT_14		40
7148622156SNeil Armstrong #define	BOOT_15		41
7248622156SNeil Armstrong #define	CARD_0		42
7348622156SNeil Armstrong #define	CARD_1		43
7448622156SNeil Armstrong #define	CARD_2		44
7548622156SNeil Armstrong #define	CARD_3		45
7648622156SNeil Armstrong #define	CARD_4		46
7748622156SNeil Armstrong #define	CARD_5		47
7848622156SNeil Armstrong #define	CARD_6		48
7948622156SNeil Armstrong #define	GPIODV_0	49
8048622156SNeil Armstrong #define	GPIODV_1	50
8148622156SNeil Armstrong #define	GPIODV_2	51
8248622156SNeil Armstrong #define	GPIODV_3	52
8348622156SNeil Armstrong #define	GPIODV_4	53
8448622156SNeil Armstrong #define	GPIODV_5	54
8548622156SNeil Armstrong #define	GPIODV_6	55
8648622156SNeil Armstrong #define	GPIODV_7	56
8748622156SNeil Armstrong #define	GPIODV_8	57
8848622156SNeil Armstrong #define	GPIODV_9	58
8948622156SNeil Armstrong #define	GPIODV_10	59
9048622156SNeil Armstrong #define	GPIODV_11	60
9148622156SNeil Armstrong #define	GPIODV_12	61
9248622156SNeil Armstrong #define	GPIODV_13	62
9348622156SNeil Armstrong #define	GPIODV_14	63
9448622156SNeil Armstrong #define	GPIODV_15	64
9548622156SNeil Armstrong #define	GPIODV_16	65
9648622156SNeil Armstrong #define	GPIODV_17	66
9748622156SNeil Armstrong #define	GPIODV_18	67
9848622156SNeil Armstrong #define	GPIODV_19	68
9948622156SNeil Armstrong #define	GPIODV_20	69
10048622156SNeil Armstrong #define	GPIODV_21	70
10148622156SNeil Armstrong #define	GPIODV_22	71
10248622156SNeil Armstrong #define	GPIODV_23	72
10348622156SNeil Armstrong #define	GPIODV_24	73
10448622156SNeil Armstrong #define	GPIODV_25	74
10548622156SNeil Armstrong #define	GPIODV_26	75
10648622156SNeil Armstrong #define	GPIODV_27	76
10748622156SNeil Armstrong #define	GPIODV_28	77
10848622156SNeil Armstrong #define	GPIODV_29	78
10948622156SNeil Armstrong #define	GPIOX_0		79
11048622156SNeil Armstrong #define	GPIOX_1		80
11148622156SNeil Armstrong #define	GPIOX_2		81
11248622156SNeil Armstrong #define	GPIOX_3		82
11348622156SNeil Armstrong #define	GPIOX_4		83
11448622156SNeil Armstrong #define	GPIOX_5		84
11548622156SNeil Armstrong #define	GPIOX_6		85
11648622156SNeil Armstrong #define	GPIOX_7		86
11748622156SNeil Armstrong #define	GPIOX_8		87
11848622156SNeil Armstrong #define	GPIOX_9		88
11948622156SNeil Armstrong #define	GPIOX_10	89
12048622156SNeil Armstrong #define	GPIOX_11	90
12148622156SNeil Armstrong #define	GPIOX_12	91
12248622156SNeil Armstrong #define	GPIOX_13	92
12348622156SNeil Armstrong #define	GPIOX_14	93
12448622156SNeil Armstrong #define	GPIOX_15	94
12548622156SNeil Armstrong #define	GPIOX_16	95
12648622156SNeil Armstrong #define	GPIOX_17	96
12748622156SNeil Armstrong #define	GPIOX_18	97
12848622156SNeil Armstrong #define	GPIOCLK_0	98
12948622156SNeil Armstrong #define	GPIOCLK_1	99
13048622156SNeil Armstrong 
13148622156SNeil Armstrong #endif
132